Skip to content

Commit 98201fe

Browse files
committed
test: add centos stream 10 rpm build and e2e test
Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent 9e7bce8 commit 98201fe

File tree

4 files changed

+21
-11
lines changed

4 files changed

+21
-11
lines changed

.packit.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ jobs:
4444
- centos-stream-9-aarch64
4545
- centos-stream-9-ppc64le
4646
- centos-stream-9-s390x
47+
- centos-stream-10-x86_64
48+
- centos-stream-10-aarch64
49+
- centos-stream-10-ppc64le
50+
- centos-stream-10-s390x
4751
- fedora-40-x86_64
4852
- fedora-40-aarch64
4953
- fedora-40-ppc64le
@@ -65,20 +69,24 @@ jobs:
6569
skip_build: true
6670
identifier: integration-test
6771

72+
# To avoid https://issues.redhat.com/browse/TFT-2691
73+
# x86_64 tf runner is not enough now
6874
- job: tests
6975
trigger: pull_request
7076
targets:
7177
- centos-stream-9-x86_64
7278
- centos-stream-9-aarch64
79+
- centos-stream-10-aarch64
7380
- fedora-40-x86_64
7481
tmt_plan: /to-existing-root
7582
identifier: e2e-test-to-existing-root
7683

7784
- job: tests
7885
trigger: pull_request
7986
targets:
80-
- centos-stream-9-x86_64
8187
- centos-stream-9-aarch64
88+
- centos-stream-10-x86_64
89+
- centos-stream-10-aarch64
8290
- fedora-40-aarch64
8391
tmt_plan: /to-disk
8492
identifier: e2e-test-to-disk

plans/e2e.fmf

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ adjust:
1111
virtualization:
1212
is-supported: true
1313
prepare:
14-
- how: shell
15-
script: |
16-
source /etc/os-release
17-
if [[ "$ID" == "centos" ]]; then
18-
# EPEL for genisoimage
19-
dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
20-
fi
2114
- how: install
2215
package:
2316
- ansible-core
@@ -30,7 +23,7 @@ prepare:
3023
- qemu-kvm
3124
- libvirt
3225
- virt-install
33-
- genisoimage
26+
- xorriso
3427
- how: shell
3528
script: ansible-galaxy collection install https://ansible-collection.s3.amazonaws.com/ansible-posix-1.5.4.tar.gz https://ansible-collection.s3.amazonaws.com/community-general-8.5.0.tar.gz
3629
execute:

tests/e2e/bootc-install.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,18 @@ source /etc/os-release
4141
case ""${ID}-${VERSION_ID}"" in
4242
"centos-9")
4343
TEST_OS="centos-stream-9"
44-
TIER1_IMAGE_URL="quay.io/centos-bootc/centos-bootc-dev:stream9"
44+
TIER1_IMAGE_URL="quay.io/centos-bootc/centos-bootc:stream9"
4545
SSH_USER="cloud-user"
4646
REDHAT_VERSION_ID="9"
4747
BOOT_ARGS="uefi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no"
4848
;;
49+
"centos-10")
50+
TEST_OS="centos-stream-10"
51+
TIER1_IMAGE_URL="quay.io/centos-bootc/centos-bootc:stream10"
52+
SSH_USER="cloud-user"
53+
REDHAT_VERSION_ID="10"
54+
BOOT_ARGS="uefi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no"
55+
;;
4956
"fedora-"*)
5057
TEST_OS="fedora-${VERSION_ID}"
5158
TIER1_IMAGE_URL="quay.io/fedora/fedora-bootc:${VERSION_ID}"

tests/e2e/playbooks/deploy-libvirt.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
boot_args: ""
1515
os_variant:
1616
centos-stream-9: centos-stream9
17+
centos-stream-10: centos-stream9
1718
fedora-40: fedora-unknown
1819
fedora-41: fedora-unknown
1920

@@ -116,7 +117,8 @@
116117
# Then the --cloud-init will be dropped when start after system reset
117118
- name: Generate seed.iso for NoCloud cloud-init
118119
command: |
119-
genisoimage -output "{{ image_path }}/seed.iso" \
120+
xorriso -as mkisofs -input-charset utf8 \
121+
-o "{{ image_path }}/seed.iso" \
120122
-volid cidata \
121123
-joliet \
122124
-rock \

0 commit comments

Comments
 (0)