
CentOS 8 Stream is EOL and our mirror automatically replicated the empty package repo state for CentOS 8 Stream. The end result is that jobs running on CentOS 8 Stream are no longer functional. In preparation for the removal of this test node type we remove these jobs that rely on and/or support CentOS 8 Stream in our environment. Change-Id: I453c74ec5ffcfd8dadd77da10dc4a817342cc1bb
53 lines
1.7 KiB
YAML
53 lines
1.7 KiB
YAML
- hosts: localhost
|
|
tasks:
|
|
- name: Ensure artifacts directories exist
|
|
file:
|
|
state: directory
|
|
path: '{{ zuul.executor.work_root }}/{{ item }}'
|
|
loop:
|
|
- 'artifacts/openafs/centos9-stream'
|
|
|
|
#
|
|
# CentOS 9
|
|
#
|
|
|
|
- name: Download centos 9 x86 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-x86
|
|
download_artifact_directory: '{{ zuul.executor.work_root }}'
|
|
|
|
- name: Extract centos 9 x86 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'
|
|
|
|
- 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 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'
|