Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
rfaircloth-splunk committed Feb 5, 2020
1 parent d6de0e9 commit 27c9e9e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ build-splunk: &build-splunk
name: Build Splunk
command: |
docker build --build-arg SPLUNK_VERSION=${SPLUNK} splunk \
-t docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:splunk-${SYSLOG}-<< pipeline.id >>
-t docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:splunk-${SPLUNK}-<< pipeline.id >>
- run:
name: Push Splunk
command: |
docker push \
docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:splunk-${SYSLOG}-<< pipeline.id >>
docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:splunk-${SPLUNK}-<< pipeline.id >>
test: &test
Expand All @@ -69,9 +69,7 @@ test: &test
name: test
command: |
pytest --splunk_type=docker --splunk_password=${SPLUNK_PASSWORD}
environment:
IMAGE_SC4S: docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:sc4s-${SYSLOG}-<< pipeline.id >>
IMAGE_SPLUNK: docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:splunk-${SYSLOG}-<< pipeline.id >>
no_output_timeout: 1h


orbs:
Expand Down
4 changes: 2 additions & 2 deletions tests/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ version: "3.7"
services:

sc4s:
image: ${IMAGE_SC4S}
image: docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:sc4s-${SYSLOG}-${CIRCLE_SHA1}
#When this is enabled test_common will fail
# command: -det
ports:
Expand Down Expand Up @@ -46,7 +46,7 @@ services:
volumes:
- ./tls:/opt/syslog-ng/tls
splunk:
image: ${IMAGE_SPLUNK}
image: docker.pkg.github.com/splunk/splunk-connect-for-syslog/stg-splunk-connect-for-syslog:splunk-${SPLUNK}-${CIRCLE_SHA1}

ports:
- "8000"
Expand Down

0 comments on commit 27c9e9e

Please sign in to comment.