Merge "Set correct tox_min_version for the stable/2023.2 branch"

This commit is contained in:
Zuul 2024-04-01 12:36:08 +00:00 committed by Gerrit Code Review
commit 1e284970c1
1 changed files with 6 additions and 1 deletions

View File

@ -15,11 +15,16 @@
chdir: "{{ openstack_requirements_dir }}"
register: requirements_branch
- name: "Set min tox version for Ubuntu 20.04"
- name: "Set min tox version for OpenStack stable/zed and stable/2023.1"
set_fact:
tox_min_version: "3.28"
when: requirements_branch.stdout == "stable/2023.1" or "stable/zed"
- name: "Set min tox version for OpenStack stable/2023.2"
set_fact:
tox_min_version: "4.5.1"
when: requirements_branch.stdout == "stable/2023.2"
- name: "ensure Tox is installed"
command: >