aboutsummaryrefslogtreecommitdiffstats
path: root/docker/smoke/Dockerfile
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-03-11 13:59:49 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-03-11 14:17:28 +0100
commita52900d8c926dc4370dea3b3ebe94d20d05e1357 (patch)
tree83ad39042a2d092ababc4f99897adc85ba2b4795 /docker/smoke/Dockerfile
parent464829a80878ede363537ec4020be30c21a5b859 (diff)
Allow building containers when refstack.openstack.org is down
It has been down for days and break our gates. Change-Id: I2e18a95abaced050f85f6efb8e849e0a5d497ea1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'docker/smoke/Dockerfile')
-rw-r--r--docker/smoke/Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/docker/smoke/Dockerfile b/docker/smoke/Dockerfile
index 370680200..e7097945c 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -2,7 +2,6 @@ FROM opnfv/functest-tempest
ARG BRANCH=master
ARG OPENSTACK_TAG=master
-ARG REFSTACK_TARGET=2018.02
ARG PATROLE_TAG=master
ARG BARBICAN_TAG=master
@@ -27,8 +26,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://git.openstack.org/cgit/openstack/glance/plain/etc/policy.json?h=$OPENSTACK_TAG && \
virtualenv --no-pip --no-setuptools --no-wheel oslo && . oslo/bin/activate && \
@@ -45,5 +42,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"]