ci: Set QA_IMAGE via default and workflow.rules variables
requested to merge 336603-follow-up-from-ci-tag-qa-image-with-the-commit-sha-instead-of-branch-name into master
What does this MR do?
This makes sure the QA image tag is present for all cases:
- Merged result pipelines:
${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab-ee-qa:${CI_MERGE_REQUEST_SOURCE_BRANCH_SHA}
- MR (detached) pipelines, and all other pipelines:
${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab-ee-qa:${CI_COMMIT_SHA}
Verification matrix
- MR (detached) pipeline: https://gitlab.com/gitlab-org/gitlab/-/jobs/1453028432
- Merged result pipeline: https://gitlab.com/gitlab-org/gitlab/-/jobs/1453047892
Related to #336603 (closed) and #336839 (closed).
Edited by Rémy Coutable