aboutsummaryrefslogtreecommitdiffstats
path: root/docker
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2017-07-10 02:04:24 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2017-07-10 02:04:24 +0200
commit161fef977e90ee15cfdce17225684d55b6d95264 (patch)
tree596e6312f38563c4e3cbf73892d56dbc9a90ebf5 /docker
parent7305131c6ba5ea0f9f077ee99d2741c5f47bddb9 (diff)
Define CMD in smoke and healthcheck containers
Change-Id: I083f8e96fc30bc1793f8c43ff2c155f1c889ae19 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker')
-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 e743b908..6dfea7f8 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 b037728a..b6f84b64 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"]