Verified Commit a359c4c7 authored by Adrian Pascu's avatar Adrian Pascu
Browse files

Run every CI job untagged so any runner can pick it up

parent afec12eb
Loading
Loading
Loading
Loading
Loading
+0 −8
Changes for .gitlab-ci.yml: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -2,13 +2,9 @@ stages:
  - Build
  - Deploy

variables:
  RUNNER_WAIT: ""

default:
  interruptible: true
  timeout: 10m
  tags: [$RUNNER_WAIT]
  retry:
    max: 2
    when:
@@ -20,11 +16,7 @@ workflow:
    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"