Pin tox<4 for stable branches testing
horizon npm jobs start failing due to some recent changes in tox4.
As discussed on open-discuss ML, it is decided to keep testing the
stable branch with the tox version that they release with and not
with the tox 4. This patch set the 'ensure_tox_version' to use 4,
which will tell zuul to install tox<4 if it's not present.
For more info. please refer [1].
[1] https://lists.openstack.org/pipermail/openstack-discuss/2023-January/031668.html
Change-Id: I3652d87d817030bcd3855d26bfa41b8b7061d08e
(cherry picked from commit 4cc580d94b
)
This commit is contained in:
parent
d9104a5d70
commit
15f9f1777e
@ -6,6 +6,10 @@
|
|||||||
vars:
|
vars:
|
||||||
node_version: 10
|
node_version: 10
|
||||||
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
||||||
|
# NOTE: This is stable branch (<=stable/zed) job and new tox 4
|
||||||
|
# require some changes in tox.ini to be compatible with it. Let's
|
||||||
|
# pin tox <4 for stable branches testing (<=stable/zed).
|
||||||
|
ensure_tox_version: '<4'
|
||||||
nodeset: ubuntu-focal
|
nodeset: ubuntu-focal
|
||||||
pre-run: playbooks/horizon-nodejs/pre.yaml
|
pre-run: playbooks/horizon-nodejs/pre.yaml
|
||||||
required-projects:
|
required-projects:
|
||||||
@ -20,6 +24,10 @@
|
|||||||
vars:
|
vars:
|
||||||
node_version: 10
|
node_version: 10
|
||||||
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
tox_constraints_file: "{{ ansible_user_dir }}/{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/upper-constraints.txt"
|
||||||
|
# NOTE: This is stable branch (<=stable/zed) job and new tox 4
|
||||||
|
# require some changes in tox.ini to be compatible with it. Let's
|
||||||
|
# pin tox <4 for stable branches testing (<=stable/zed).
|
||||||
|
ensure_tox_version: '<4'
|
||||||
pre-run: playbooks/horizon-nodejs/pre.yaml
|
pre-run: playbooks/horizon-nodejs/pre.yaml
|
||||||
nodeset: ubuntu-focal
|
nodeset: ubuntu-focal
|
||||||
required-projects:
|
required-projects:
|
||||||
|
Loading…
Reference in New Issue
Block a user