diskimage-builder : make mirror repos

Call the contrib script to make the infra mirror repo files.  I don't
want the functional tests calling this themselves -- in theory they
should run anywhere and this is OpenStack CI specific setup.

While we're here, remove the clone and install of dib-utils.  This
hasn't been doing anything since
Ic1e22ba498d2c368da7d72e2e2b70ff34324feb8 when we decided to retire
the project and fold it into diskimage-builder.  The related jobs
aren't actually testing anything.

Change-Id: I45b4b181369032155f8908ee11641d2327586e6f
This commit is contained in:
Ian Wienand 2017-06-28 14:50:54 +10:00
parent 62ec53a776
commit 625104faf9
2 changed files with 5 additions and 7 deletions

View File

@ -14,8 +14,7 @@
/usr/zuul-env/bin/zuul-cloner --cache-dir /opt/git \
git://git.openstack.org \
openstack/diskimage-builder \
openstack/dib-utils
openstack/diskimage-builder
- shell: |
#!/bin/bash -xe
cd ~/openstack/diskimage-builder
@ -33,12 +32,15 @@
virtualenv -p {python} env
./env/bin/pip install $(pwd)/openstack/dib-utils
./env/bin/pip install $(pwd)/openstack/diskimage-builder
# TODO(pabelanger): Remove once we migrated to bindep
./openstack/diskimage-builder/tests/install_test_deps.sh
# This sets up some repo files pointing to the infra mirrors
# which are used during test runs
./openstack/diskimage-builder/contrib/setup-gate-mirrors.sh
# activate the virtualenv so that any tools run by dib run
# using the python inside it
set +u

View File

@ -9152,14 +9152,10 @@ projects:
- name: check-requirements
- name: publish-to-pypi
check:
- gate-dib-dsvm-functests-python2-ubuntu-trusty
- gate-dib-dsvm-functests-python2-centos-7
- gate-dib-utils-tox-func-ubuntu-xenial
check-tripleo:
- gate-tripleo-ci-centos-7-ovb-ha-oooq
gate:
- gate-dib-dsvm-functests-python2-ubuntu-trusty
- gate-dib-dsvm-functests-python2-centos-7
- gate-dib-utils-tox-func-ubuntu-xenial
post:
- dib-utils-branch-tarball