From 6768591afccddcab8903fdbd64b3755aa80cde4c Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Tue, 21 Jul 2026 02:51:15 +0200 Subject: [PATCH] refactor(dns-test): drop the redundant INFINITO_PULL_POLICY shell default parallel.sh already passes INFINITO_PULL_POLICY=always into the DinD container, so the shell-side "${INFINITO_PULL_POLICY:-always}" default is redundant and a second source of truth that contradicts default.env's INFINITO_PULL_POLICY=never. Read the value from the environment; default.env stays the single default. Co-Authored-By: Claude Opus 4.8 (1M context) --- scripts/tests/dns/inside.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/tests/dns/inside.sh b/scripts/tests/dns/inside.sh index f158a564fe..bcfd245ab5 100755 --- a/scripts/tests/dns/inside.sh +++ b/scripts/tests/dns/inside.sh @@ -3,7 +3,7 @@ # Inputs via env (set on the container by parallel.sh): # INFINITO_SRC_DIR repo path baked into the image (from the image ENV). # INFINITO_IMAGE the CI image the inner dev stack should run. -# INFINITO_PULL_POLICY compose pull policy for that image (default: always). +# INFINITO_PULL_POLICY compose pull policy for that image. # GHCR_USER, GHCR_TOKEN optional creds to pull INFINITO_IMAGE from GHCR. set -uo pipefail @@ -40,8 +40,6 @@ if [[ -n "${GHCR_TOKEN:-}" ]]; then echo "${GHCR_TOKEN}" | docker login ghcr.io -u "${GHCR_USER:?}" --password-stdin fi -export INFINITO_PULL_POLICY="${INFINITO_PULL_POLICY:-always}" - cd "${INFINITO_SRC_DIR:?}" || exit 1 make compose-up exec scripts/tests/dns.sh