Skip to content

Internal releases: Update the CI rules to include the build-assets-image job on sync pipelines

Context

When creating internal packages, a commit must be propagated from the GitLab security to the GitLab dev repository via mirroring. Because of the mirror, a shorter pipeline is triggered on the dev stable branch (example). Unfortunately this branch doesn't include the build-assets-image job that is required to build the internal package.

As a workaround, the service triggers another pipeline. This has the downside of spending pipeline resources to wait for just one job, a better alternative will be to modify the CI rules to include the build-assets-image job on dev pipelines triggered by a mirror.

Update the GitLab CI rules to include the build-assets-image job

Follow-up to gitlab-org/release-tools!3852 (comment 2334690625). The GitLab CI rules can be updated to adjust the pipelines triggered via mirroring to include the build-assets-image job.

The change should be backported all the way to 17.6

Backports

Edited by Mawreen Dela Cruz