Skip to content

Commit d3d33dd

Browse files
committed
test: add fedora rawhide e2e test
Signed-off-by: Xiaofeng Wang <[email protected]>
1 parent 98b62ff commit d3d33dd

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

.packit.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- centos-stream-10-x86_64
4242
- fedora-40-x86_64
4343
- fedora-40-aarch64
44-
- fedora-41-x86_64
45-
- fedora-41-aarch64
44+
- fedora-rawhide-x86_64
45+
- fedora-rawhide-aarch64
4646
- rhel-9-x86_64
4747
- rhel-9-aarch64
4848

@@ -61,7 +61,7 @@ jobs:
6161
- centos-stream-9-x86_64
6262
- centos-stream-9-aarch64
6363
- fedora-40-x86_64
64-
- fedora-41-aarch64
64+
- fedora-rawhide-aarch64
6565
tmt_plan: /to-existing-root
6666
identifier: e2e-test-to-existing-root
6767

@@ -71,6 +71,6 @@ jobs:
7171
- centos-stream-9-x86_64
7272
- centos-stream-9-aarch64
7373
- fedora-40-aarch64
74-
- fedora-41-x86_64
74+
- fedora-rawhide-x86_64
7575
tmt_plan: /to-disk
7676
identifier: e2e-test-to-disk

tests/e2e/bootc-install.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,12 @@ TEST_IMAGE_URL="${REGISTRY_IP}:${REGISTRY_PORT}/${TEST_IMAGE_NAME}:${QUAY_REPO_T
9797
echo "$PACKIT_COPR_PROJECT and $PACKIT_COPR_RPMS"
9898

9999
# Generate bootc copr repo file
100-
sed "s|REPLACE_COPR_PROJECT|${PACKIT_COPR_PROJECT}|; s|REPLACE_TEST_OS|${TEST_OS}|" files/bootc.repo.template | tee "${TEMPDIR}"/bootc.repo > /dev/null
100+
if [[ "$VERSION_ID" == 41 ]]; then
101+
REPLACE_TEST_OS="rawhide"
102+
else
103+
REPLACE_TEST_OS="$TEST_OS"
104+
fi
105+
sed "s|REPLACE_COPR_PROJECT|${PACKIT_COPR_PROJECT}|; s|REPLACE_TEST_OS|${REPLACE_TEST_OS}|" files/bootc.repo.template | tee "${TEMPDIR}"/bootc.repo > /dev/null
101106

102107
# Configure continerfile
103108
greenprint "Create $TEST_OS installation Containerfile"

0 commit comments

Comments
 (0)