ci: Consistently use dashes in job/stage names

We currently have a mix of dashes and underscores, with the former
being predominantly used by newer jobs, so settle on that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3630>
This commit is contained in:
Florian Müllner 2025-02-07 01:28:31 +01:00
parent 71da3048a1
commit 914df43d1e

View File

@ -21,7 +21,7 @@ build-sysext:
- .gitlab-ci/install-gnomeos-sysext-dependencies.sh $CI_PROJECT_DIR/extension - .gitlab-ci/install-gnomeos-sysext-dependencies.sh $CI_PROJECT_DIR/extension
stages: stages:
- pre_review - pre-review
- prep - prep
- review - review
- build - build
@ -97,10 +97,10 @@ workflow:
https://gitlab.gnome.org/GNOME/gnome-shell.git \ https://gitlab.gnome.org/GNOME/gnome-shell.git \
main main
check_commit_log: check-commit-log:
extends: extends:
- .fdo.ci-fairy - .fdo.ci-fairy
stage: pre_review stage: pre-review
variables: variables:
GIT_DEPTH: "100" GIT_DEPTH: "100"
script: script:
@ -122,7 +122,7 @@ check_commit_log:
check-merge-request: check-merge-request:
extends: extends:
- .fdo.ci-fairy - .fdo.ci-fairy
stage: pre_review stage: pre-review
script: script:
- if [[ x"$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" != "x" ]] ; - if [[ x"$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" != "x" ]] ;
then then
@ -145,7 +145,7 @@ build-fedora-container:
- .gnome-shell.fedora - .gnome-shell.fedora
stage: prep stage: prep
js_check: js-check:
extends: extends:
- .fdo.distribution-image@fedora - .fdo.distribution-image@fedora
- .gnome-shell.fedora - .gnome-shell.fedora
@ -184,7 +184,7 @@ eslint-doc:
- .eslintrc.yml - .eslintrc.yml
- lint/* - lint/*
potfile_c_check: potfile-c-check:
extends: extends:
- .fdo.distribution-image@fedora - .fdo.distribution-image@fedora
- .gnome-shell.fedora - .gnome-shell.fedora
@ -192,7 +192,7 @@ potfile_c_check:
script: script:
- ./.gitlab-ci/check-potfiles.sh - ./.gitlab-ci/check-potfiles.sh
potfile_js_check: potfile-js-check:
extends: extends:
- .fdo.distribution-image@fedora - .fdo.distribution-image@fedora
- .gnome-shell.fedora - .gnome-shell.fedora
@ -205,7 +205,7 @@ potfile_js_check:
build: build:
stage: build stage: build
needs: ["check_commit_log"] needs: ["check-commit-log"]
before_script: before_script:
- .gitlab-ci/checkout-mutter.sh - .gitlab-ci/checkout-mutter.sh
- meson mutter mutter/build --prefix=/usr - meson mutter mutter/build --prefix=/usr
@ -268,7 +268,7 @@ test-coverity:
flatpak: flatpak:
stage: build stage: build
needs: ["check_commit_log"] needs: ["check-commit-log"]
variables: variables:
SUBPROJECT: "subprojects/extensions-app" SUBPROJECT: "subprojects/extensions-app"
# Your manifest path # Your manifest path