From 83fb9f6bafbcee95a769479f3d8d1ebc65c9ee27 Mon Sep 17 00:00:00 2001 From: rfaircloth-splunk Date: Wed, 19 Feb 2020 17:21:18 -0500 Subject: [PATCH] Update config.yml --- .circleci/config.yml | 45 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f8d819b..c9122c7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,6 +22,7 @@ test: &test name: Version command: | VERSION=$(./semtag getcurrent) + echo $VERSION echo ${VERSION} >package/VERSION - run: name: test @@ -43,6 +44,18 @@ test: &test - store_test_results: path: test-results +tag: &tag + steps: + - checkout + - add_ssh_keys: + fingerprints: + - "7c:e9:cc:8d:8e:4d:9c:17:1d:e3:96:23:ce:bd:a4:c3" + - checkout + - run: + name: TAG + command: | + ./semtag ${SEMTAG} + # publish: &publish # steps: # - setup_remote_docker: @@ -150,12 +163,34 @@ jobs: workflows: version: 2 - build_and_deploy: + build_test: jobs: - - test-sc4s-3-25-1-splunk-8-0 - - test-sc4s-master-splunk-8-0 - - test-sc4s-3-25-1-splunk-7-3 - - test-sc4s-3-25-1-splunk-7-2 + - test-sc4s-3-25-1-splunk-8-0: + filters: + branches: + only: /.*/ + - test-sc4s-master-splunk-8-0: + filters: + branches: + only: /.*/ + - test-sc4s-3-25-1-splunk-7-3: + filters: + branches: + only: /.*/ + - test-sc4s-3-25-1-splunk-7-2: + filters: + branches: + only: /.*/ + - approval-tag-beta: + requires: + - tag-alpha + type: approval + filters: + branches: + only: develop + - tag-beta: + requires: + - approval-tag-beta # - publish-pre-gh-edge: # type: approval # requires: