Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests/pushpull: Work around podman/skopeo interaction bug #1109

Merged
merged 1 commit into from
Feb 12, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/booted/test-image-pushpull-upgrade.nu
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ def initial_build [] {
let td = mktemp -d
cd $td

# Work around https://github.com/containers/bootc/pull/1101#issuecomment-2653862974
# Basically things break unless "podman" initializes the c/storage instance right now.
podman images -q o>/dev/null

bootc image copy-to-storage
let img = podman image inspect localhost/bootc | from json

Expand Down
3 changes: 3 additions & 0 deletions tests/booted/test-logically-bound-switch.nu
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ let st = bootc status --json | from json
let booted = $st.status.booted.image

def initial_setup [] {
# Work around https://github.com/containers/bootc/pull/1101#issuecomment-2653862974
# Basically things break unless "podman" initializes the c/storage instance right now.
podman images -q o>/dev/null
bootc image copy-to-storage
podman images
podman image inspect localhost/bootc | from json
Expand Down