From d321b08f4d8bc680158a0f39900e4c70b0a63ba9 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Wed, 21 Sep 2022 15:06:03 +1000 Subject: [PATCH] Add Rocky 9 ARM64 functional test This will test if we can get a Rocky 9 ARM64 image Needed-By: https://review.opendev.org/c/openstack/project-config/+/858554 Change-Id: I3e589e4838cea489e11719b5f7fce82bf0d978e8 --- .zuul.d/jobs.yaml | 1 + .../test-elements/rocky-9-aarch64-build-succeeds/README.rst | 1 + .../test-elements/rocky-9-aarch64-build-succeeds/element-deps | 3 +++ .../environment.d/09-set-distro.bash | 1 + 4 files changed, 6 insertions(+) create mode 100644 diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/README.rst create mode 100644 diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/element-deps create mode 100644 diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/environment.d/09-set-distro.bash diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index d73765c0..f3a2f60b 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -61,6 +61,7 @@ - centos-minimal/8-stream-aarch64-build-succeeds - centos-minimal/9-stream-aarch64-build-succeeds - openeuler-minimal/22.03-LTS-build-succeeds + - rocky-container/rocky-9-aarch64-build-succeeds # # Build and boot functional tests diff --git a/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/README.rst b/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/README.rst new file mode 100644 index 00000000..10774f7e --- /dev/null +++ b/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/README.rst @@ -0,0 +1 @@ +Verify a Rocky 9 aarch64 image diff --git a/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/element-deps b/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/element-deps new file mode 100644 index 00000000..99857b0c --- /dev/null +++ b/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/element-deps @@ -0,0 +1,3 @@ +block-device-efi +openstack-ci-mirrors +vm diff --git a/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/environment.d/09-set-distro.bash b/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/environment.d/09-set-distro.bash new file mode 100644 index 00000000..65c6e4ed --- /dev/null +++ b/diskimage_builder/elements/rocky-container/test-elements/rocky-9-aarch64-build-succeeds/environment.d/09-set-distro.bash @@ -0,0 +1 @@ +export DIB_RELEASE='9'