1
0
Fork 0

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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3775>
This commit is contained in:
Florian Müllner 2024-05-23 19:11:42 +02:00 committed by Marge Bot
parent bcfbc7fa17
commit a66dab9273

View file

@ -1,6 +1,8 @@
include: include:
- remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/145b1bc7ef1702d2bd71584010d7113c6786a506/templates/fedora.yml' - 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' - 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: stages:
- review - review
@ -700,6 +702,16 @@ dist-mutter-tarball:
expose_as: 'Get tarball here' expose_as: 'Get tarball here'
paths: paths:
- $TARBALL_ARTIFACT_PATH - $TARBALL_ARTIFACT_PATH
reports:
dotenv: dist.env
rules:
- if: '$CI_COMMIT_TAG'
release-module:
stage: deploy
needs:
- dist-mutter-tarball
extends: .release-module
rules: rules:
- if: '$CI_COMMIT_TAG' - if: '$CI_COMMIT_TAG'