From aa7e963422ad6fbb6b90d43c10ccc7a644bdb1d2 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Wed, 11 Dec 2024 13:45:58 +0100 Subject: [PATCH] ci: Adapt to updated release module template Part-of: --- .gitlab-ci.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88a735665..3fe599c66 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,8 +1,11 @@ include: - remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/145b1bc7ef1702d2bd71584010d7113c6786a506/templates/fedora.yml' - remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/34f4ade99434043f88e164933f570301fd18b125/templates/ci-fairy.yml' - - project: 'Infrastructure/openshift-images/gnome-release-service' - file: '/ci-templates/release-module.yml' + - component: gitlab.gnome.org/GNOME/citemplates/release-service@master + inputs: + job-stage: deploy + dist-job-name: "dist-mutter-tarball" + tarball-artifact-path: $TARBALL_ARTIFACT_PATH - component: gitlab.gnome.org/GNOME/citemplates/gnomeos-build-sysext@1.0.0-alpha.1 inputs: meson-options: @@ -30,6 +33,7 @@ stages: variables: FDO_UPSTREAM_REPO: GNOME/mutter + TARBALL_ARTIFACT_PATH: build/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz .skip-git-clone: variables: @@ -757,8 +761,10 @@ dist-mutter-tarball: extends: dist-mutter 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 + - $TARBALL_ARTIFACT_PATH rules: - if: '$CI_COMMIT_TAG'