Add unversioned openstack-python3-jobs
We switched to using release-specific python3 job templates (e.g. openstack-python3-ussuri-jobs) after the Train release. This is generally a good thing, but it has caused slight issues for projects using the independent release model. These projects don't get a new stable branch each release, nor do they receive bot-proposed 'zuul.yaml' changes. This means there are a growing number of projects still using the checks from older releases [1][2][3][4][5]. This will likely only continue to grow without intervention. While these projects are independent, the HEAD of master must be compatible with the Python 3 versions supported in the current release. As such, master should always be running again openstack-python3-X-jobs, where X is the current release. Reworking the bot to do these proposals for every independent project seems silly and unnecessary, so instead add a new openstack-python3-jobs template which will always duplicate the openstack-python3-X-jobs template. Only projects using the independent release model should use this and this is called out in the help text for the template. Note that only openstack-python3-jobs is added currently. We may wish to add the full complement of jobs, such as openstack-python3-jobs-horizon. This can be done in a follow-up. [1] https://codesearch.opendev.org/?q=openstack-python3-ussuri-jobs [2] https://codesearch.opendev.org/?q=openstack-python3-victoria-jobs [3] https://codesearch.opendev.org/?q=openstack-python3-wallaby-jobs [4] https://codesearch.opendev.org/?q=openstack-python3-xena-jobs [5] https://codesearch.opendev.org/?q=openstack-python3-yoga-jobs Change-Id: I7acf7485f2a531035b37064ed760f7f29689e8e0 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
parent
e6719acc0c
commit
50e113ee47
|
@ -543,19 +543,19 @@
|
|||
description: |
|
||||
Runs unit tests for an OpenStack Python project under the CPython
|
||||
version 3 releases designated for testing in the Zed release.
|
||||
check:
|
||||
check: &openstack-python3-latest-check-jobs
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
- openstack-tox-py38
|
||||
- openstack-tox-py39
|
||||
- openstack-tox-py310:
|
||||
voting: false
|
||||
gate:
|
||||
gate: &openstack-python3-latest-gate-jobs
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
- openstack-tox-py38
|
||||
- openstack-tox-py39
|
||||
post:
|
||||
post: &openstack-python3-latest-post-jobs
|
||||
jobs:
|
||||
- publish-openstack-python-branch-tarball
|
||||
|
||||
|
@ -1465,6 +1465,17 @@
|
|||
required-projects:
|
||||
- openstack/ceilometer
|
||||
|
||||
- project-template:
|
||||
name: openstack-python3-jobs
|
||||
description: |
|
||||
Runs unit tests for an OpenStack Python project under the CPython
|
||||
version 3 releases designated for testing the latest release.
|
||||
This will be updated at the start of each new release. It should
|
||||
only be used for projects using the *independent* release cycle.
|
||||
check: *openstack-python3-latest-check-jobs
|
||||
gate: *openstack-python3-latest-gate-jobs
|
||||
post: *openstack-python3-latest-post-jobs
|
||||
|
||||
- project-template:
|
||||
name: openstack-python35-jobs
|
||||
description: |
|
||||
|
|
Loading…
Reference in New Issue