Skip to content

Commit

Permalink
Apply OSA global-requirements-pins during functional tests
Browse files Browse the repository at this point in the history
Change-Id: Ice2bd1408f65ff4979c9c5244f0ca026e8c246e4
  • Loading branch information
Jonathan Rosser committed Dec 1, 2020
1 parent 88634fd commit aaecefa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test-vars.yml
Expand Up @@ -438,6 +438,12 @@ pip_install_options: "--no-binary libvirt-python"
# The URL/path of a constraints file to use when installing the additional pip packages.
pip_install_upper_constraints: "https://opendev.org/openstack/openstack-ansible/raw/{{ test_branch }}/global-requirement-pins.txt --constraint https://opendev.org/openstack/requirements/raw/{{ test_branch }}/upper-constraints.txt"

# apply openstack-ansible global constraints for python_venv_build
_global_pins_file_url: "https://opendev.org/openstack/openstack-ansible/raw/{{ test_branch }}/global-requirement-pins.txt"

venv_build_global_constraints: >-
{{ lookup('url', _global_pins_file_url, wantlist=True) | reject('match','^#.*$') | reject('equalto', '') | list }}
requirements_git_install_branch: "{{ test_branch.split('/')[-1] }}"

# Overriding the developer_constraints allows us to install from local disk as a precedence
Expand Down

0 comments on commit aaecefa

Please sign in to comment.