Add Rockylinux 9 build configuration and update jobs for 8 and 9

* Add note in Rocky Linux 9 containerfile to explain not needing to run
  systemd-machine-setup-id

Change-Id: I01233ce27cc4558270b2f41fae36b46a17f56e52
This commit is contained in:
Neil Hanlon 2022-07-06 15:41:24 -04:00
parent 6745279243
commit 6b42cb23ee
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
4 changed files with 33 additions and 1 deletions

View File

@ -152,6 +152,23 @@
# back for now.
nodeset: ubuntu-focal
- job:
name: dib-nodepool-functional-openstack-rockylinux-9-containerfile-src
description: |
Test building and booting a Rocky Linux image from a
containerfile with Nodepool and OpenStack (using released
libraries)
parent: dib-nodepool-functional-src-base
vars:
nodepool_debug: true
nodepool_diskimage:
base_element: rocky-container
release: '9'
# NOTE(ianw) 2022-07-11 : something in jammy has broken running
# podman inside docker. Investigations continue, but force this
# back for now.
nodeset: ubuntu-focal
- job:
name: dib-nodepool-functional-openstack-ubuntu-xenial-src
description: |

View File

@ -31,6 +31,8 @@
- dib-nodepool-functional-openstack-fedora-36-containerfile-src
- dib-nodepool-functional-openstack-rockylinux-8-containerfile-src:
voting: false
- dib-nodepool-functional-openstack-rockylinux-9-containerfile-src:
voting: false
- dib-nodepool-functional-openstack-ubuntu-xenial-src
- dib-nodepool-functional-openstack-ubuntu-bionic-src
- dib-nodepool-functional-openstack-ubuntu-focal-src

View File

@ -0,0 +1,13 @@
FROM docker.io/rockylinux/rockylinux:9
RUN dnf install -y findutils util-linux sudo python3 NetworkManager
RUN systemctl unmask console-getty.service dev-hugepages.mount \
getty.target sys-fs-fuse-connections.mount systemd-logind.service \
systemd-remount-fs.service
# NOTE(neilhanlon) 2022-08-02
# Unlike with the RL8 image, there does not appear to be a requirement to
# populate /etc/machine-id in order for /bin/kernel-install to correctly copy
# kernels into /boot. As a result, we will not run the machine setup
# systemd-machine-id-setup script

View File

@ -1,4 +1,4 @@
export DISTRO_NAME=rocky
export DIB_RELEASE=${DIB_RELEASE:-8} # always the most recent major
export DIB_RELEASE=${DIB_RELEASE:-9} # always the most recent major
export EFI_BOOT_DIR="EFI/rocky"
export DIB_YUM_MINIMAL_CREATE_INTERFACES=0