always make the requirements repo available for release jobs

Most of the python jobs for libraries need to check out the
requirements repo as part of setting up their tox environment.

Change-Id: I8e1bc0e902e657e7661c18ceed6f5ff46eca7b46
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2017-10-23 11:00:47 -04:00
parent 4c328441c7
commit aac664de79

View File

@ -132,19 +132,28 @@
# NOTE(dhellmann): Several projects that depend on neutron or # NOTE(dhellmann): Several projects that depend on neutron or
# horizon for their testing use a special install script run via # horizon for their testing use a special install script run via
# tox that tries to use zuul-cloner to make the dependency # tox that tries to use zuul-cloner to make the dependency
# available before installing it from source. Until we change # available before installing it from source. All libraries
# the PTI for building sdists and wheels from Python projects so # require openstack/requirements for the custom install scripts
# that it does not use tox, we need to ensure those repos are # they run via tox. Until we change the PTI for building sdists
# present for zuul-cloner to copy. Both openstack/neutron and # and wheels from Python projects so that it does not use tox,
# openstack/horizon can be removed from the list of # we need to ensure those repos are present for zuul-cloner to
# copy. The openstack/neutron, openstack/horizon, and
# openstack/requirements repos can be removed from the list of
# required-projects for this job when the job is modified to not # required-projects for this job when the job is modified to not
# use tox. # use tox.
- name: openstack/neutron - name: openstack/neutron
- name: openstack/horizon - name: openstack/horizon
- name: openstack/requirements
secrets: secrets:
- secret: pypi_secret - secret: pypi_secret
name: pypi_info name: pypi_info
- gpg_key - gpg_key
vars:
# NOTE(dhellmann): Library projects using a custom installation
# script need to be told where the constraints file is. We can
# remove this when tox is no longer part of the CTI for building
# sdists.
tox_constraints_file: "{{ ansible_user_dir }}/src/git.openstack.org/openstack/requirements/upper-constraints.txt"
- job: - job:
name: publish-openstack-sphinx-docs name: publish-openstack-sphinx-docs