diff options
author | Vincent Mahe <v.mahe@orange.com> | 2020-05-25 18:32:58 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2021-02-09 19:33:42 +0100 |
commit | 3440031ee4a09266f80656b2da8494ffea5f596a (patch) | |
tree | 8a1977efed408d498eb7cb6b4cb827ab2a51c488 /docker/core/Dockerfile | |
parent | 8283ee5c5b8efc12c7b728d7480257bb7f9bc3f7 (diff) |
Add MTS driver
It creates a new container xtesting-mts to avoid increase core
container size.
Signed-off-by: Vincent Mahe <v.mahe@orange.com>
Change-Id: I59544023e1235747e140a442815778a133bf6acf
(cherry picked from commit 32eb7687bf7b8440aa87805480789ef61ae65ec9)
Diffstat (limited to 'docker/core/Dockerfile')
-rw-r--r-- | docker/core/Dockerfile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docker/core/Dockerfile b/docker/core/Dockerfile new file mode 100644 index 00000000..47eb7908 --- /dev/null +++ b/docker/core/Dockerfile @@ -0,0 +1,20 @@ +FROM alpine:3.9 + +ARG BRANCH=stable/iruya +ARG OPENSTACK_TAG=stable/stein + +RUN apk --no-cache add --update python3 py3-pip bash git mailcap libxml2 libxslt && \ + apk --no-cache add --virtual .build-deps --update \ + python3-dev build-base && \ + git init /src/functest-xtesting && \ + (cd /src/functest-xtesting && \ + git fetch --tags https://gerrit.opnfv.org/gerrit/functest-xtesting $BRANCH && \ + git checkout FETCH_HEAD) && \ + pip3 install --no-cache-dir --src /src \ + -chttps://opendev.org/openstack/requirements/raw/branch/$OPENSTACK_TAG/upper-constraints.txt \ + -chttps://git.opnfv.org/functest-xtesting/plain/upper-constraints.txt?h=$BRANCH \ + /src/functest-xtesting && \ + rm -r /src/functest-xtesting && \ + apk del .build-deps +COPY testcases.yaml /usr/lib/python3.6/site-packages/xtesting/ci/testcases.yaml +CMD ["run_tests", "-t", "all"] |