kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

commit dfc469bfd5b8989da32e1941ac3f7bfe6af84310
parent 2d12f3145b87e3617dd72fc0ddac2be6e357010a
Author: Ryan Sepassi <rsepassi@gmail.com>
Date:   Thu, 21 May 2026 10:30:16 -0700

test run.sh ensure podman never pulls

Diffstat:
Mtest/lib/exec_target.sh | 4++--
Mtest/libc/glibc/run.sh | 2+-
Mtest/libc/musl/run.sh | 2+-
3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/lib/exec_target.sh b/test/lib/exec_target.sh @@ -211,7 +211,7 @@ exec_target_run() { if ! _exec_target_podman_native "$tag"; then platform_flag=(--platform "$platform") fi - podman run --rm "${platform_flag[@]}" --net=none \ + podman run --rm --pull=never "${platform_flag[@]}" --net=none \ -v "$dir":/work:Z -w /work \ "$image" "./$base" \ >"$out" 2>"$err" @@ -299,7 +299,7 @@ _exec_target_flush_tag() { "${EXEC_TARGET_ERRS[$k]}" \ "${EXEC_TARGET_RCS[$k]}" done - } | podman run -i --rm "${platform_flag[@]}" --net=none \ + } | podman run -i --rm --pull=never "${platform_flag[@]}" --net=none \ -v "$EXEC_TARGET_MOUNT_ROOT":"$EXEC_TARGET_MOUNT_ROOT":Z \ "$image" \ /bin/sh -c ' diff --git a/test/libc/glibc/run.sh b/test/libc/glibc/run.sh @@ -112,7 +112,7 @@ run_aarch64() { # arm64v8/debian:bookworm-slim ships the matching glibc # loader, so the dynamic variant resolves PT_INTERP without # extra mounts. - podman run --rm --net=none \ + podman run --rm --pull=never --net=none \ -v "$dir":/work:Z -w /work \ docker.io/arm64v8/debian:bookworm-slim "./$base" \ >"$out" 2>"$err" diff --git a/test/libc/musl/run.sh b/test/libc/musl/run.sh @@ -93,7 +93,7 @@ run_aarch64() { # --platform, which would force a registry manifest lookup on every # run. arm64v8/alpine ships the musl loader at /lib/ld-musl-aarch64.so.1 # so the dynamic variant resolves PT_INTERP without extra mounts. - podman run --rm --net=none \ + podman run --rm --pull=never --net=none \ -v "$dir":/work:Z -w /work \ docker.io/arm64v8/alpine:latest "./$base" \ >"$out" 2>"$err"