From 537828483de7daa578db575a94346cfbd3b0ae08 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 23 Jan 2026 20:36:39 -0500 Subject: [PATCH] gitlab-ci: configure development documentation and continuous pipelines Use the default cancellation policy so that continuous pipelines that have started can finish. --- .gitlab/rules.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab/rules.yml b/.gitlab/rules.yml index 8fbf96c998..b0ac9a65e1 100644 --- a/.gitlab/rules.yml +++ b/.gitlab/rules.yml @@ -68,6 +68,16 @@ workflow: on_new_commit: none variables: CMAKE_CI_PIPELINE_NAME: 'Schedule "$CI_PIPELINE_SCHEDULE_DESCRIPTION"' + # Run for development documentation. + - if: '$CMAKE_CI_PROJECT_MAIN_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_MAIN_BRANCH == $CI_COMMIT_BRANCH' + when: always + variables: + CMAKE_CI_PIPELINE_NAME: 'Development documentation on branch "$CI_COMMIT_REF_NAME"' + # Run for continuous testing of staging branch. + - if: '$CMAKE_CI_PROJECT_CONTINUOUS_BRANCH != null && $CI_COMMIT_BRANCH != null && $CMAKE_CI_PROJECT_CONTINUOUS_BRANCH == $CI_COMMIT_BRANCH' + when: always + variables: + CMAKE_CI_PIPELINE_NAME: 'Continuous branch "$CI_COMMIT_REF_NAME"' # Run for protected branches. - if: '$CI_COMMIT_REF_PROTECTED == "true"' when: always