From 798b0255808ea7cc18c483a0db649853897616ba Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Thu, 11 Jun 2026 19:08:23 +0000 Subject: [PATCH] tts+kyverno: non-merge apply trigger (merge-commit diff hid stacks/tts from the stack detector) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Woodpecker default pipeline selects stacks via git diff HEAD~1 HEAD; on a merge commit that is the first-parent diff, which contained only the concurrently-landed files — stacks/tts never got applied (namespace still absent) and the kyverno re-trigger push got no pipeline at all. Single non-merge commit touching both stacks so the detector sees them; the sorted loop applies kyverno before tts, the order tripit#26 requires. Co-Authored-By: Claude Fable 5 --- stacks/kyverno/modules/kyverno/resource-governance.tf | 2 ++ stacks/tts/main.tf | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/stacks/kyverno/modules/kyverno/resource-governance.tf b/stacks/kyverno/modules/kyverno/resource-governance.tf index c9f05808..eaa5891c 100644 --- a/stacks/kyverno/modules/kyverno/resource-governance.tf +++ b/stacks/kyverno/modules/kyverno/resource-governance.tf @@ -1174,3 +1174,5 @@ resource "kubectl_manifest" "mutate_strip_cpu_limits" { # Apply re-trigger 2026-06-11: 87702bdc landed with [ci skip], so this stack was # never CI-applied; tripit#26 (tour-guide redo) needs the tts GPU-priority # exclusion live before the tts stack applies. No functional change in this commit. + +# (See stacks/tts/main.tf — same apply-trigger note, tripit#26.) diff --git a/stacks/tts/main.tf b/stacks/tts/main.tf index 72f97b88..609e49b1 100644 --- a/stacks/tts/main.tf +++ b/stacks/tts/main.tf @@ -478,3 +478,7 @@ resource "kubernetes_cron_job_v1" "offpeak" { ignore_changes = [spec[0].job_template[0].spec[0].template[0].spec[0].dns_config] } } + +# Apply trigger 2026-06-11 (tripit#26): the previous push was a merge commit, so +# the changed-stack detector (git diff HEAD~1 HEAD = first-parent diff) missed +# stacks/tts entirely. Non-merge commit so the diff names this stack.