Consider new pipeline rule syntax
Rule formats are changing with https://gitlab.com/gitlab-org/gitlab-ee/issues/27863 in 12.3. We should consider piloting these in an iterative fashion (similar to DAG) in the GitLab pipeline
That should also fix gitlab-com/gl-infra/delivery#542 (closed).
Plan
We'll implement the rules
keyword incrementally where this makes the most sense first, and also to get to learn this new feature first.
- Merge
package-and-qa
andpackage-and-qa-manual
into a singlepackage-and-qa
job usingrules
: !21945 (merged) - Merge
schedule:package-and-qa
andpackage-and-qa
into a singlepackage-and-qa
job usingrules
: !22357 (merged) - Use
rules
for theqa-frontend-node:*
jobs (and make them run onmaster
only) and thewebpack-dev-server
job: !22538 (merged) - Use
rules
for thegitlab:assets:compile *
andcompile-assets *
jobs: !23351 (merged) - Use
rules
for.gitlab/ci/frontend.gitlab-ci.yml
: !24061 (merged) - Use
rules
for.gitlab/ci/cache-repo.gitlab-ci.yml
: !24306 (merged) - Use
rules
for.gitlab/ci/cng.gitlab-ci.yml
: !24308 (merged) - Use
rules
for.gitlab/ci/docs.gitlab-ci.yml
: !24353 (merged) - Use
rules
for.gitlab/ci/memory.gitlab-ci.yml
: !24458 (merged) - Use
rules
for.gitlab/ci/pages.gitlab-ci.yml
: !24459 (merged) - Use
rules
for.gitlab/ci/qa.gitlab-ci.yml
: !24488 (merged) - Use
rules
for.gitlab/ci/rails.gitlab-ci.yml
: !24492 (merged) - Use
rules
for.gitlab/ci/dev-fixtures.gitlab-ci.yml
: !24492 (merged) - Use
rules
for.gitlab/ci/releases.gitlab-ci.yml
: !24616 (merged) - Use
rules
for.gitlab/ci/reports.gitlab-ci.yml
: !24624 (merged) - Use
rules
for.gitlab/ci/review.gitlab-ci.yml
: !24803 (merged) - Use
rules
for.gitlab/ci/setup.gitlab-ci.yml
: !24804 (merged) - Use
rules
for.gitlab/ci/test-metadata.gitlab-ci.yml
: !24805 (merged) - Remove duplication of YAML anchors by moving
rules
hidden jobs into shared CI config file (#202585 (closed)): !25150 (merged) - Actually make most jobs always run on
master
- #206971 (closed) - Use
rules
to make jobs that are only run inschedules
,when: manual
for MR pipelines - #206978 (closed) - Implement
dast
for schedulemaster
: https://gitlab.com/gitlab-org/gitlab/issues/31160
Edited by Kyle Wiebers