From fdc2a602573c418e83bbcfa5fa42abfec47da834 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Tue, 26 May 2026 20:13:55 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20fix=20worker=20container=20list=20?= =?UTF-8?q?=E2=80=94=20match=20current=20infra=20(5=20containers)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- .woodpecker.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index a7e9d1b..d74a61c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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\"} ]} } }