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:39:01 +0100
commit1e7c4adb787a1cc8553a450eb5e1eac1116aec56 (patch)
tree552220feb4921dab10f507e23d481df028efbaf3 /docker/smoke/Dockerfile
parent4d8d75fad3390bc7a9389ae637ba4e3b327f8bba (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> (cherry picked from commit a52900d8c926dc4370dea3b3ebe94d20d05e1357)
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 14aceef92..8522a3672 100644
--- a/docker/smoke/Dockerfile
+++ b/docker/smoke/Dockerfile
@@ -3,7 +3,6 @@ FROM opnfv/functest-tempest:hunter
ARG BRANCH=stable/hunter
ARG OPENSTACK_TAG=stable/rocky
ARG TEMPEST_TAG=3588bb3f5ef546a0ef4d4ad621fd1be381b5fdaf
-ARG REFSTACK_TARGET=2018.02
ARG PATROLE_TAG=0.4.0
ARG NEUTRON_TAG=0.2.0
ARG BARBICAN_TAG=0.1.0
@@ -36,11 +35,10 @@ RUN apk --no-cache add --virtual .build-deps --update \
rm -r upper-constraints.txt upper-constraints.opnfv.txt \
/src/patrole /src/barbican-tempest-plugin /src/neutron-tempest-plugin && \
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/glance && \
wget -q -O /etc/neutron/policy.json https://git.openstack.org/cgit/openstack/neutron/plain/etc/policy.json?h=$OPENSTACK_TAG && \
wget -q -O /etc/glance/policy.json https://git.openstack.org/cgit/openstack/glance/plain/etc/policy.json?h=$OPENSTACK_TAG && \
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"]