From c328e3eb3a16d9664c1647521d83efbf42e0d19c Mon Sep 17 00:00:00 2001 From: jgrusewski Date: Sat, 28 Feb 2026 00:20:08 +0100 Subject: [PATCH] fix(ci): make infra-plan dependency optional for API/web pipelines infra-apply needs infra-plan, but infra-plan only runs when infra/** changes. API/web-triggered pipelines fail to create because the dependency doesn't exist. Adding optional: true allows infra-apply to run without infra-plan for manual triggers. Co-Authored-By: Claude Opus 4.6 --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b095bbf60..4fc975e79 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1197,6 +1197,7 @@ infra-apply: - docker needs: - job: infra-plan + optional: true rules: - if: $CI_COMMIT_BRANCH == "main" && $CI_PIPELINE_SOURCE == "push" changes: