aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-05-13 14:10:15 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2019-05-13 14:10:15 +0200
commit6b578b9068164eab33b2cc2d6002f59b9af88f8d (patch)
tree76ed236ce4b6ac30b53c150d9cac5f463e254361 /docker/smoke/Dockerfile
parentd4178d425312497412e9832fb6cb1a074e5099f3 (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>
Diffstat (limited to 'docker/smoke/Dockerfile')
-rw-r--r--docker/smoke/Dockerfile3
1 files changed, 1 insertions, 2 deletions
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"]