From 00d0ea4b2e73508ac89cdf6fa679489e67e1316a Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Sat, 28 Feb 2026 21:37:13 +0100 Subject: [PATCH] fix(ci): add infra/** to deploy job change rules Deploy job now triggers on infra/k8s/** and .gitlab-ci.yml changes, not just source code changes. Ensures K8s manifest updates get applied. Co-Authored-By: Claude Opus 4.6 --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5aa1dd2e6..51ff401d1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1383,7 +1383,7 @@ deploy: - job: write-manifest optional: true rules: - # Only deploy when source code changed (compile produced new binaries) + # Deploy when source code or infra manifests changed - if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push" changes: - crates/** @@ -1391,6 +1391,8 @@ deploy: - services/** - Cargo.toml - Cargo.lock + - infra/k8s/** + - .gitlab-ci.yml - if: $CI_PIPELINE_SOURCE == "web" || $CI_PIPELINE_SOURCE == "api" before_script: # Install kubectl if not in image yet (removed once infra-runner is rebuilt)