Skip to content

Commit c49be1f

Browse files
committed
Set tox_constraints_file for cross-jobs
In the follow-on job I268fb7e1dc753c82983736572b3df2f152f8cf51 I have modified upper-constraints.txt but it seems like the cross-horizon-npm is still trying to use the constraints from releases.openstack.org, so not picking up the change in the gate. It seems that horizon calls "tox -e npm" as part of it's npm magic, but doesn't use the checked-out version of upper-constraints.txt. The dependent patch uses tox_constraints_file to set UPPER_CONSTRAINTS_FILE, which should hopefully pick up the right installation candidates. Depends-On: https://review.opendev.org/709414 Change-Id: Id9a465bd106940a1e286e8090be2186becc1c9f0
1 parent ffcbb02 commit c49be1f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.zuul.d/cross-jobs.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
nodeset: ubuntu-bionic
1717
vars:
1818
zuul_work_dir: "{{ (zuul.projects.values() | selectattr('required') | selectattr('name', 'match', '^(?!openstack/requirements)') | list)[0].src_dir }}"
19+
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
1920
files:
2021
- upper-constraints.txt
2122
- .zuul.d/cross-jobs.yaml

0 commit comments

Comments
 (0)