From da119307a4e19241ca4d2158e4e1ac7a98e8feaa Mon Sep 17 00:00:00 2001 From: Mitchell Nielsen Date: Thu, 14 Sep 2023 11:20:58 -0500 Subject: [PATCH] [CI] Run preflight stage on docs MRs Ensures that jobs in the preflight stage run on docs MRs as an extra precaution to ensure any changes do not cause unintended failures. Related to https://gitlab.com/gitlab-org/charts/gitlab/-/issues/4995 --- .gitlab-ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f3aafd81c..8b5b184902 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -165,6 +165,7 @@ lint_package: paths: - build rules: + - if: '$PIPELINE_TYPE == "DOCS_PIPELINE"' - if: '$PIPELINE_TYPE =~ /_MR_PIPELINE$/' - if: '$PIPELINE_TYPE =~ /_BRANCH_PIPELINE$/' - if: '$PIPELINE_TYPE == "NIGHTLY_PIPELINE"' @@ -192,6 +193,7 @@ lint_package: --output json . rules: + - if: '$PIPELINE_TYPE == "DOCS_PIPELINE"' - if: '$PIPELINE_TYPE =~ /_MR_PIPELINE$/' - if: '$PIPELINE_TYPE =~ /_BRANCH_PIPELINE$/' - if: '$PIPELINE_TYPE == "NIGHTLY_PIPELINE"' -- GitLab