fix(ci): add optional:true to write-manifest needs to prevent pipeline abort

write-manifest needs compile-services and compile-training, but those
jobs use changes: rules. When a commit doesn't touch source code (e.g.
infra-only changes), those jobs don't exist in the pipeline, causing
GitLab to abort pipeline creation with 0 jobs for ALL stages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jgrusewski
2026-02-28 23:18:48 +01:00
parent a1c104718a
commit fd7d646aa6

View File

@@ -502,7 +502,9 @@ write-manifest:
image: ${RUNTIME_IMAGE}
needs:
- job: compile-services
optional: true
- job: compile-training
optional: true
- job: build-web-dashboard
optional: true
tags: