Preliminary work to support CentOS 9 Stream

Changes package mappings to default to Python 3. Unfortunately, the
build does not work yet because of some issue in DIB.

Co-Authored-By: Dmitry Tantsur <dtantsur@protonmail.com>
Change-Id: I88c1ec2590d280745daa6c8b3aa9a719f5d96e72
This commit is contained in:
Sagi Shnaidman 2021-09-01 00:25:11 +03:00 committed by Dmitry Tantsur
parent f21e6dddfc
commit 09dcdedf00
4 changed files with 46 additions and 27 deletions

View File

@ -1,17 +1,22 @@
{ {
"release": { "release": {
"rhel": { "rhel": {
"8": { "7": {
"python-hardware": "python3-hardware-detect" "python-hardware": "python-hardware"
} }
}, },
"centos": { "centos": {
"8": { "7": {
"python-hardware": "python3-hardware-detect"
}
}
},
"default": {
"python-hardware": "python-hardware" "python-hardware": "python-hardware"
} }
} }
},
"family": {
"redhat": {
"python-hardware": "python3-hardware-detect"
}
},
"default": {
"python-hardware": "python3-hardware"
}
}

View File

@ -1,41 +1,30 @@
{ {
"release": { "release": {
"rhel": { "rhel": {
"8": { "7": {
"tgt": "target-restore", "python": "python",
"python": "python3", "python-dev": "python-devel",
"python-dev": "python3-devel" "tgt": "scsi-target-utils"
} }
}, },
"centos": { "centos": {
"8": { "7": {
"tgt": "target-restore", "python": "python",
"python": "python3", "python-dev": "python-devel",
"python-dev": "python3-devel" "tgt": "scsi-target-utils"
}
},
"ubuntu": {
"bionic": {
"python": "python3",
"python-dev": "python3-dev"
} }
} }
}, },
"family": { "family": {
"redhat": { "redhat": {
"tgt": "scsi-target-utils",
"libffi-dev": "libffi-devel", "libffi-dev": "libffi-devel",
"libssl-dev": "openssl-devel", "libssl-dev": "openssl-devel",
"python-dev": "python3-devel",
"qemu-utils": "qemu-img", "qemu-utils": "qemu-img",
"python-dev": "python-devel" "tgt": "target-restore"
},
"debian": {
"python": "python3",
"python-dev": "python3-dev"
}, },
"suse": { "suse": {
"qemu-utils": "qemu", "qemu-utils": "qemu",
"python": "python3",
"genisoimage": "mkisofs", "genisoimage": "mkisofs",
"gdisk": "gptfdisk", "gdisk": "gptfdisk",
"libffi-dev": "libffi-devel", "libffi-dev": "libffi-devel",
@ -46,6 +35,8 @@
} }
}, },
"default": { "default": {
"ironic-python-agent": "openstack-ironic-python-agent" "ironic-python-agent": "openstack-ironic-python-agent",
"python": "python3",
"python-dev": "python3-dev"
} }
} }

View File

@ -112,6 +112,23 @@
vars: vars:
extra_elements: ["extra-hardware"] extra_elements: ["extra-hardware"]
- job:
name: ironic-python-agent-check-image-dib-centos9
parent: ironic-python-agent-check-image-base
required-projects:
- openstack/diskimage-builder
vars:
image_type: 'dib'
image_distro: 'centos'
image_release: '9-stream'
image_target_name: centos9
- job:
name: ironic-python-agent-check-image-dib-centos9-extra
parent: ironic-python-agent-check-image-dib-centos9
vars:
extra_elements: ["extra-hardware"]
- job: - job:
name: ironic-python-agent-check-image-dib-opensuse name: ironic-python-agent-check-image-dib-opensuse
parent: ironic-python-agent-check-image-base parent: ironic-python-agent-check-image-base

View File

@ -49,3 +49,9 @@
branches: master branches: master
- ironic-python-agent-build-image-dib-debian: - ironic-python-agent-build-image-dib-debian:
branches: master branches: master
experimental:
jobs:
- ironic-python-agent-check-image-dib-centos9:
voting: false
- ironic-python-agent-check-image-dib-centos9-extra:
voting: false