Add BRANCH as Docker build arg 69/47069/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 10 Nov 2017 22:39:11 +0000 (23:39 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 10 Nov 2017 22:55:35 +0000 (23:55 +0100)
It conforms with the prerequisite of the current releng Docker script.
BRANCH can be considered as useless because releng already clones the
right git branch.

It's a temporarily solution before modifying a script used by lots of
OPNFV projects.

Conflicts:
    docker/components/Dockerfile
    docker/healthcheck/Dockerfile

Change-Id: I585d7a79a9ebaeaffd69af1da1731c44e131f6b5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 9e72ad1edd88aada55a0328cd72d4941c4e6fc60)

docker/components/Dockerfile
docker/healthcheck/Dockerfile

index 8794f78..93567ce 100644 (file)
@@ -1,4 +1,7 @@
 FROM opnfv/functest-core:euphrates
 
+# useless build arg forced by releng/jjb/releng/opnfv-docker.sh
+ARG BRANCH=stable/euphrates
+
 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
 CMD ["bash","-c","prepare_env start && run_tests -t all"]
index 8794f78..93567ce 100644 (file)
@@ -1,4 +1,7 @@
 FROM opnfv/functest-core:euphrates
 
+# useless build arg forced by releng/jjb/releng/opnfv-docker.sh
+ARG BRANCH=stable/euphrates
+
 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
 CMD ["bash","-c","prepare_env start && run_tests -t all"]