summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2017-07-11 08:10:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-11 08:10:17 +0000
commitcf40eb1f837d73077168588097fd066287ff22e6 (patch)
treeb48cc25821bf9695f63493f0acf15c877ebf5ef4
parent450953c1b29335737e3c4e65e8cd917129eb2bb7 (diff)
parent161fef977e90ee15cfdce17225684d55b6d95264 (diff)
Merge "Define CMD in smoke and healthcheck containers"
-rw-r--r--docker/healthcheck/Dockerfile1
-rw-r--r--docker/smoke/Dockerfile1
2 files changed, 2 insertions, 0 deletions
diff --git a/docker/healthcheck/Dockerfile b/docker/healthcheck/Dockerfile
index e743b908f..6dfea7f8a 100644
--- a/docker/healthcheck/Dockerfile
+++ b/docker/healthcheck/Dockerfile
@@ -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"]
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile
index b037728ae..b6f84b64a 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -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"]