Skip to content

Override CI_COMMIT_REF_SLUG for QA branches

Rémy Coutable requested to merge qa-followup-23267-for-qa-branches into master

What does this MR do?

This solves an edge-case when QA branches wouldn't run the gitlab:assets:compile job but the omnibus-gitlab pipeline (triggered by the package-and-qa job) would try to retrieve the assets Docker image using GITLAB_REF_SLUG, which defaults to CI_COMMIT_REF_SLUG in CE/EE.

By overriding CI_COMMIT_REF_SLUG to master when the branch is a QA branch, the fetch-assets in the omnibus-gitlab pipeline will retrieve the master assets Docker image.

Does this MR meet the acceptance criteria?

Merge request reports