3838 ARTIFACTORY_PASSWORD : ((artifactory.password))
3939 ARTIFACTORY_URL : ((artifactory.url))
4040 ARTIFACTORY_USERNAME : ((artifactory.username))
41+ CI : " true"
4142 RUNNING_IN_CI : " true"
4243 platform : linux
4344 run :
@@ -160,6 +161,7 @@ jobs:
160161 ARTIFACTORY_PASSWORD : ((artifactory.password))
161162 ARTIFACTORY_URL : ((artifactory.url))
162163 ARTIFACTORY_USERNAME : ((artifactory.username))
164+ CI : " true"
163165 RUNNING_IN_CI : " true"
164166 platform : linux
165167 run :
@@ -308,6 +310,7 @@ jobs:
308310 ARTIFACTORY_PASSWORD : ((artifactory.password))
309311 ARTIFACTORY_URL : ((artifactory.url))
310312 ARTIFACTORY_USERNAME : ((artifactory.username))
313+ CI : " true"
311314 RUNNING_IN_CI : " true"
312315 TEST_ROUTE : halfpipe-example-kotlin-dev-staging-CANDIDATE.springernature.app
313316 platform : linux
@@ -461,6 +464,7 @@ jobs:
461464 ARTIFACTORY_URL : ((artifactory.url))
462465 ARTIFACTORY_USERNAME : ((artifactory.username))
463466 B : b
467+ CI : " true"
464468 DOCKER_CONFIG_JSON : ((halfpipe-gcr.docker_config))
465469 RUNNING_IN_CI : " true"
466470 platform : linux
@@ -480,6 +484,7 @@ jobs:
480484 --build-arg ARTIFACTORY_URL \
481485 --build-arg ARTIFACTORY_USERNAME \
482486 --build-arg B \
487+ --build-arg CI \
483488 --build-arg RUNNING_IN_CI \
484489 --secret id=ARTIFACTORY_PASSWORD \
485490 --secret id=ARTIFACTORY_URL \
@@ -496,6 +501,7 @@ jobs:
496501 --build-arg ARTIFACTORY_URL \
497502 --build-arg ARTIFACTORY_USERNAME \
498503 --build-arg B \
504+ --build-arg CI \
499505 --build-arg RUNNING_IN_CI \
500506 --secret id=ARTIFACTORY_PASSWORD \
501507 --secret id=ARTIFACTORY_URL \
@@ -624,6 +630,7 @@ jobs:
624630 ARTIFACTORY_PASSWORD : ((artifactory.password))
625631 ARTIFACTORY_URL : ((artifactory.url))
626632 ARTIFACTORY_USERNAME : ((artifactory.username))
633+ CI : " true"
627634 GCR_PRIVATE_KEY : ((halfpipe-gcr.private_key))
628635 HALFPIPE_CACHE_TEAM : halfpipe-team
629636 RUNNING_IN_CI : " true"
@@ -651,7 +658,7 @@ jobs:
651658 export GIT_REVISION=`cat ../../../.git/ref`
652659
653660 \echo "$GCR_PRIVATE_KEY" | docker login -u _json_key --password-stdin https://eu.gcr.io
654- docker-compose run --use-aliases -e A -e ARTIFACTORY_PASSWORD -e ARTIFACTORY_URL -e ARTIFACTORY_USERNAME -e DOCKER_HOST="${DIND_HOST}" -e GIT_REVISION -e HALFPIPE_CACHE_TEAM -e RUNNING_IN_CI -v /var/halfpipe/cache:/var/halfpipe/cache -v /var/halfpipe/shared-cache:/var/halfpipe/shared-cache app
661+ docker-compose run --use-aliases -e A -e ARTIFACTORY_PASSWORD -e ARTIFACTORY_URL -e ARTIFACTORY_USERNAME -e CI -e DOCKER_HOST="${DIND_HOST}" -e GIT_REVISION -e HALFPIPE_CACHE_TEAM -e RUNNING_IN_CI -v /var/halfpipe/cache:/var/halfpipe/cache -v /var/halfpipe/shared-cache:/var/halfpipe/shared-cache app
655662
656663 EXIT_STATUS=$?
657664 if [ $EXIT_STATUS != 0 ] ; then
@@ -809,6 +816,7 @@ jobs:
809816 ARTIFACTORY_PASSWORD : ((artifactory.password))
810817 ARTIFACTORY_URL : ((artifactory.url))
811818 ARTIFACTORY_USERNAME : ((artifactory.username))
819+ CI : " true"
812820 CONSUMER_GIT_KEY : ((halfpipe-github.private_key))
813821 CONSUMER_GIT_URI : git@github.com:springernature/c-consumer
814822 CONSUMER_HOST : c-host
@@ -846,7 +854,7 @@ jobs:
846854 export GIT_REVISION=`cat ../../../.git/ref`
847855
848856 \echo "$GCR_PRIVATE_KEY" | docker login -u _json_key --password-stdin https://eu.gcr.io
849- export ENV_OPTIONS="-e ARTIFACTORY_PASSWORD -e ARTIFACTORY_URL -e ARTIFACTORY_USERNAME -e RUNNING_IN_CI"
857+ export ENV_OPTIONS="-e ARTIFACTORY_PASSWORD -e ARTIFACTORY_URL -e ARTIFACTORY_USERNAME -e CI -e RUNNING_IN_CI"
850858 export VOLUME_OPTIONS="-v /var/halfpipe/cache:/var/halfpipe/cache -v /var/halfpipe/shared-cache:/var/halfpipe/shared-cache -v /var/run/docker.sock:/var/run/docker.sock"
851859 run-cdc.sh
852860 EXIT_STATUS=$?
0 commit comments