diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index 61e0c1d79e..953d1c6482 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -53,6 +53,46 @@ vars: tox_envlist: py311-check-uc +- job: + name: requirements-tox-py38-check-uc-no-wheels + parent: requirements-tox-py38-check-uc + description: | + Run test for requirements project. + + Uses tox with the ``py38-check-uc`` environment. + Does not use wheel mirror. + pre-run: playbooks/drop-wheel-mirror.yaml + +- job: + name: requirements-tox-py39-check-uc-no-wheels + parent: requirements-tox-py39-check-uc + description: | + Run test for requirements project. + + Uses tox with the ``py39-check-uc`` environment. + Does not use wheel mirror. + pre-run: playbooks/drop-wheel-mirror.yaml + +- job: + name: requirements-tox-py310-check-uc-no-wheels + parent: requirements-tox-py310-check-uc + description: | + Run test for requirements project. + + Uses tox with the ``py310-check-uc`` environment. + Does not use wheel mirror. + pre-run: playbooks/drop-wheel-mirror.yaml + +- job: + name: requirements-tox-py311-check-uc-no-wheels + parent: requirements-tox-py311-check-uc + description: | + Run test for requirements project. + + Uses tox with the ``py311-check-uc`` environment. + Does not use wheel mirror. + pre-run: playbooks/drop-wheel-mirror.yaml + - job: name: requirements-tox-validate-projects parent: openstack-tox diff --git a/.zuul.d/project.yaml b/.zuul.d/project.yaml index f311cd03d5..bdef306c64 100644 --- a/.zuul.d/project.yaml +++ b/.zuul.d/project.yaml @@ -123,6 +123,10 @@ jobs: - nova-ceph-multistore - nova-next + - requirements-tox-py38-check-uc-no-wheels + - requirements-tox-py39-check-uc-no-wheels + - requirements-tox-py310-check-uc-no-wheels + - requirements-tox-py311-check-uc-no-wheels - tempest-integrated-storage - tempest-pg-full: irrelevant-files: diff --git a/playbooks/drop-wheel-mirror.yaml b/playbooks/drop-wheel-mirror.yaml new file mode 100644 index 0000000000..2b629e7cb2 --- /dev/null +++ b/playbooks/drop-wheel-mirror.yaml @@ -0,0 +1,9 @@ +- hosts: all + + tasks: + - name: Drop wheel mirror from pip.conf + become: yes + lineinfile: + path: /etc/pip.conf + regexp: "^extra-index-url" + state: absent