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/
This commit is contained in:
Jordan Petridis 2024-12-11 15:42:44 +02:00
parent cfa36f5e96
commit b7abe843e4
No known key found for this signature in database

View File

@ -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: stages:
- style-check - style-check
- build - build
@ -21,6 +27,8 @@ variables:
MESON_TEST_TIMEOUT_MULTIPLIER: 4 MESON_TEST_TIMEOUT_MULTIPLIER: 4
G_MESSAGES_DEBUG: all G_MESSAGES_DEBUG: all
MESON_COMMON_OPTIONS: "--buildtype debug --wrap-mode=nodownload --fatal-meson-warnings" 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`. # Default CI job setup; contrast with `.only-origin`.
# #