From e5f87cd415c186f30ca07940227e5703bcadd5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 9 Apr 2024 09:09:37 +0300 Subject: [PATCH] ci: tag linter and sanity check jobs as a "placeholder" jobs They hardly use any resources and almost finish immediately. Part-of: --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8ea3b81ea..58244b270 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,6 +73,7 @@ trigger: stage: 'trigger' variables: GIT_STRATEGY: none + tags: [ 'placeholder-job' ] script: - echo "Trigger job done, now running the pipeline." rules: @@ -311,6 +312,7 @@ test nightly sys: rustfmt: extends: .img-stable stage: "lint" + tags: [ 'placeholder-job' ] script: - cargo fmt --version - cargo fmt -- --color=always --check @@ -321,6 +323,7 @@ rustfmt: check commits: extends: .img-stable stage: "lint" + tags: [ 'placeholder-job' ] script: - ci-fairy check-commits --textwidth 0 --no-signed-off-by needs: @@ -330,6 +333,7 @@ check commits: typos: extends: .img-stable stage: "lint" + tags: [ 'placeholder-job' ] script: - typos needs: @@ -366,6 +370,7 @@ gir-checks: GIT_SUBMODULE_STRATEGY: recursive extends: .img-stable stage: 'extras' + tags: [ 'placeholder-job' ] needs: - job: 'build-stable' artifacts: false