From 313b0ffa1950d4a892c7088e5a333221e025c1a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 23 May 2024 19:11:42 +0200 Subject: [PATCH] ci: Hook up release-module In the future, the module will automate uploading the release tarball. We already use the CI pipeline to generate the tarball, so it's easy to hook up the module and provide some testing before the module goes into production. Part-of: (cherry picked from commit a66dab927320e942e3da5f73147e59e37e29868d) --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d948f5fc..f08c6991e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,8 @@ 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' stages: - review @@ -690,6 +692,16 @@ dist-mutter-tarball: expose_as: 'Get tarball here' paths: - $TARBALL_ARTIFACT_PATH + reports: + dotenv: dist.env + rules: + - if: '$CI_COMMIT_TAG' + +release-module: + stage: deploy + needs: + - dist-mutter-tarball + extends: .release-module rules: - if: '$CI_COMMIT_TAG'