From b3c16315974735da8348fbf9f9a2023b57cf4f2f Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Mon, 11 May 2026 19:26:55 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20add=20python3=20to=20infra-ci=20image=20?= =?UTF-8?q?=E2=80=94=20unblocks=20scripts/tg=20auth-comment=20check?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Commit 0712a1b6 added a Python-based ingress_factory auth-comment check that runs from scripts/tg on every plan/apply. The CI image (forgejo.viktorbarzin.me/viktor/infra-ci) doesn't ship python3, so every CI apply has been failing since with: env: can't execute 'python3': No such file or directory Adding python3 to the apk install line restores CI applies for all stacks. The build-ci-image.yml pipeline auto-fires on this commit (path filter on ci/Dockerfile), so the rebuild + retag happens without manual action. --- ci/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/Dockerfile b/ci/Dockerfile index 2a02b586..f9ab2e1b 100644 --- a/ci/Dockerfile +++ b/ci/Dockerfile @@ -8,8 +8,10 @@ ARG KUBECTL_VERSION=1.34.0 ARG VAULT_VERSION=1.18.1 # Install system packages (single layer) +# python3: required by scripts/check-ingress-auth-comments.py, invoked +# by scripts/tg before every plan/apply. RUN apk add --no-cache \ - bash curl git git-crypt jq openssh-client openssl unzip \ + bash curl git git-crypt jq openssh-client openssl python3 unzip \ && rm -rf /var/cache/apk/* # Terraform