Skip to content

Commit dadbea1

Browse files
Copilotcgwalters
andauthored
tests: avoid docker hub busybox pulls in readonly tmt cases
Agent-Logs-Url: https://github.com/bootc-dev/bootc/sessions/922a86aa-023b-4d6a-9af6-766b564e1179 Co-authored-by: cgwalters <244096+cgwalters@users.noreply.github.com>
1 parent eedfdf1 commit dadbea1

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

tmt/tests/booted/readonly/010-test-bootc-container-store.nu

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ if not $has_storage {
3333
# And verify this works
3434
bootc image cmd list -q o>/dev/null
3535

36-
bootc image cmd pull busybox
37-
podman --storage-opt=additionalimagestore=/usr/lib/bootc/storage image exists busybox
36+
let public_test_image = "quay.io/libpod/busybox:latest"
37+
bootc image cmd pull $public_test_image
38+
podman --storage-opt=additionalimagestore=/usr/lib/bootc/storage image exists $public_test_image
3839

3940
# Images in bootc storage should be listed with type "unified"
4041
let images = bootc image list --format json | from json

tmt/tests/booted/readonly/030-test-composefs.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ if $is_composefs {
5656
# we can't get from `bootc internals cfs ...`
5757
mkdir /var/tmp/sysroot/composefs
5858
bootc internals cfs --insecure --repo /var/tmp/sysroot/composefs init
59-
bootc internals cfs --insecure --repo /var/tmp/sysroot/composefs oci pull docker://busybox busybox
59+
bootc internals cfs --insecure --repo /var/tmp/sysroot/composefs oci pull docker://quay.io/libpod/busybox:latest busybox
6060
test -L /var/tmp/sysroot/composefs/streams/refs/oci/busybox
6161
}
6262

0 commit comments

Comments
 (0)