ci-pipeline-health: image :latest+Always — registry lost the 2fd7670d tag
All checks were successful
ci/woodpecker/push/default Pipeline was successful
ci/woodpecker/push/build-cli Pipeline was successful

The sha tag other claude-agent-service CronJobs pin no longer exists in
the Forgejo registry (node caches mask it); fresh pulls 404. Follow the
owned-app CronJob convention until infra#19 moves this image to ghcr.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Viktor Barzin 2026-06-12 20:57:55 +00:00
parent 624747cc46
commit 02785987dd

View file

@ -19,10 +19,13 @@ variable "schedule" {
default = "30 7 * * *" default = "30 7 * * *"
} }
# Mirrors stacks/claude-agent-service image tag the image ships curl + jq. # :latest + Always per the owned-app CronJob convention. NOTE: the registry
# no longer holds the sha tag the other claude-agent-service CronJobs pin
# (2fd7670d) they survive on node image caches only. When issue infra#19
# migrates claude-agent-service to ghcr, repoint this image too.
variable "image_tag" { variable "image_tag" {
type = string type = string
default = "2fd7670d" default = "latest"
} }
locals { locals {
@ -119,9 +122,10 @@ resource "kubernetes_cron_job_v1" "sweep" {
name = "registry-credentials" name = "registry-credentials"
} }
container { container {
name = "sweep" name = "sweep"
image = local.image image = local.image
command = ["/bin/sh", "/scripts/sweep.sh"] image_pull_policy = "Always"
command = ["/bin/sh", "/scripts/sweep.sh"]
env_from { env_from {
secret_ref { secret_ref {
name = "ci-pipeline-health-creds" name = "ci-pipeline-health-creds"