Skip to content

Commit 5d4efc5

Browse files
committed
test: Use bootc image copy-to-storage
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>
1 parent 043cc79 commit 5d4efc5

2 files changed

Lines changed: 6 additions & 8 deletions

File tree

tmt/tests/booted/test-install-outside-container.nu

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,9 @@
66
use std assert
77
use tap.nu
88

9-
# In this test we install a generic image mainly because it keeps
10-
# this test in theory independent of starting from a bootc host,
11-
# but also because it's useful to test "skew" between the bootc binary
12-
# doing the install and the target image.
13-
let target_image = "docker://quay.io/centos-bootc/centos-bootc:stream9"
9+
# Copy the booted image to container storage for use as install source
10+
bootc image copy-to-storage
11+
let target_image = "containers-storage:localhost/bootc"
1412

1513
# setup filesystem
1614
mkdir /var/mnt

tmt/tests/booted/test-install-unified-flag.nu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
use std assert
1313
use tap.nu
1414

15-
# Use a generic target image to test skew between the bootc binary doing
16-
# the install and the target image
17-
let target_image = "docker://quay.io/centos-bootc/centos-bootc:stream9"
15+
# Copy the booted image to container storage for use as install source
16+
bootc image copy-to-storage
17+
let target_image = "containers-storage:localhost/bootc"
1818

1919
def main [] {
2020
tap begin "install with experimental unified storage flag"

0 commit comments

Comments
 (0)