From f7ff4c979b2541beae34c326a0f3accb9a44fd14 Mon Sep 17 00:00:00 2001 From: Jens Harbott Date: Sun, 10 Oct 2021 09:28:20 +0200 Subject: [PATCH] Add jobs without the pre-built wheels All normal CI jobs use wheels that have been built previously, but possibly are no longer buildable with the current set of requirements. Add jobs that do not use these wheels to the experimental pipeline for now. Change-Id: Id2a5bca02ad37b5fbe3391ece9944112234ac52a --- .zuul.d/jobs.yaml | 40 ++++++++++++++++++++++++++++++++ .zuul.d/project.yaml | 4 ++++ playbooks/drop-wheel-mirror.yaml | 9 +++++++ 3 files changed, 53 insertions(+) create mode 100644 playbooks/drop-wheel-mirror.yaml 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