[release] Use OpenStack 2024.1 release

Switch all dependencies to use the OpenStack 2024.1 release.

This commit should be reverted on the master branch once the Kayobe
stable/2024.1 branch has been cut and RC1 released.

Change-Id: I02e0f97f84f1369943c840f6159c705dc2436750
This commit is contained in:
Pierre Riteau 2024-05-29 10:58:39 +02:00
parent 3f238df073
commit b4448d6b15
5 changed files with 19 additions and 11 deletions

View File

@ -2,10 +2,10 @@
###############################################################################
# OpenStack release configuration.
# Name of the current OpenStack release. Default is "master".
openstack_release: "master"
# Name of the current OpenStack release. Default is "2024.1".
openstack_release: "2024.1"
# Name of the current OpenStack branch. Default is "master".
# Name of the current OpenStack branch. Default is "stable/2024.1".
openstack_branch: >-
{% if openstack_release != 'master' %}stable/{% endif %}{{ openstack_release | lower }}

View File

@ -2,10 +2,10 @@
###############################################################################
# OpenStack release configuration.
# Name of the current OpenStack release. Default is "master".
# Name of the current OpenStack release. Default is "2024.1".
#openstack_release:
# Name of the current OpenStack branch. Default is "master".
# Name of the current OpenStack branch. Default is "stable/2024.1".
#openstack_branch:
###############################################################################

View File

@ -2,7 +2,7 @@
collections:
- name: https://opendev.org/openstack/ansible-collection-kolla
type: git
version: master
version: stable/2024.1
- name: dellemc.os10
version: 1.1.1
- name: openstack.cloud

10
tox.ini
View File

@ -20,7 +20,7 @@ setenv =
OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = stestr run {posargs}
@ -28,7 +28,7 @@ commands = stestr run {posargs}
[testenv:pep8]
# sphinx8 needs the sphinx package which is required via doc/requirements.txt
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
-r{toxinidir}/test-requirements.txt
@ -43,7 +43,7 @@ commands =
[testenv:venv]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/test-requirements.txt
-r{toxinidir}/doc/requirements.txt
commands = {posargs}
@ -61,7 +61,7 @@ commands =
[testenv:molecule]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/requirements.txt
-r{toxinidir}/molecule-requirements.txt
commands =
@ -112,7 +112,7 @@ commands =
[testenv:docs]
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/2024.1}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build/html

View File

@ -71,11 +71,19 @@
required-projects:
# Include kayobe to ensure other projects can use this job.
- name: openstack/ansible-collection-kolla
# TODO(priteau): Remove when kayobe stable/2024.1 exists.
override-checkout: stable/2024.1
- name: openstack/kayobe
- name: openstack/kayobe-config-dev
- name: openstack/kolla
# TODO(priteau): Remove when kayobe stable/2024.1 exists.
override-checkout: stable/2024.1
- name: openstack/kolla-ansible
# TODO(priteau): Remove when kayobe stable/2024.1 exists.
override-checkout: stable/2024.1
- name: openstack/requirements
# TODO(priteau): Remove when kayobe stable/2024.1 exists.
override-checkout: stable/2024.1
- name: openstack/tenks
irrelevant-files:
- ^\..+