Skip to content

Draft: gitlab-ci: Automate GitLab releases using 'Releases API'

Bruno requested to merge bruno/release into master

Created this MR before testing it because seems that I don't have permission to create releases (even fake ones) using the API. Tried to test before and the runners aren't taken by the job:

The scheduler failed to assign job to the runner, please try again or contact system administrator

Also, GitLab docs suggests that only the maintainer can do this type of release: https://docs.gitlab.com/ee/user/project/releases/#create-update-and-delete-a-release-and-its-assets

@Jehan So, to I test this MR before the merge, you will need to manually create a pipeline from this branch with CI_COMMIT_TAG variable valued to some arbitrary string like GIMP_2_99_19


To use this MR after the merge, just follow the procedure written at Infrastructure/gimp-web-devel!78. Hopefully, this will reduce the work of the release guy and make our releases wording more consistent.

Merge request reports