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/gst-plugins-rs/-/merge_requests/1536>
This commit is contained in:
Tim-Philipp Müller 2024-04-08 15:19:48 +01:00
parent 00362c5be4
commit e8b0748faa

View file

@ -50,6 +50,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:
@ -287,6 +288,7 @@ test windows stable:
rustfmt: rustfmt:
extends: '.debian:12-stable' extends: '.debian:12-stable'
stage: "lint" stage: "lint"
tags: [ 'placeholder-job' ]
needs: [] needs: []
script: script:
- cargo fmt --version - cargo fmt --version
@ -295,6 +297,7 @@ rustfmt:
typos: typos:
extends: '.debian:12-stable' extends: '.debian:12-stable'
stage: "lint" stage: "lint"
tags: [ 'placeholder-job' ]
needs: [] needs: []
script: script:
- typos - typos
@ -302,6 +305,7 @@ typos:
gstwebrtc-api lint: gstwebrtc-api lint:
image: node:lts image: node:lts
stage: "lint" stage: "lint"
tags: [ 'placeholder-job' ]
needs: [] needs: []
script: script:
- cd net/webrtc/gstwebrtc-api - cd net/webrtc/gstwebrtc-api
@ -311,6 +315,7 @@ gstwebrtc-api lint:
check commits: check commits:
extends: '.debian:12-stable' extends: '.debian:12-stable'
stage: "lint" stage: "lint"
tags: [ 'placeholder-job' ]
needs: [] needs: []
script: script:
- ci-fairy check-commits --textwidth 0 --no-signed-off-by - ci-fairy check-commits --textwidth 0 --no-signed-off-by