Skip to content

Commit d220d98

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 00063f0 commit d220d98

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set -euo pipefail
88
mkdir -p /var/tmp
99

1010
sysroot=/run/host
11+
repo="${sysroot}/ostree/repo"
1112
# Current stable image fixture
1213
image=quay.io/fedora/fedora-coreos:testing-devel
1314
imgref=ostree-unverified-registry:${image}
@@ -111,10 +112,6 @@ derived_img_dir=dir:/var/tmp/derived.dir
111112
systemd-run -dP --wait skopeo copy containers-storage:localhost/fcos-derived "${derived_img}"
112113
systemd-run -dP --wait skopeo copy "${derived_img}" "${derived_img_dir}"
113114

114-
# Prune to reset state
115-
ostree refs ostree/container/image --delete
116-
117-
repo="${sysroot}/ostree/repo"
118115
images=$(ostree container image list --repo "${repo}" | wc -l)
119116
test "${images}" -eq 1
120117
ostree container image deploy --sysroot "${sysroot}" \

0 commit comments

Comments
 (0)