From 0334834a0f3aebd530e45d21906b16ac86bd29f8 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: --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8aca09f5..df97d556 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,8 @@ include: - remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/bbe5232986c9b98eb1efe62484e07216f7d1a4df/templates/fedora.yml' - remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/6f86b8bcb0cd5168c32779c4fea9a893c4a0c046/templates/ci-fairy.yml" + - project: 'Infrastructure/openshift-images/gnome-release-service' + file: '/ci-templates/release-module.yml' stages: - pre_review @@ -188,3 +190,11 @@ fedora-dist-tarball: dotenv: dist.env rules: - if: '$CI_COMMIT_TAG' + +release-module: + stage: deploy + needs: + - fedora-dist-tarball + extends: .release-module + rules: + - if: '$CI_COMMIT_TAG'