Merge "Set TOX_CONSTRAINTS_FILE"
This commit is contained in:
commit
4b471d664c
|
@ -27,7 +27,8 @@
|
|||
|
||||
- name: Use stable branch upper-constraints till stable/rocky
|
||||
set_fact:
|
||||
tempest_tox_environment: "{{ tempest_tox_environment | combine({'UPPER_CONSTRAINTS_FILE': stable_constraints_file}) }}"
|
||||
# TOX_CONSTRAINTS_FILE is new name, UPPER_CONSTRAINTS_FILE is old one, best to set both
|
||||
tempest_tox_environment: "{{ tempest_tox_environment | combine({'UPPER_CONSTRAINTS_FILE': stable_constraints_file}) | combine({'TOX_CONSTRAINTS_FILE': stable_constraints_file}) }}"
|
||||
when: target_branch in ["stable/ocata", "stable/pike", "stable/queens", "stable/rocky"]
|
||||
|
||||
- name: Set OS_TEST_TIMEOUT if requested
|
||||
|
|
|
@ -60,8 +60,8 @@ function clone_project {
|
|||
fi
|
||||
}
|
||||
|
||||
: ${UPPER_CONSTRAINTS_FILE:="https://releases.openstack.org/constraints/upper/master"}
|
||||
DEPS="-c${UPPER_CONSTRAINTS_FILE}"
|
||||
: ${TOX_CONSTRAINTS_FILE:="https://releases.openstack.org/constraints/upper/master"}
|
||||
DEPS="-c${TOX_CONSTRAINTS_FILE}"
|
||||
|
||||
# function to create virtualenv to perform sanity operation
|
||||
function prepare_workspace {
|
||||
|
|
Loading…
Reference in New Issue