Compartmentalize job rules.
commit8abef6689a50c4ce57b31866e0c32328b372bab4
authorM. Eric Irrgang <ericirrgang@gmail.com>
Tue, 26 May 2020 15:47:33 +0000 (26 18:47 +0300)
committerPaul Bauer <paul.bauer.q@gmail.com>
Tue, 9 Jun 2020 16:25:59 +0000 (9 16:25 +0000)
treef3265e3186df3771852013ebb987d7f477a7a0bd
parent05e9a6d19035cd45034bcbf74e5a951b7bfc5a9e
Compartmentalize job rules.

Separate mix-in job definitions for *rules* parameter to a separate
GitLab CI configuration file to maintain the readability of
`global.gitlab-ci.yml` as *rules* complexity increases.

Use additional YAML objects to provide short-hand symbols for *rules*
array elements to be used with YAML anchors.
This should improve the visual clarity of the unique aspects of rule
sets while providing more easily copied/pasted templates for new rule
sets.

Fixes #3538
.gitlab-ci.yml
admin/gitlab-ci/global.gitlab-ci.yml
admin/gitlab-ci/rules.gitlab-ci.yml [new file with mode: 0644]
docs/dev-manual/gitlab.rst