almalinux-container: Add support for building 10
Add functests for both Alma and Rocky 9/10 Adding x86-64-v2 based Zuul job to ensure it works Change-Id: I95ef6d41f1e78a439c29648d366a3472098092bd Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
This commit is contained in:
21 changed files with 73 additions and 6 deletions
@@ -30,6 +30,11 @@
# Image based tests
- centos/9-stream-build-succeeds
- centos/10-stream-build-succeeds
# Containerfile based tests
- almalinux-container/almalinux-9-build-succeeds
- almalinux-container/almalinux-10-build-succeeds
- rocky-container/rocky-9-build-succeeds
- rocky-container/rocky-10-build-succeeds
# NOTE(rpittau) Fedora 37 is EOL, disalbing this until we move to
# Fedora 39 or more recent.
#- fedora/build-succeeds
@@ -66,6 +71,7 @@
vars:
dib_functests:
- almalinux-container/almalinux-9-aarch64-build-succeeds
- almalinux-container/almalinux-10-aarch64-build-succeeds
- centos-minimal/9-stream-aarch64-build-succeeds
- centos-minimal/10-stream-aarch64-build-succeeds
# Disabled until it gets updated to match the version being mirrored
@@ -156,6 +162,20 @@
base_element:almalinux-container
release:'9'
- job:
name:dib-devstack-functional-openstack-almalinux-10-v2-containerfile-src
description:|
Test building and booting a AlmaLinux image from a
containerfile with devstack and OpenStack (using released
libraries)
parent:dib-devstack-functional-src-base
vars:
diskimage:
base_element:almalinux-container
env-vars:
DIB_CONTAINERFILE_BUILDOPTS:"--platform linux/amd64/v2"
release:'10'
- job:
name:dib-devstack-functional-openstack-centos-8-stream-src
description:|
@@ -37,6 +37,8 @@
voting:false
- dib-devstack-functional-openstack-almalinux-9-containerfile-src:
voting:false
- dib-devstack-functional-openstack-almalinux-10-v2-containerfile-src:
voting:false
- dib-devstack-functional-openstack-centos-9-stream-src
- dib-devstack-functional-openstack-centos-10-stream-src:
voting:false
@@ -0,0 +1,14 @@
FROM quay.io/almalinuxorg/almalinux:10
RUN dnf group install -y 'Minimal Install' --allowerasing && \
dnf install -y findutils util-linux sudo python3 NetworkManager \
curl libcurl --allowerasing
RUN systemctl unmask console-getty.service dev-hugepages.mount \
getty.target sys-fs-fuse-connections.mount systemd-logind.service \
systemd-remount-fs.service
# /etc/machine-id needs to be populated for /bin/kernel-install to
# correctly copy kernels into /boot. We will clear this out in the
# final image.
RUN systemd-machine-id-setup
@@ -1,4 +1,4 @@
export DISTRO_NAME=almalinux
export DIB_RELEASE=${DIB_RELEASE:-9} # always the most recent major
export DIB_RELEASE=${DIB_RELEASE:-10} # always the most recent major
export EFI_BOOT_DIR="EFI/almalinux"
export DIB_YUM_MINIMAL_CREATE_INTERFACES=0
@@ -0,0 +1 @@
Verify a AlmaLinux 10 aarch64 image
@@ -0,0 +1,2 @@
block-device-efi
vm
@@ -0,0 +1 @@
export DIB_RELEASE='10'
@@ -0,0 +1 @@
Verify a AlmaLinux 10 aarch64 image
@@ -0,0 +1,2 @@
block-device-efi
vm
@@ -0,0 +1 @@
export DIB_RELEASE='10'
@@ -0,0 +1 @@
Verify a AlmaLinux 9 image
@@ -0,0 +1,2 @@
block-device-efi
vm
@@ -0,0 +1 @@
export DIB_RELEASE='9'
@@ -1,5 +1,11 @@
{
"release": {
"almalinux": {
"10": {
"dhcp-client": "dhcpcd",
"ifupdown": ""
}
},
"centos": {
"10-stream": {
"dhcp-client": "dhcpcd",
@@ -0,0 +1 @@
Verify a Rocky 10 image
@@ -0,0 +1,2 @@
block-device-efi
vm
@@ -0,0 +1 @@
export DIB_RELEASE='10'
@@ -0,0 +1 @@
Verify a Rocky 9 image
@@ -0,0 +1,2 @@
block-device-efi
vm
@@ -0,0 +1 @@
export DIB_RELEASE='9'
@@ -25,6 +25,16 @@
}
},
"release": {
"almalinux": {
"10": {
"dhcp-client": "dhcpcd"
}
},
"centos": {
"10-stream": {
"dhcp-client": "dhcpcd"
}
},
"fedora": {
"36": {
"NetworkManager-initscripts-ifcfg-rh": "NetworkManager-initscripts-ifcfg-rh"
@@ -33,11 +43,6 @@
"NetworkManager-initscripts-ifcfg-rh": "NetworkManager-initscripts-ifcfg-rh"
}
},
"centos": {
"10-stream": {
"dhcp-client": "dhcpcd"
}
},
"rocky": {
"10": {
"dhcp-client": "dhcpcd"
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.