ci: tag linter and sanity check jobs as a "placeholder" jobs

They hardly use any resources and almost finish immediately.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1420>
This commit is contained in:
Sebastian Dröge 2024-04-09 09:09:37 +03:00
parent 0524435190
commit da1f53f4c7

View file

@ -73,6 +73,7 @@ trigger:
stage: 'trigger' stage: 'trigger'
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
tags: [ 'placeholder-job' ]
script: script:
- echo "Trigger job done, now running the pipeline." - echo "Trigger job done, now running the pipeline."
rules: rules:
@ -312,6 +313,7 @@ test nightly sys:
rustfmt: rustfmt:
extends: .img-stable extends: .img-stable
stage: "lint" stage: "lint"
tags: [ 'placeholder-job' ]
script: script:
- cargo fmt --version - cargo fmt --version
- cargo fmt -- --color=always --check - cargo fmt -- --color=always --check
@ -322,6 +324,7 @@ rustfmt:
check commits: check commits:
extends: .img-stable extends: .img-stable
stage: "lint" stage: "lint"
tags: [ 'placeholder-job' ]
script: script:
- ci-fairy check-commits --textwidth 0 --no-signed-off-by - ci-fairy check-commits --textwidth 0 --no-signed-off-by
needs: needs:
@ -331,6 +334,7 @@ check commits:
typos: typos:
extends: .img-stable extends: .img-stable
stage: "lint" stage: "lint"
tags: [ 'placeholder-job' ]
script: script:
- typos - typos
needs: needs:
@ -367,6 +371,7 @@ gir-checks:
GIT_SUBMODULE_STRATEGY: recursive GIT_SUBMODULE_STRATEGY: recursive
extends: .img-stable extends: .img-stable
stage: 'extras' stage: 'extras'
tags: [ 'placeholder-job' ]
needs: needs:
- job: 'build-stable' - job: 'build-stable'
artifacts: false artifacts: false