From 541daaa3ff52cf9b13ae845753ceb42d2aa63f47 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 22 May 2020 16:24:28 +0200 Subject: [PATCH] build and publish wheels for aarch64 architecture - CentOS 7, 8 - Debian 'buster' - Ubuntu 'focal', 'bionic', 'xenial' Change-Id: Iebb1062269011664411691ef8fd55219afaccd1e --- playbooks/wheel/release.yaml | 28 +++++++- zuul.d/jobs.yaml | 133 +++++++++++++++++++++++++++++++++++ zuul.d/projects.yaml | 12 ++++ 3 files changed, 171 insertions(+), 2 deletions(-) diff --git a/playbooks/wheel/release.yaml b/playbooks/wheel/release.yaml index 91b2f972fd..19b1588cca 100644 --- a/playbooks/wheel/release.yaml +++ b/playbooks/wheel/release.yaml @@ -1,16 +1,40 @@ - hosts: localhost roles: - role: create-afs-token + + # CentOS - role: release-afs-volume afs_volume: mirror.wheel.cent7x64 + - role: release-afs-volume + afs_volume: mirror.wheel.cent7a64 + - role: release-afs-volume afs_volume: mirror.wheel.cent8x64 + - role: release-afs-volume + afs_volume: mirror.wheel.cent8a64 + - role: release-afs-volume + + # Debian - role: release-afs-volume afs_volume: mirror.wheel.busterx64 - role: release-afs-volume - afs_volume: mirror.wheel.focalx64 + afs_volume: mirror.wheel.bustera64 + + # Ubuntu + - role: release-afs-volume + afs_volume: mirror.wheel.xenialx64 + - role: release-afs-volume + afs_volume: mirror.wheel.xeniala64 + - role: release-afs-volume afs_volume: mirror.wheel.bionicx64 - role: release-afs-volume - afs_volume: mirror.wheel.xenialx64 + afs_volume: mirror.wheel.bionica64 + + - role: release-afs-volume + afs_volume: mirror.wheel.focalx64 + - role: release-afs-volume + afs_volume: mirror.wheel.focala64 + + # Fin - role: destroy-afs-token diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index aac72c446d..0cd22a6c33 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -860,6 +860,31 @@ - name: afs secret: wheel_keytab +- job: + name: build-wheel-mirror-centos-7-arm64 + parent: build-wheel-mirror-base + description: | + Build CentOS 7 wheels for OpenStack CI mirrors. + nodeset: + nodes: + - name: wheel-mirror-centos-7-arm64-python2 + label: centos-7-arm64 + host-vars: + wheel-mirror-centos-7-arm64-python2: + wheel_python: python2 + +- job: + name: publish-wheel-mirror-centos-7-arm64 + description: | + Publish CentOS 7 wheels for OpenStack CI mirrors. + parent: build-wheel-mirror-centos-7-arm64 + pre-run: playbooks/openafs-client/setup.yaml + post-run: playbooks/publish/wheel-mirror.yaml + final: true + secrets: + - name: afs + secret: wheel_keytab + - job: name: build-wheel-mirror-centos-8 parent: build-wheel-mirror-base @@ -885,6 +910,31 @@ - name: afs secret: wheel_keytab +- job: + name: build-wheel-mirror-centos-8-arm64 + parent: build-wheel-mirror-base + description: | + Build CentOS 8 wheels for OpenStack CI mirrors. + nodeset: + nodes: + - name: wheel-mirror-centos-8-arm64-python3 + label: centos-8-arm64 + host-vars: + wheel-mirror-centos-8-arm64-python3: + wheel_python: python3 + +- job: + name: publish-wheel-mirror-centos-8-arm64 + description: | + Publish CentOS 8 wheels for OpenStack CI mirrors. + parent: build-wheel-mirror-centos-8-arm64 + pre-run: playbooks/openafs-client/setup.yaml + post-run: playbooks/publish/wheel-mirror.yaml + final: true + secrets: + - name: afs + secret: wheel_keytab + - job: name: build-wheel-mirror-debian-buster parent: build-wheel-mirror-base @@ -914,6 +964,35 @@ - name: afs secret: wheel_keytab +- job: + name: build-wheel-mirror-debian-buster-arm64 + parent: build-wheel-mirror-base + description: | + Build Debian buster wheels for OpenStack CI mirrors. + nodeset: + nodes: + - name: wheel-mirror-debian-buster-arm64-python2 + label: debian-buster-arm64 + - name: wheel-mirror-debian-buster-arm64-python3 + label: debian-buster-arm64 + host-vars: + wheel-mirror-debian-buster-arm64-python2: + wheel_python: python2 + wheel-mirror-debian-buster-arm64-python3: + wheel_python: python3 + +- job: + name: publish-wheel-mirror-debian-buster-arm64 + description: | + Publish Debian buster wheels for OpenStack CI mirrors. + parent: build-wheel-mirror-debian-buster-arm64 + pre-run: playbooks/openafs-client/setup.yaml + post-run: playbooks/publish/wheel-mirror.yaml + final: true + secrets: + - name: afs + secret: wheel_keytab + - job: name: build-wheel-mirror-ubuntu-focal parent: build-wheel-mirror-base @@ -939,6 +1018,31 @@ - name: afs secret: wheel_keytab +- job: + name: build-wheel-mirror-ubuntu-focal-arm64 + parent: build-wheel-mirror-base + description: | + Build Ubuntu Focal wheels for OpenStack CI mirrors. + nodeset: + nodes: + - name: wheel-mirror-ubuntu-focal-arm64-python3 + label: ubuntu-focal-arm64 + host-vars: + wheel-mirror-ubuntu-focal-arm64-python3: + wheel_python: python3 + +- job: + name: publish-wheel-mirror-ubuntu-focal-arm64 + parent: build-wheel-mirror-ubuntu-focal-arm64 + description: | + Publish Ubuntu Focal wheels for OpenStack CI mirrors. + pre-run: playbooks/openafs-client/setup.yaml + post-run: playbooks/publish/wheel-mirror.yaml + final: true + secrets: + - name: afs + secret: wheel_keytab + - job: name: build-wheel-mirror-ubuntu-bionic parent: build-wheel-mirror-base @@ -968,6 +1072,35 @@ - name: afs secret: wheel_keytab +- job: + name: build-wheel-mirror-ubuntu-bionic-arm64 + parent: build-wheel-mirror-base + description: | + Build Ubuntu Bionic wheels for OpenStack CI mirrors. + nodeset: + nodes: + - name: wheel-mirror-ubuntu-bionic-arm64-python2 + label: ubuntu-bionic-arm64 + - name: wheel-mirror-ubuntu-bionic-arm64-python3 + label: ubuntu-bionic-arm64 + host-vars: + wheel-mirror-ubuntu-bionic-arm64-python2: + wheel_python: python2 + wheel-mirror-ubuntu-bionic-arm64-python3: + wheel_python: python3 + +- job: + name: publish-wheel-mirror-ubuntu-bionic-arm64 + parent: build-wheel-mirror-ubuntu-bionic-arm64 + description: | + Publish Ubuntu Bionic wheels for OpenStack CI mirrors. + pre-run: playbooks/openafs-client/setup.yaml + post-run: playbooks/publish/wheel-mirror.yaml + final: true + secrets: + - name: afs + secret: wheel_keytab + - job: name: build-wheel-mirror-ubuntu-xenial parent: build-wheel-mirror-base diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index 15c718d168..76fa9291b8 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -5445,6 +5445,12 @@ - publish-wheel-mirror-ubuntu-focal - publish-wheel-mirror-ubuntu-bionic - publish-wheel-mirror-ubuntu-xenial + - publish-wheel-mirror-centos-7-arm64 + - publish-wheel-mirror-centos-8-arm64 + - publish-wheel-mirror-debian-buster-arm64 + - publish-wheel-mirror-ubuntu-focal-arm64 + - publish-wheel-mirror-ubuntu-bionic-arm64 + - publish-wheel-mirror-ubuntu-xenial-arm64 - release-wheel-mirror: dependencies: - publish-wheel-mirror-centos-7 @@ -5453,6 +5459,12 @@ - publish-wheel-mirror-ubuntu-focal - publish-wheel-mirror-ubuntu-bionic - publish-wheel-mirror-ubuntu-xenial + - publish-wheel-mirror-centos-7-arm64 + - publish-wheel-mirror-centos-8-arm64 + - publish-wheel-mirror-debian-buster-arm64 + - publish-wheel-mirror-ubuntu-focal-arm64 + - publish-wheel-mirror-ubuntu-bionic-arm64 + - publish-wheel-mirror-ubuntu-xenial-arm64 - propose-updates: nodeset: ubuntu-bionic branches: master