diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-03-20 20:06:54 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-03-21 14:01:55 +0100 |
commit | c1543a2f005cec528d892466cb3238ed06115c09 (patch) | |
tree | 7d5973418b1bc5044e9f5792d94c5b1d3de663c2 /docker/smoke/Dockerfile | |
parent | 6e4d9a3571bddf94065c9eb031b59731dad4b36d (diff) |
Update RefStack list to 2018.11
It sets max_microversion to latest because if both values are not
specified, Tempest avoids tests which require a microversion [1].
Then test_keypairsv22_create_list_show_with_type is skipped and
refstack_defcore fails [2].
It also partially reverts "Allow building containers when
refstack.openstack.org is down" [3].
[1] https://docs.openstack.org/tempest/latest/sampleconf.html
[2] http://artifacts.opnfv.org/functest/functest-opnfv-functest-smoke-latest-refstack_defcore-run-147/results/refstack_defcore/tempest-report.html
[3] https://gerrit.opnfv.org/gerrit/#/c/67232/
Change-Id: Ia87543bb476d3047684e71ddfd05c2aa3f10bbfe
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/smoke/Dockerfile')
-rw-r--r-- | docker/smoke/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index e7097945c..78fbbc9c7 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -2,6 +2,7 @@ FROM opnfv/functest-tempest ARG BRANCH=master ARG OPENSTACK_TAG=master +ARG REFSTACK_TARGET=2018.11 ARG PATROLE_TAG=master ARG BARBICAN_TAG=master @@ -26,6 +27,8 @@ RUN apk --no-cache add --virtual .build-deps --update \ /src/patrole /src/barbican-tempest-plugin neutron-tempest-plugin \ networking-bgpvpn networking-sfc && \ mkdir -p /home/opnfv/functest/data/refstack && \ + wget "https://refstack.openstack.org/api/v1/guidelines/${REFSTACK_TARGET}/tests?target=compute&type=required&alias=true&flag=false" \ + -O /home/opnfv/functest/data/refstack/defcore.txt && \ mkdir -p /etc/neutron /etc/cinder /etc/glance /etc/keystone /etc/nova && \ wget -q -O /etc/glance/policy.json https://git.openstack.org/cgit/openstack/glance/plain/etc/policy.json?h=$OPENSTACK_TAG && \ virtualenv --no-pip --no-setuptools --no-wheel oslo && . oslo/bin/activate && \ @@ -42,6 +45,5 @@ RUN apk --no-cache add --virtual .build-deps --update \ rm -r oslo upper-constraints.txt upper-constraints.opnfv.txt \ /src/patrole /src/barbican-tempest-plugin && \ apk del .build-deps -COPY defcore.txt /home/opnfv/functest/data/refstack/defcore.txt COPY testcases.yaml /usr/lib/python2.7/site-packages/xtesting/ci/testcases.yaml CMD ["run_tests", "-t", "all"] |