Skip to content

Enable automatic identification of target release

Martyn Welch requested to merge wip/martyn/T7884-release-detection into master

GitLab 13.8 enabled the ability to avoid duplicate jobs between branch and merge request pipelines:

https://about.gitlab.com/releases/2021/01/22/gitlab-13-8-released/#use-both-branch-and-mr-pipelines-without-duplication

As a result we can safely run pipelines on merge requests without potentially duplicating runs with branch pipelines and automatically determine the Apertis release based on the target branch of a merge request. For example, creating a merge request against apertis/v2020-security should result in APERTIS_RELEASE being set to v2020.

This removes the need to include the release identifier in the name the source branch or manually set APERTIS_RELEASE.

Task: T7884

Edited by Emanuele Aina

Merge request reports