diff --git a/playbooks/wheel-cache/pre.yaml b/playbooks/wheel-cache/pre.yaml index 8542cdd3..1f8d2a7a 100644 --- a/playbooks/wheel-cache/pre.yaml +++ b/playbooks/wheel-cache/pre.yaml @@ -36,6 +36,23 @@ - ansible_distribution == "CentOS" - ansible_distribution_major_version == '8' + # NOTE(ianw) 2022-04-11 : For now use buildlogs staging version + # until final releases are made and there are packages to install + # repos. + - name: Add centos-release-openstack for CentOS 9 + copy: + content: | + [RDO-CentOS-9-stream-yoga] + name=CentOS OpenStack Yoga Repository + baseurl=https://buildlogs.centos.org/centos/9-stream/cloud/{{ ansible_architecture }}/openstack-yoga + gpgcheck=0 + enable=1 + dest: /etc/yum.repos.d/openstack-yoga.repo + become: yes + when: + - ansible_distribution == "CentOS" + - ansible_distribution_major_version == '9' + # This depends on rabbitmq, which isn't build for # aarch64 and thus causes everything to stop # See https://bugs.centos.org/view.php?id=16968 diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index bed4ae83..7b35de39 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -1509,6 +1509,32 @@ wheel-cache-centos-7-python3: wheel_python: python3 +- job: + name: build-wheel-cache-centos-9-stream + parent: build-wheel-cache-base + description: | + Build CentOS 9 wheels for OpenStack CI mirrors. + nodeset: + nodes: + - name: wheel-cache-centos-9-stream-python3 + label: centos-9-stream + host-vars: + wheel-cache-centos-9-stream-python3: + wheel_python: python3 + +- job: + name: build-wheel-cache-centos-9-stream-arm64 + parent: build-wheel-cache-base + description: | + Build CentOS 9 wheels for OpenStack CI mirrors. + nodeset: + nodes: + - name: wheel-cache-centos-9-stream-arm64-python3 + label: centos-9-stream-arm64 + host-vars: + wheel-cache-centos-9-stream-arm64-python3: + wheel_python: python3 + - job: name: build-wheel-cache-centos-8-stream parent: build-wheel-cache-base diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 3e3bc03b..519e35a2 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -19,6 +19,10 @@ files: - playbooks/wheel-cache - roles/build-wheel-cache + - build-wheel-cache-centos-9-stream: + files: + - playbooks/wheel-cache + - roles/build-wheel-cache - build-wheel-cache-debian-buster: files: - playbooks/wheel-cache @@ -45,6 +49,10 @@ files: - playbooks/wheel-cache - roles/build-wheel-cache + - build-wheel-cache-centos-9-stream-arm64: + files: + - playbooks/wheel-cache + - roles/build-wheel-cache - build-wheel-cache-debian-buster-arm64: files: - playbooks/wheel-cache