mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-12-03 08:17:52 +00:00
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) <noreply@anthropic.com>
This commit is contained in:
1 parent
402b949b77
commit
6768591afc
1 file changed
+1
-3
@@ -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
|
||||
Reference in new issue
Block a user