From b7abe843e443eb03b6d76603e3cc0b4af326e630 Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Wed, 11 Dec 2024 15:42:44 +0200 Subject: [PATCH 1/2] ci: Add release component to automate tarball publishing Publishing the dist tarball to download.gnome.org is now automated. See [1] [1] https://gitlab.gnome.org/Teams/Websites/handbook.gnome.org/-/merge_requests/83/ --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d34d3d8f1..538e8720b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,9 @@ +include: + - component: gitlab.gnome.org/GNOME/citemplates/release-service@master + inputs: + dist-job-name: "dist-job" + tarball-artifact-path: "${TARBALL_ARTIFACT_PATH}" + stages: - style-check - build @@ -21,6 +27,8 @@ variables: MESON_TEST_TIMEOUT_MULTIPLIER: 4 G_MESSAGES_DEBUG: all MESON_COMMON_OPTIONS: "--buildtype debug --wrap-mode=nodownload --fatal-meson-warnings" + # expected naming scheme for the release-service job + TARBALL_ARTIFACT_PATH: _build/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz # Default CI job setup; contrast with `.only-origin`. # From 7b5ee8cb7529943331ca83a45331dd92a500dfc3 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 11 Dec 2024 14:26:50 +0000 Subject: [PATCH 2/2] ci: Slightly improve quoting of variables Signed-off-by: Philip Withnall --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 538e8720b..aac2d53a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -28,7 +28,7 @@ variables: G_MESSAGES_DEBUG: all MESON_COMMON_OPTIONS: "--buildtype debug --wrap-mode=nodownload --fatal-meson-warnings" # expected naming scheme for the release-service job - TARBALL_ARTIFACT_PATH: _build/meson-dist/$CI_PROJECT_NAME-$CI_COMMIT_TAG.tar.xz + TARBALL_ARTIFACT_PATH: "_build/meson-dist/${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.xz" # Default CI job setup; contrast with `.only-origin`. #