Skip to content

Start using pipelines names in rules

Marcel Amirault requested to merge simplify-pipeline-rules-3 into main

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 single if: 'DOCS_PROJECT_PIPELINE_TYPE =~ "^MR pipeline.*"' rule for .rules_dev that covers all three types of MR pipelines.

Related issues

Edited by Achilleas Pipinellis

Merge request reports