Start using pipelines names in rules
This is a part of !3605 (closed), which was too big to review. This MR makes use of the pipeline names we added previously to make rules easier to understand, and gives a SSoT for several rules.
- Mostly a find and replace, changing all the repeated rules to standard
if: 'DOCS_PROJECT_PIPELINE_TYPE == "<pipeline type>"'
rules. - Moves the Algolia/Google variable rules into the
workflow:rules
, so we can use a singleif: 'DOCS_PROJECT_PIPELINE_TYPE =~ "^MR pipeline.*"'
rule for.rules_dev
that covers all three types of MR pipelines.
Related issues
- Related to #1324 (closed)
- Related to gitlab#389812 (closed)
Edited by Achilleas Pipinellis