From e3ff351297ea5884d285d0b0e81c0c9c23052b9c Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Sun, 12 Jan 2025 15:31:22 +0000 Subject: [PATCH] ci: Add the release-service component This will allow us to automate the tarball publishing Part-of: --- .gitlab-ci.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c02089c5..5e40a900 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,14 @@ -include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml' +include: + - project: "gnome/citemplates" + file: "flatpak/flatpak_ci_initiative.yml" + - component: "gitlab.gnome.org/GNOME/citemplates/release-service@master" + inputs: + dist-job-name: "flatpak" + tarball-artifact-path: "${TARBALL_ARTIFACT_PATH}" + +variables: + FLATPAK_MODULE: "sysprof" + TARBALL_ARTIFACT_PATH: ".flatpak-builder/build/${FLATPAK_MODULE}/_flatpak_build/meson-dist/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.xz" flatpak: extends: .flatpak @@ -6,11 +16,8 @@ flatpak: variables: GIT_SUBMODULE_STRATEGY: normal - # Replace with your manifest path MANIFEST_PATH: "org.gnome.Sysprof.Devel.json" RUNTIME_REPO: "https://nightly.gnome.org/gnome-nightly.flatpakrepo" - # Replace with your application name, as written in the manifest - FLATPAK_MODULE: "sysprof" APP_ID: "org.gnome.Sysprof.Devel" BUNDLE: "sysprof-git.flatpak"