From 12ec8b12093176aab8cbe2af1f6ed606bcbb0e88 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sun, 30 Jun 2019 15:03:00 +0200 Subject: Add a new testcase leveraging on xrally/kubernetes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It partially runs the all-in-one task for checking basic functionality of Kubernetes cluster. Change-Id: Iaf7a29d2c1a364073e4caaeef69d68ee79ea56bc Signed-off-by: Cédric Ollivier (cherry picked from commit 413b52a98a359094dbc251749c04d2789e0ab24c) --- docker/core/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docker/core/Dockerfile') 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"] -- cgit