ci: fix worker container list — match current infra (5 containers)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Pipeline #47 was the first green build since the infra was simplified
on 2026-05-22 (commit 66ca8b9e in infra), which removed news-fetcher,
sentiment-analyzer, trade-executor and added meet-kevin-watcher; a
later commit added kevin-signal-bridge for Phase 1. The .woodpecker.yml
patch list was never updated, so update-deployment added 3 stale
containers to the running pod (news-fetcher, sentiment-analyzer,
trade-executor) — sentiment + trade-executor crash on port 8000 since
news-fetcher binds it first.

Update the strategic-merge patch to match infra exactly:
  - signal-generator
  - learning-engine
  - market-data
  - meet-kevin-watcher    (was unmanaged → image stuck on :latest)
  - kevin-signal-bridge   (was unmanaged → image stuck on :latest)

Strategic merge doesn't remove containers not in the patch, so the 3
stale containers in the live deployment will be cleaned up by a
follow-up terragrunt apply on infra/stacks/trading-bot.
This commit is contained in:
Viktor Barzin 2026-05-26 20:13:55 +00:00
parent bc479802db
commit fdc2a60257

View file

@ -85,7 +85,7 @@ steps:
}
}" | jq '{name: .metadata.name, generation: .metadata.generation}'
# --- trading-bot-workers: 6 containers ---
# --- trading-bot-workers: 5 containers (matches infra/stacks/trading-bot/main.tf) ---
echo "Patching trading-bot-workers..."
curl -sf -X PATCH "$$API/trading-bot-workers" \
-H "Authorization: Bearer $$TOKEN" \
@ -96,12 +96,11 @@ steps:
\"template\":{
\"metadata\":{\"annotations\":{\"kubectl.kubernetes.io/restartedAt\":\"$$RESTART_AT\"}},
\"spec\":{\"containers\":[
{\"name\":\"news-fetcher\",\"image\":\"$$SERVICE_IMAGE\"},
{\"name\":\"sentiment-analyzer\",\"image\":\"$$SERVICE_IMAGE\"},
{\"name\":\"signal-generator\",\"image\":\"$$SERVICE_IMAGE\"},
{\"name\":\"trade-executor\",\"image\":\"$$SERVICE_IMAGE\"},
{\"name\":\"learning-engine\",\"image\":\"$$SERVICE_IMAGE\"},
{\"name\":\"market-data\",\"image\":\"$$SERVICE_IMAGE\"}
{\"name\":\"market-data\",\"image\":\"$$SERVICE_IMAGE\"},
{\"name\":\"meet-kevin-watcher\",\"image\":\"$$SERVICE_IMAGE\"},
{\"name\":\"kevin-signal-bridge\",\"image\":\"$$SERVICE_IMAGE\"}
]}
}
}