From 6b578b9068164eab33b2cc2d6002f59b9af88f8d Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Mon, 13 May 2019 14:10:15 +0200 Subject: Allow building containers when refstack.openstack.org is down MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It has been down for days and break our gates again. Change-Id: I66e286f3624c776c7cec5164df53eb117550e78a Signed-off-by: Cédric Ollivier --- docker/smoke/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docker/smoke/Dockerfile') diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile index ad15f5d16..0ba495661 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -27,8 +27,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 \ /src/patrole /src/barbican-tempest-plugin \ /src/neutron && \ 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"] -- cgit 1.2.3-korg