Skip to content

Commit

Permalink
Docker image in it
Browse files Browse the repository at this point in the history
  • Loading branch information
peel committed May 29, 2024
1 parent 1cca8df commit 15c64a6
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/telemetryIntegTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,6 @@ jobs:
- name: build
run: |
sbt stdout/docker:publishLocal
- name: Get current SBT version
id: ver
run: |
export PROJECT_VERSION=$(sbt version -Dsbt.log.noformat=true | perl -ne 'print "$1\n" if /info.*(\d+\.\d+\.\d+[^\r\n]*)/' | tail -n 1 | tr -d '\n')
echo "::set-output name=project_version::$PROJECT_VERSION"
- name: run micro
run: >
docker run -d
Expand All @@ -34,12 +29,12 @@ jobs:
--iglu /config/iglu.json
- name: run collectors
run: >-
docker run -d --name enabled \
-v ${PWD}/.github/workflows/integration_tests/telemetry/sender_config/config.hocon:/snowplow/config.hocon \
-p 9292:9292 snowplow/scala-stream-collector-stdout:${PROJECT_VERSION} &&
docker run -d --name disabled \
-v ${PWD}/.github/workflows/integration_tests/telemetry/sender_config/config_disabled.hocon:/snowplow/config.hocon \
-p 10292:10292 snowplow/scala-stream-collector-stdout:${PROJECT_VERSION}
docker run -d --name enabled
-v ${PWD}/.github/workflows/integration_tests/telemetry/sender_config/config.hocon:/snowplow/config.hocon
-p 9292:9292 snowplow/scala-stream-collector-stdout &&
docker run -d --name disabled
-v ${PWD}/.github/workflows/integration_tests/telemetry/sender_config/config_disabled.hocon:/snowplow/config.hocon
-p 10292:10292 snowplow/scala-stream-collector-stdout
sleep 30
- name: assess result
run: |
Expand Down

0 comments on commit 15c64a6

Please sign in to comment.