diff options
author | Dmitry Tantsur <dtantsur@protonmail.com> | 2022-05-10 15:42:48 +0200 |
---|---|---|
committer | Riccardo Pittau <elfosardo@gmail.com> | 2022-05-11 15:28:14 +0200 |
commit | 4c7d0d47f058459b2ab5b5a230462a242f039490 (patch) | |
tree | c8f634ffbe89f9ece4ebc2a6020927cb58ef1943 | |
parent | 45fa718c7e586536ac1dc47a425244f034819f5d (diff) | |
download | ironic-python-agent-4c7d0d47f058459b2ab5b5a230462a242f039490.tar.gz |
Use Yoga constraints for bugfix/8.4
Change-Id: I5e95fae1f2846a19c859b5d61e224ad198c1a8c5
-rw-r--r-- | tox.ini | 8 | ||||
-rw-r--r-- | zuul.d/ironic-python-agent-jobs.yaml | 37 | ||||
-rw-r--r-- | zuul.d/project.yaml | 22 |
3 files changed, 58 insertions, 9 deletions
@@ -15,7 +15,7 @@ setenv = LANGUAGE=en_US LC_ALL=en_US.utf-8 deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga} -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = stestr run {posargs} @@ -71,7 +71,7 @@ setenv = PYTHONHASHSEED=0 sitepackages = False # NOTE(dtantsur): documentation building process requires importing IPA deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands = @@ -89,7 +89,7 @@ commands = [testenv:releasenotes] usedevelop = False deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga} -r{toxinidir}/doc/requirements.txt commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html @@ -128,7 +128,7 @@ commands = [testenv:bandit] usedevelop = False deps = - -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/yoga} -r{toxinidir}/test-requirements.txt commands = bandit -r ironic_python_agent -x tests -n5 -ll -c tools/bandit.yml diff --git a/zuul.d/ironic-python-agent-jobs.yaml b/zuul.d/ironic-python-agent-jobs.yaml index a5cb2977..a5716c62 100644 --- a/zuul.d/ironic-python-agent-jobs.yaml +++ b/zuul.d/ironic-python-agent-jobs.yaml @@ -157,3 +157,40 @@ devstack_localrc: IRONIC_RAMDISK_TYPE: tinyipa IRONIC_VM_SPECS_RAM: 1024 + +- project-template: + name: openstack-python3-yoga-jobs-ironic-bugfix + description: | + Runs unit tests for an OpenStack Python project under the CPython + version 3 releases designated for testing in the Yoga release. + check: + jobs: + - openstack-tox-pep8: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga + - openstack-tox-py36: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga + - openstack-tox-py39: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga + gate: + jobs: + - openstack-tox-pep8: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga + - openstack-tox-py36: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga + - openstack-tox-py39: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga + post: + jobs: + - publish-openstack-python-branch-tarball diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index fa87feaf..c04ee4d5 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -1,14 +1,19 @@ - project: templates: - check-requirements - - openstack-cover-jobs - - openstack-lower-constraints-master-branch-jobs - - openstack-python3-yoga-jobs + - openstack-python3-yoga-jobs-ironic-bugfix - publish-openstack-docs-pti - release-notes-jobs-python3 check: jobs: - - openstack-tox-functional + - openstack-tox-functional: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga + - openstack-tox-cover: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga - ipa-tox-examples # NOTE(iurygregory) Only run this two jobs since we are testing # wholedisk + partition on tempest @@ -30,7 +35,14 @@ gate: queue: ironic jobs: - - openstack-tox-functional + - openstack-tox-functional: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga + - openstack-tox-cover: + required-projects: + - name: openstack/requirements + override-checkout: stable/yoga - ipa-tempest-bios-ipmi-direct-src - ipa-tempest-uefi-redfish-vmedia-src - metalsmith-integration-ipa-src-uefi |