Skip to content

Commit

Permalink
tests/container-image: Use --compression-fast
Browse files Browse the repository at this point in the history
What we really want is ostreedev/ostree-rs-ext#153
to support pushing/pulling directly from `containers-storage`, but
in the short term this should improve CI times.
  • Loading branch information
cgwalters committed Aug 4, 2022
1 parent a4dc8f8 commit 2d4df30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/kolainst/destructive/container-image
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ case "${AUTOPKGTEST_REBOOT_MARK:-}" in
ostree refs ${with_foo_commit} --create vmcheck_tmp/new_update
new_commit=$(ostree commit -b vmcheck --tree=ref=vmcheck_tmp/new_update)
rm "${image_dir}" -rf
ostree container encapsulate --repo=/ostree/repo ${new_commit} "$image"
ostree container encapsulate --compression-fast --repo=/ostree/repo ${new_commit} "$image"

rpm-ostree uninstall foo
rpm-ostree upgrade
Expand All @@ -104,7 +104,7 @@ case "${AUTOPKGTEST_REBOOT_MARK:-}" in

checksum=$(rpm-ostree status --json | jq -r '.deployments[0].checksum')
rm "${image_dir}" -rf
ostree container encapsulate --repo=/ostree/repo ${checksum} "${image}"
ostree container encapsulate --compression-fast --repo=/ostree/repo ${checksum} "${image}"
# https://github.com/ostreedev/ostree-rs-ext/issues/153
skopeo copy $image containers-storage:localhost/fcos
rm "${image_dir}" -rf
Expand Down

0 comments on commit 2d4df30

Please sign in to comment.