diff --git a/.zuul.d/nodejs-jobs.yaml b/.zuul.d/nodejs-jobs.yaml index 4273829d93..86586275bc 100644 --- a/.zuul.d/nodejs-jobs.yaml +++ b/.zuul.d/nodejs-jobs.yaml @@ -6,6 +6,10 @@ vars: node_version: 10 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 pre-run: playbooks/horizon-nodejs/pre.yaml required-projects: @@ -20,6 +24,10 @@ vars: node_version: 10 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 nodeset: ubuntu-focal required-projects: