Define CMD in smoke and healthcheck containers 05/37105/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 10 Jul 2017 00:04:24 +0000 (02:04 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 10 Jul 2017 00:04:24 +0000 (02:04 +0200)
Change-Id: I083f8e96fc30bc1793f8c43ff2c155f1c889ae19
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
docker/healthcheck/Dockerfile
docker/smoke/Dockerfile

index e743b90..6dfea7f 100644 (file)
@@ -1,3 +1,4 @@
 FROM ollivier/functest-core
 
 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
+CMD ["bash","-c","prepare_env start && run_tests -t all"]
index b037728..b6f84b6 100644 (file)
@@ -16,3 +16,4 @@ RUN apk --no-cache add --virtual .build-deps --update \
     rm thirdparty-requirements.txt && \
     apk del .build-deps
 COPY testcases.yaml /usr/lib/python2.7/site-packages/functest/ci/testcases.yaml
+CMD ["bash","-c","prepare_env start && run_tests -t all"]