From a27a266f314478b442ecfa027ac15abf2cf3c303 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 3 May 2022 09:52:59 +1000 Subject: [PATCH] openafs: add 9-stream ARM64 builds Depends-On: https://review.opendev.org/c/opendev/base-jobs/+/840255 Change-Id: Id81490d34bcef18792c4b938893bf5168900d98f --- .../openafs-rpm-package-build/publish.yaml | 25 +++++++++++++++++++ zuul.d/jobs.yaml | 5 ++++ zuul.d/project.yaml | 2 ++ 3 files changed, 32 insertions(+) diff --git a/playbooks/openafs-rpm-package-build/publish.yaml b/playbooks/openafs-rpm-package-build/publish.yaml index 0d76f771..21b4de29 100644 --- a/playbooks/openafs-rpm-package-build/publish.yaml +++ b/playbooks/openafs-rpm-package-build/publish.yaml @@ -115,3 +115,28 @@ state: absent path: '{{ zuul.executor.work_root }}/openafs-rpms.tar.gz' + - name: Download centos 9 arm64 artifact + include_role: + name: download-artifact + vars: + download_artifact_api: "https://zuul.opendev.org/api/tenant/{{ zuul.tenant }}" + download_artifact_type: rpm.tar.gz + download_artifact_pipeline: gate + download_artifact_job: openafs-rpm-package-build-centos-9-stream-arm64 + download_artifact_directory: '{{ zuul.executor.work_root }}' + + - name: Extract centos 9 arm64 + unarchive: + src: '{{ zuul.executor.work_root }}/openafs-rpms.tar.gz' + # Keep this old path for backward compat + dest: '{{ zuul.executor.work_root }}/artifacts/openafs/centos9' + + - name: Extract centos 9 arm64 stream + unarchive: + src: '{{ zuul.executor.work_root }}/openafs-rpms.tar.gz' + dest: '{{ zuul.executor.work_root }}/artifacts/openafs/centos9-stream' + + - name: Remove artifact + file: + state: absent + path: '{{ zuul.executor.work_root }}/openafs-rpms.tar.gz' diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 02ac050e..14b5bfff 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -1364,6 +1364,11 @@ parent: openafs-rpm-package-build nodeset: centos-9-stream +- job: + name: openafs-rpm-package-build-centos-9-stream-arm64 + parent: openafs-rpm-package-build + nodeset: centos-9-stream-arm64 + - job: name: openafs-rpm-package-build-promote description: | diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index 9f2977ed..68cd7ed6 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -9,6 +9,7 @@ - openafs-rpm-package-build-centos-8-stream-x86 - openafs-rpm-package-build-centos-8-stream-arm64 - openafs-rpm-package-build-centos-9-stream-x86 + - openafs-rpm-package-build-centos-9-stream-arm64 - openstack-infra-extra-integration-xenial - openstack-infra-extra-integration-bionic - openstack-zuul-jobs-linters @@ -76,6 +77,7 @@ - openafs-rpm-package-build-centos-8-stream-x86 - openafs-rpm-package-build-centos-8-stream-arm64 - openafs-rpm-package-build-centos-9-stream-x86 + - openafs-rpm-package-build-centos-9-stream-arm64 - openstack-zuul-jobs-linters promote: jobs: