Loading .gitlab-ci.yml +10 −0 Original line number Diff line number Diff line Loading @@ -2,9 +2,13 @@ stages: - Build - Deploy variables: RUNNER_WAIT: "" default: interruptible: true timeout: 10m tags: [$RUNNER_WAIT] retry: max: 2 when: Loading @@ -15,6 +19,12 @@ workflow: auto_cancel: on_new_commit: interruptible rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_TASK == "linkcheck"' variables: RUNNER_WAIT: wait-12h - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule"' variables: RUNNER_WAIT: wait-4h - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" Loading Loading
.gitlab-ci.yml +10 −0 Original line number Diff line number Diff line Loading @@ -2,9 +2,13 @@ stages: - Build - Deploy variables: RUNNER_WAIT: "" default: interruptible: true timeout: 10m tags: [$RUNNER_WAIT] retry: max: 2 when: Loading @@ -15,6 +19,12 @@ workflow: auto_cancel: on_new_commit: interruptible rules: - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule" && $SCHEDULED_TASK == "linkcheck"' variables: RUNNER_WAIT: wait-12h - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule"' variables: RUNNER_WAIT: wait-4h - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH" Loading