Skip to content

ci: Build the assets image and CNG components from the MR HEAD commit

What does this MR do?

Use $CI_MERGE_REQUEST_SOURCE_BRANCH_SHA (MR HEAD commit) as the assets image tag so that the image is in sync with Omnibus/CNG images.

Background: Due to the fact that we cannot retrieve the Merged Commit in the downstream omnibus/CNG pipelines, we're building the Omnibus/CNG images for the MR HEAD commit.

In turn, the assets image also needs to be built from the MR HEAD commit, so that everything is build from the same commit. For non-MR commits, we fallback to $CI_COMMIT_SHA.

We do the same for the CNG components.

Related to #333549 (closed).

Edited by Rémy Coutable

Merge request reports