Skip to content

Commit a7ccfe3

Browse files
committed
tests: Fix incorrect prune
Now that we're building a from-scratch image it won't have `/ostree` in it; this line was always pruning the wrong repo. Signed-off-by: Colin Walters <walters@verbum.org>
1 parent 9bceb30 commit a7ccfe3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ostree-ext/ci/priv-integration.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ systemd-run -dP --wait skopeo copy containers-storage:localhost/fcos-derived "${
112112
systemd-run -dP --wait skopeo copy "${derived_img}" "${derived_img_dir}"
113113

114114
# Prune to reset state
115-
ostree refs ostree/container/image --delete
115+
ostree --repo="${repo}" refs ostree/container/image --delete
116116

117117
repo="${sysroot}/ostree/repo"
118118
images=$(ostree container image list --repo "${repo}" | wc -l)

0 commit comments

Comments
 (0)