releases/openstack_releases/tests
Hervé Beraud fb08afc1fa Fix gitutils to use release-id
With the new release identification / naming schema [1] (like:
2023.1 Antelope) new stable branch naming was introduced (like:
stable/2023.1). This was not handled in check_branch_sha method
in validate.py, as the method still searches stable/$series.

This patch fixes this by reading the 'release-id' field from
series_status.yaml if present and uses it as stable/<release-id>
for the branch search.

[1] https://governance.openstack.org/tc/reference/release-naming.html

Change-Id: I014b1d6dc561be4db0fc8faa85fb3133e851acfc
2023-03-10 17:57:53 +01:00
..
units/cmd Allow list_unreleased_changes to format results at json & yaml formats 2020-07-07 19:07:25 +02:00
__init__.py add tests for launchpad validation 2016-11-28 12:47:17 +11:00
fixtures.py Update to latest hacking for pep8 checks 2020-07-27 16:33:03 -05:00
test_deliverable.py Add stein to docs landing page 2018-07-30 12:26:35 -05:00
test_new_release.py Update docs building, Python 3 cleanup 2020-04-20 11:16:46 +02:00
test_npmutils.py Update docs building, Python 3 cleanup 2020-04-20 11:16:46 +02:00
test_project_config.py Switch back to publish-to-pypi 2018-11-02 19:41:36 +01:00
test_puppetutils.py Update docs building, Python 3 cleanup 2020-04-20 11:16:46 +02:00
test_redirections.py Fix upper-constraints redirect for new release naming 2023-01-14 10:29:27 +01:00
test_requirements.py Update docs building, Python 3 cleanup 2020-04-20 11:16:46 +02:00
test_series_status.py Add stein to docs landing page 2018-07-30 12:26:35 -05:00
test_validate.py Fix gitutils to use release-id 2023-03-10 17:57:53 +01:00
test_versionutils.py provide separate release types for server and non-server deliverables 2017-10-26 11:53:13 -04:00