diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-05-13 14:10:15 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-05-13 14:18:51 +0200 |
commit | c99697b7de5fa43990592517d12707aaa1b04a8b (patch) | |
tree | 2b7ef63b5205834fa9824d82ac833d51f22f9ba4 /docker/smoke/Dockerfile | |
parent | baba12d10d1f3655e4bdd867723533a736a5f8c3 (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 9aefb5d64..14b3fc394 100644 --- a/docker/smoke/Dockerfile +++ b/docker/smoke/Dockerfile @@ -36,11 +36,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://opendev.org/openstack/neutron/raw/branch/$OPENSTACK_TAG/etc/policy.json && \ wget -q -O /etc/glance/policy.json https://opendev.org/openstack/glance/raw/branch/$OPENSTACK_TAG/etc/policy.json && \ 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"] |