Build ironic-python-agent DIB image with CentOS Stream 10
Few changes to enable building IPA ramdisk using CS10 Change-Id: I82da3cd9cf5c4d5e2d924426ff91c41c457c36a6 Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
This commit is contained in:
@@ -20,4 +20,4 @@ doing a source-based installation:
|
|||||||
install when ``DIB_IPA_HARDWARE_PACKAGE`` is unset. If unset, the latest
|
install when ``DIB_IPA_HARDWARE_PACKAGE`` is unset. If unset, the latest
|
||||||
version will be installed.
|
version will be installed.
|
||||||
* ``DIB_IPA_HARDWARE_RDO`` set to ``0`` to prevent the latest RDO package repositories
|
* ``DIB_IPA_HARDWARE_RDO`` set to ``0`` to prevent the latest RDO package repositories
|
||||||
being installed on CentOS-9-Stream (ignored when ``DIB_YUM_REPO_CONF`` is set).
|
being installed on CentOS Stream (ignored when ``DIB_YUM_REPO_CONF`` is set).
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
if [[ "${DISTRO_NAME}${DIB_RELEASE}" =~ "centos9" ]]; then
|
if [[ "${DISTRO_NAME}" =~ "centos" ]]; then
|
||||||
|
|
||||||
if [ -n "${DIB_YUM_REPO_CONF:-}" ] ; then
|
if [ -n "${DIB_YUM_REPO_CONF:-}" ] ; then
|
||||||
# Always disable if DIB_YUM_REPO_CONF is defined
|
# Always disable if DIB_YUM_REPO_CONF is defined
|
||||||
@@ -9,6 +9,6 @@ if [[ "${DISTRO_NAME}${DIB_RELEASE}" =~ "centos9" ]]; then
|
|||||||
export DIB_IPA_HARDWARE_RDO=${DIB_IPA_HARDWARE_RDO:-1}
|
export DIB_IPA_HARDWARE_RDO=${DIB_IPA_HARDWARE_RDO:-1}
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
# Always disable if not centos-9
|
# Always disable if not centos
|
||||||
export DIB_IPA_HARDWARE_RDO=0
|
export DIB_IPA_HARDWARE_RDO=0
|
||||||
fi
|
fi
|
||||||
|
@@ -5,5 +5,6 @@ set -eux
|
|||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
if [ ${DIB_IPA_HARDWARE_RDO:-0} -ne 0 ]; then
|
if [ ${DIB_IPA_HARDWARE_RDO:-0} -ne 0 ]; then
|
||||||
curl -o /etc/yum.repos.d/dlrn-deps.repo https://trunk.rdoproject.org/centos9-master/dlrn-deps.repo
|
curl -o /etc/yum.repos.d/dlrn-deps.repo https://trunk.rdoproject.org/${DISTRO_NAME}${DIB_RELEASE}-master/dlrn-deps.repo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
epel
|
||||||
ironic-ramdisk-base
|
ironic-ramdisk-base
|
||||||
dhcp-all-interfaces
|
dhcp-all-interfaces
|
||||||
ibft-interfaces
|
ibft-interfaces
|
||||||
|
5
releasenotes/notes/cs10support-f8d2996aaf7505ad.yaml
Normal file
5
releasenotes/notes/cs10support-f8d2996aaf7505ad.yaml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Ironic python agent builder now supports building ironic-python
|
||||||
|
agent ramdisk using CentOS Stream 10
|
@@ -27,6 +27,22 @@
|
|||||||
image_release: '9-stream'
|
image_release: '9-stream'
|
||||||
image_target_name: 'centos9'
|
image_target_name: 'centos9'
|
||||||
|
|
||||||
|
# NOTE(rpittau): using nested virt nodes to ensure EL10 hw support
|
||||||
|
- job:
|
||||||
|
name: ironic-python-agent-build-image-dib-centos10
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: nested-virt-ubuntu-noble
|
||||||
|
label: nested-virt-ubuntu-noble
|
||||||
|
parent: ironic-python-agent-build-image-base
|
||||||
|
required-projects:
|
||||||
|
- openstack/diskimage-builder
|
||||||
|
vars:
|
||||||
|
image_type: 'dib'
|
||||||
|
image_distro: 'centos'
|
||||||
|
image_release: '10-stream'
|
||||||
|
image_target_name: 'centos10'
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: ironic-python-agent-build-image-dib-debian
|
name: ironic-python-agent-build-image-dib-debian
|
||||||
parent: ironic-python-agent-build-image-base
|
parent: ironic-python-agent-build-image-base
|
||||||
@@ -71,12 +87,34 @@
|
|||||||
image_release: '9-stream'
|
image_release: '9-stream'
|
||||||
image_target_name: centos9
|
image_target_name: centos9
|
||||||
|
|
||||||
|
# NOTE(rpittau): using nested virt nodes to ensure EL10 hw support
|
||||||
|
- job:
|
||||||
|
name: ironic-python-agent-check-image-dib-centos10
|
||||||
|
nodeset:
|
||||||
|
nodes:
|
||||||
|
- name: nested-virt-ubuntu-noble
|
||||||
|
label: nested-virt-ubuntu-noble
|
||||||
|
parent: ironic-python-agent-check-image-base
|
||||||
|
required-projects:
|
||||||
|
- openstack/diskimage-builder
|
||||||
|
vars:
|
||||||
|
image_type: 'dib'
|
||||||
|
image_distro: 'centos'
|
||||||
|
image_release: '10-stream'
|
||||||
|
image_target_name: centos10
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: ironic-python-agent-check-image-dib-centos9-extra
|
name: ironic-python-agent-check-image-dib-centos9-extra
|
||||||
parent: ironic-python-agent-check-image-dib-centos9
|
parent: ironic-python-agent-check-image-dib-centos9
|
||||||
vars:
|
vars:
|
||||||
extra_elements: ["extra-hardware"]
|
extra_elements: ["extra-hardware"]
|
||||||
|
|
||||||
|
- job:
|
||||||
|
name: ironic-python-agent-check-image-dib-centos10-extra
|
||||||
|
parent: ironic-python-agent-check-image-dib-centos10
|
||||||
|
vars:
|
||||||
|
extra_elements: ["extra-hardware"]
|
||||||
|
|
||||||
- job:
|
- job:
|
||||||
name: ironic-python-agent-check-image-dib-debian
|
name: ironic-python-agent-check-image-dib-debian
|
||||||
parent: ironic-python-agent-check-image-base
|
parent: ironic-python-agent-check-image-base
|
||||||
|
@@ -9,6 +9,8 @@
|
|||||||
- ironic-standalone-ipa-src
|
- ironic-standalone-ipa-src
|
||||||
- ironic-python-agent-check-image-dib-centos9
|
- ironic-python-agent-check-image-dib-centos9
|
||||||
- ironic-python-agent-check-image-dib-centos9-extra
|
- ironic-python-agent-check-image-dib-centos9-extra
|
||||||
|
- ironic-python-agent-check-image-dib-centos10
|
||||||
|
- ironic-python-agent-check-image-dib-centos10-extra
|
||||||
- ironic-python-agent-check-image-dib-debian
|
- ironic-python-agent-check-image-dib-debian
|
||||||
- ironic-python-agent-check-image-dib-debian-arm64
|
- ironic-python-agent-check-image-dib-debian-arm64
|
||||||
- ironic-python-agent-check-image-dib-debian-extra
|
- ironic-python-agent-check-image-dib-debian-extra
|
||||||
@@ -31,6 +33,8 @@
|
|||||||
- ironic-standalone-ipa-src
|
- ironic-standalone-ipa-src
|
||||||
- ironic-python-agent-check-image-dib-centos9
|
- ironic-python-agent-check-image-dib-centos9
|
||||||
- ironic-python-agent-check-image-dib-centos9-extra
|
- ironic-python-agent-check-image-dib-centos9-extra
|
||||||
|
- ironic-python-agent-check-image-dib-centos10
|
||||||
|
- ironic-python-agent-check-image-dib-centos10-extra
|
||||||
- ironic-python-agent-check-image-dib-debian
|
- ironic-python-agent-check-image-dib-debian
|
||||||
- ironic-python-agent-check-image-dib-debian-arm64
|
- ironic-python-agent-check-image-dib-debian-arm64
|
||||||
- ironic-python-agent-check-image-dib-debian-extra
|
- ironic-python-agent-check-image-dib-debian-extra
|
||||||
|
Reference in New Issue
Block a user