aboutsummaryrefslogtreecommitdiffstats
path: root/docker/core/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-06-30 15:03:00 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2020-07-06 12:58:52 +0200
commit12ec8b12093176aab8cbe2af1f6ed606bcbb0e88 (patch)
treeddb20ea453eee1db714ad96b041745e04f5ce65d /docker/core/Dockerfile
parentfcc27a06de736d849cf01ddf24fe0edaa03c961f (diff)
Add a new testcase leveraging on xrally/kubernetes
It partially runs the all-in-one task for checking basic functionality of Kubernetes cluster. Change-Id: Iaf7a29d2c1a364073e4caaeef69d68ee79ea56bc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 413b52a98a359094dbc251749c04d2789e0ab24c)
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r--docker/core/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile
index f51d8901..9585d903 100644
--- a/docker/core/Dockerfile
+++ b/docker/core/Dockerfile
@@ -18,6 +18,9 @@ RUN apk --no-cache add --update python py-pip bash git grep libffi openssl mailc
rm -rf /src/functest-kubernetes && \
bash -c "mkdir -p /var/lib/xtesting /home/opnfv" && \
ln -s /var/lib/xtesting /home/opnfv/functest && \
+ mkdir -p /etc/rally && \
+ printf "[database]\nconnection = 'sqlite:////var/lib/rally/database/rally.sqlite'" > /etc/rally/rally.conf && \
+ mkdir -p /var/lib/rally/database && rally db create && \
apk del .build-deps
COPY logging.ini /usr/lib/python2.7/site-packages/xtesting/ci/logging.ini
CMD ["run_tests", "-t", "all"]