First try fetching user who triggered promote job, then check RELEASE_MANAGER variable
What does this MR do and why?
Describe in detail what your merge request does and why.
When production checks are ignored by setting the
OVERRIDE_PRODUCTION_CHECKS_REASON
variable and triggering the promote
job, we should fetch the user who triggered the promote
job. Currently, it fails when it can't find the RELEASE_MANAGER
variable. Example: https://ops.gitlab.net/gitlab-org/release/tools/-/jobs/6827967.
gitlab-com/gl-infra/delivery#2298 (closed)
Author Check-list
-
Has documentation been updated?
Edited by Mayra Cabrera