From da1f53f4c7b7e60bca7e658bda531d9736b94311 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 73df6be6b..6994ad147 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: @@ -312,6 +313,7 @@ test nightly sys: rustfmt: extends: .img-stable stage: "lint" + tags: [ 'placeholder-job' ] script: - cargo fmt --version - cargo fmt -- --color=always --check @@ -322,6 +324,7 @@ rustfmt: check commits: extends: .img-stable stage: "lint" + tags: [ 'placeholder-job' ] script: - ci-fairy check-commits --textwidth 0 --no-signed-off-by needs: @@ -331,6 +334,7 @@ check commits: typos: extends: .img-stable stage: "lint" + tags: [ 'placeholder-job' ] script: - typos needs: @@ -367,6 +371,7 @@ gir-checks: GIT_SUBMODULE_STRATEGY: recursive extends: .img-stable stage: 'extras' + tags: [ 'placeholder-job' ] needs: - job: 'build-stable' artifacts: false