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/1533>
This commit is contained in:
Tim-Philipp Müller 2024-04-08 15:19:48 +01:00 committed by GStreamer Marge Bot
parent c8180e714e
commit 6b30266145

View file

@ -52,6 +52,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:
@ -289,6 +290,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
@ -297,6 +299,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
@ -304,6 +307,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
@ -313,6 +317,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