Skip to content

Commit

Permalink
Merge branch 'develop' into feature/rdns
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Faircloth authored and GitHub committed May 7, 2020
2 parents 9eaebb3 + d5564a3 commit cd54a71
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
docker:
- image: circleci/python:3.7
environment:
SYSLOG: "syslog-ng-3.26.1"
SYSLOG: "syslog-ng-3.27.1"
SPLUNK_VERSION: "8.0.2"
<<: *test
test-sc4s-next-splunk-8-0:
Expand All @@ -104,14 +104,14 @@ jobs:
docker:
- image: circleci/python:3.7
environment:
SYSLOG: "syslog-ng-3.26.1"
SYSLOG: "syslog-ng-3.27.1"
SPLUNK_VERSION: "7.3.4"
<<: *test
test-sc4s-current-splunk-7-2:
docker:
- image: circleci/python:3.7
environment:
SYSLOG: "syslog-ng-3.26.1"
SYSLOG: "syslog-ng-3.27.1"
SPLUNK_VERSION: "7.2.9"
<<: *test

Expand Down Expand Up @@ -215,15 +215,18 @@ jobs:
name: Build Docker
command: |
if [ -n "${CIRCLE_TAG}" ]; then VERSION=${CIRCLE_TAG}; else VERSION="$(./semtag getcurrent)"; fi
VERSION_DOCKER_MMP=$(echo $VERSION | sed -n 's/v\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p')
echo ${VERSION} >package/VERSION
echo ${CIRCLE_SHA1}=${VERSION}
docker build --build-arg BRANCH=${SYSLOG} package -t splunk/scs:${CIRCLE_SHA1}
docker tag splunk/scs:${CIRCLE_SHA1} splunk/scs:${VERSION}
docker tag splunk/scs:${CIRCLE_SHA1} splunk/scs:${VERSION_DOCKER_MMP}
docker tag splunk/scs:${CIRCLE_SHA1} splunk/scs:${CIRCLE_SHA1:0:7}
docker push splunk/scs:${CIRCLE_SHA1}
docker push splunk/scs:${VERSION}
docker push splunk/scs:${VERSION_DOCKER_MMP}
docker push splunk/scs:${CIRCLE_SHA1:0:7}
docker save splunk/scs:${VERSION} | gzip -c > /tmp/workspace/oci_container.tar.gz
docker save splunk/scs:${VERSION_DOCKER_MMP} | gzip -c > /tmp/workspace/oci_container.tar.gz
- go/install
- run:
name: "Publish on GitHub"
Expand Down

0 comments on commit cd54a71

Please sign in to comment.