Skip to content

Commit b469332

Browse files
authored
Merge pull request #854 from henrywang/packit_update
ci: Update Packit target to Fedora 41 from Fedora 40
2 parents 25a95da + 591179a commit b469332

File tree

3 files changed

+14
-27
lines changed

3 files changed

+14
-27
lines changed

.packit.yaml

+9-11
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- job: copr_build
3939
trigger: pull_request
4040
targets:
41-
# Primary targets are c9s and fedora:40 right now, which build
41+
# Primary targets are c9s, c10s and fedora:41 right now, which build
4242
# for all architectures
4343
- centos-stream-9-x86_64
4444
- centos-stream-9-aarch64
@@ -48,10 +48,10 @@ jobs:
4848
- centos-stream-10-aarch64
4949
- centos-stream-10-ppc64le
5050
- centos-stream-10-s390x
51-
- fedora-40-x86_64
52-
- fedora-40-aarch64
53-
- fedora-40-ppc64le
54-
- fedora-40-s390x
51+
- fedora-41-x86_64
52+
- fedora-41-aarch64
53+
- fedora-41-ppc64le
54+
- fedora-41-s390x
5555
# Sanity check on secondary targets, fewer architectures just
5656
# because the chance that we break e.g. ppc64le *just* on
5757
# rawhide is basically nil.
@@ -63,8 +63,8 @@ jobs:
6363
- job: tests
6464
trigger: pull_request
6565
targets:
66-
- fedora-40-x86_64
67-
- fedora-40-aarch64
66+
- fedora-41-x86_64
67+
- fedora-41-aarch64
6868
tmt_plan: /integration-build
6969
skip_build: true
7070
identifier: integration-test
@@ -75,18 +75,16 @@ jobs:
7575
trigger: pull_request
7676
targets:
7777
- centos-stream-9-x86_64
78-
- centos-stream-9-aarch64
7978
- centos-stream-10-aarch64
80-
- fedora-40-x86_64
79+
- fedora-41-x86_64
8180
tmt_plan: /to-existing-root
8281
identifier: e2e-test-to-existing-root
8382

8483
- job: tests
8584
trigger: pull_request
8685
targets:
8786
- centos-stream-9-aarch64
88-
- centos-stream-10-x86_64
8987
- centos-stream-10-aarch64
90-
- fedora-40-aarch64
88+
- fedora-41-aarch64
9189
tmt_plan: /to-disk
9290
identifier: e2e-test-to-disk

tests/e2e/bootc-install.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ cat "$INSTALL_CONTAINERFILE"
175175

176176
# Build test bootc image and push to local registry
177177
greenprint "Build $TEST_OS installation container image"
178-
sudo podman build --tls-verify=false --retry=5 --retry-delay=10 -t "${TEST_IMAGE_NAME}:${QUAY_REPO_TAG}" -f "$INSTALL_CONTAINERFILE" "$TEMPDIR"
178+
sudo podman build --tls-verify=false -t "${TEST_IMAGE_NAME}:${QUAY_REPO_TAG}" -f "$INSTALL_CONTAINERFILE" "$TEMPDIR"
179179

180180
greenprint "Push $TEST_OS installation container image"
181-
retry sudo podman push --tls-verify=false --quiet "${TEST_IMAGE_NAME}:${QUAY_REPO_TAG}" "$TEST_IMAGE_URL"
181+
sudo podman push --tls-verify=false --quiet "${TEST_IMAGE_NAME}:${QUAY_REPO_TAG}" "$TEST_IMAGE_URL"
182182

183183
# Prepare Ansible inventory file and ansible.cfg
184184
greenprint "Prepare inventory file"
@@ -296,14 +296,14 @@ REALEOF
296296

297297
# Build upgrade container image and push to locay registry
298298
greenprint "Build $TEST_OS upgrade container image"
299-
sudo podman build --tls-verify=false --retry=5 --retry-delay=10 -t "${TEST_IMAGE_NAME}:${QUAY_REPO_TAG}" -f "$UPGRADE_CONTAINERFILE" .
299+
sudo podman build --tls-verify=false -t "${TEST_IMAGE_NAME}:${QUAY_REPO_TAG}" -f "$UPGRADE_CONTAINERFILE" .
300300

301301
greenprint "Push $TEST_OS upgrade container image"
302-
retry sudo podman push --tls-verify=false --quiet "${TEST_IMAGE_NAME}:${QUAY_REPO_TAG}" "$TEST_IMAGE_URL"
302+
sudo podman push --tls-verify=false --quiet "${TEST_IMAGE_NAME}:${QUAY_REPO_TAG}" "$TEST_IMAGE_URL"
303303

304304
# Copy upgrade image to local folder for bootc switch test
305305
if [[ "$AIR_GAPPED_DIR" != "" ]]; then
306-
retry skopeo copy docker://"$TEST_IMAGE_URL" dir://"$AIR_GAPPED_DIR"
306+
skopeo copy docker://"$TEST_IMAGE_URL" dir://"$AIR_GAPPED_DIR"
307307
BOOTC_IMAGE="/mnt"
308308
else
309309
BOOTC_IMAGE="$TEST_IMAGE_URL"

tests/e2e/shared_lib.sh

-11
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,6 @@ function redprint {
3535
echo -e "\033[1;31m[$(date -Isecond)] ${1}\033[0m"
3636
}
3737

38-
# Retry container image pull and push
39-
function retry {
40-
n=0
41-
until [ "$n" -ge 3 ]
42-
do
43-
"$@" && break
44-
n=$((n+1))
45-
sleep 10
46-
done
47-
}
48-
4938
function deploy_libvirt_network {
5039
greenprint "Start firewalld"
5140
sudo systemctl enable --now firewalld

0 commit comments

Comments
 (0)