ci: Adapt to updated release module template

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3573>
This commit is contained in:
Bilal Elmoussaoui 2024-12-11 13:57:15 +01:00
parent 99ac42d438
commit 2a0ed7cf53

View File

@ -3,6 +3,11 @@ include:
file: 'flatpak/flatpak_ci_initiative.yml'
- remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/057b052e682d8e5a20c1eb2dd60d5b87d2b56856/templates/fedora.yml'
- remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/bc70242ffb8402243e934659ecc1a2d1c89eca2b/templates/ci-fairy.yml'
- component: gitlab.gnome.org/GNOME/citemplates/release-service@master
inputs:
job-stage: deploy
dist-job-name: "dist-tarball"
tarball-artifact-path: $TARBALL_ARTIFACT_PATH
- component: gitlab.gnome.org/GNOME/citemplates/gnomeos-build-sysext@1.0.0-alpha.1
inputs:
meson-options:
@ -44,6 +49,7 @@ variables:
BUNDLE: "extensions-git.flatpak"
LINT_LOG: "eslint-report.xml"
LINT_MR_LOG: "eslint-mr-report.xml"
TARBALL_ARTIFACT_PATH: build/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz
workflow:
rules:
@ -295,23 +301,16 @@ dist:
- "**/meson.build"
- meson/*
dist-tarball:
extends: dist
needs:
- build
artifacts:
expose_as: 'Get tarball here'
name: "${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
when: always
paths:
- build/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz
rules:
- if: '$CI_COMMIT_TAG'
release-module:
stage: deploy
needs:
- dist-tarball
extends: .release-module
- $TARBALL_ARTIFACT_PATH
rules:
- if: '$CI_COMMIT_TAG'