Rebuild unit-test image for every branch

This variable is set by Jenkins, you'll have to set it manually if you build locally.
This commit is contained in:
Shane McDonald
2017-03-08 15:18:21 -05:00
parent a1fce99e67
commit 0fa4b16660

View File

@@ -5,7 +5,7 @@ services:
build: build:
context: ../../../ context: ../../../
dockerfile: tools/docker-compose/unit-tests/Dockerfile dockerfile: tools/docker-compose/unit-tests/Dockerfile
image: gcr.io/ansible-tower-engineering/unit-test-runner:latest image: gcr.io/ansible-tower-engineering/unit-test-runner:${GIT_BRANCH}
environment: environment:
SWIG_FEATURES: "-cpperraswarn -includeall -I/usr/include/openssl" SWIG_FEATURES: "-cpperraswarn -includeall -I/usr/include/openssl"
TEST_DIRS: awx/main/tests/functional awx/main/tests/unit awx/conf/tests awx/sso/tests TEST_DIRS: awx/main/tests/functional awx/main/tests/unit awx/conf/tests awx/sso/tests