diff options
author | 2019-05-13 14:10:15 +0200 | |
---|---|---|
committer | 2019-05-13 14:17:22 +0200 | |
commit | f624d474e6581f5781ecdc8d008d274c2535b702 (patch) | |
tree | f11b23be8a03cde6a56d411d7a5023025b167f86 /docker/smoke/Dockerfile | |
parent | 7876551e1f495636aa9be3bb4c3ac69c88f54ade (diff) |
Allow building containers when refstack.openstack.org is down
It has been down for days and break our gates again.
Change-Id: I66e286f3624c776c7cec5164df53eb117550e78a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 6b578b9068164eab33b2cc2d6002f59b9af88f8d)
Diffstat (limited to 'docker/smoke/Dockerfile')
-rw-r--r-- | docker/smoke/Dockerfile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index 568646e14..55df2883d 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -28,8 +28,6 @@ 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://opendev.org/openstack/glance/raw/branch/$OPENSTACK_TAG/etc/policy.json && \ virtualenv --no-pip --no-setuptools --no-wheel oslo && . oslo/bin/activate && \ @@ -40,5 +38,6 @@ 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"] |