Having pipeline:run-all-rspec or change to startup-css-patterns can cause invalid CI YAML
Found in !102748 (merged)
When happened, pipeline can fail with the following error:
Found errors in your .gitlab-ci.yml:
'compile-storybook as-if-foss' job needs 'graphql-schema-dump as-if-foss' job, but 'graphql-schema-dump as-if-foss' is not in any previous stage
You can also test your .gitlab-ci.yml in CI Lint
e.g.: https://gitlab.com/gitlab-org/gitlab/-/pipelines/683454900#/
Causes:
- Changes happen in
startup-css-patterns
, or - We have pipeline:run-all-rspec and there's no changes match
frontend-patterns-for-as-if-foss
, or - Security merge requests changing
code-backstage-patterns
without changingfrontend-patterns-for-as-if-foss
.
Edited by Lin Jen-Shin