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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user