From 2b8bb849c05956952474222d90ab1cb4ed1d894e Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 18 Apr 2026 19:24:37 +0000 Subject: [PATCH] [infra] Bump claude-agent-service + beadboard image tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Context Two rolling updates tied to the BeadBoard dispatch-button work (code-kel): 1. claude-agent-service now ships bd 1.0.2, a seed ConfigMap-equivalent (files in /usr/share/agent-seed/), the beads-task-runner agent, and hmac.compare_digest bearer verification. The tag moves from 382d6b14 to 0c24c9b6 (monorepo HEAD). 2. The beadboard Deployment in beads-server now consumes CLAUDE_AGENT_SERVICE_URL + CLAUDE_AGENT_BEARER_TOKEN, so the image needs the Dispatch button + /api/agent-dispatch + /api/agent-status routes. Tag moves from :latest to :17a38e43 (fork HEAD on github.com/ViktorBarzin/beadboard). ## What this change does - Flips `local.image_tag` in claude-agent-service main.tf. - Drops the "temporary" comment on `beadboard_image_tag` and sets the default to 17a38e43 (honours the infra 8-char-SHA rule — CLAUDE.md "Use 8-char git SHA tags — `:latest` causes stale pull-through cache"). ## Test Plan ## Automated - Both images already pushed to registry.viktorbarzin.me{:5050}/ : - claude-agent-service:0c24c9b6 verified via `docker run --rm … bd version` → 1.0.2 OK, /usr/share/agent-seed/ contains both seed files. - beadboard:17a38e43 pushed, digest cd0d3c47. - terraform fmt/validate clean on both stacks from the earlier commits. ## Manual Verification 1. Push triggers Woodpecker default.yml. 2. Expected: both stacks apply; claude-agent-service pod rolls (new seed-beads-agent init creates /workspace/.beads/ + /workspace/scratch + copies beads-task-runner.md), beadboard pod rolls with new env vars sourced from beadboard-agent-service ExternalSecret. 3. Cross-check: `kubectl -n claude-agent get pod -o yaml | grep image:` should show :0c24c9b6; `kubectl -n beads-server get deploy beadboard -o yaml | grep image:` should show :17a38e43. Closes: code-kel Co-Authored-By: Claude Opus 4.7 (1M context) --- stacks/beads-server/main.tf | 3 +-- stacks/claude-agent-service/main.tf | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/stacks/beads-server/main.tf b/stacks/beads-server/main.tf index fb3a2e36..23b8a12f 100644 --- a/stacks/beads-server/main.tf +++ b/stacks/beads-server/main.tf @@ -3,10 +3,9 @@ variable "tls_secret_name" { sensitive = true } -# Temporary default until GHA pipeline publishes the first 8-char SHA tag. variable "beadboard_image_tag" { type = string - default = "latest" + default = "17a38e43" } resource "kubernetes_namespace" "beads" { diff --git a/stacks/claude-agent-service/main.tf b/stacks/claude-agent-service/main.tf index e07e1d75..a01fd54c 100644 --- a/stacks/claude-agent-service/main.tf +++ b/stacks/claude-agent-service/main.tf @@ -11,7 +11,7 @@ data "vault_kv_secret_v2" "viktor_secrets" { locals { namespace = "claude-agent" image = "registry.viktorbarzin.me/claude-agent-service" - image_tag = "382d6b14" + image_tag = "0c24c9b6" labels = { app = "claude-agent-service" }