lib/gitlab/qa/release.rb in gitlab-qa-5.14.0 vs lib/gitlab/qa/release.rb in gitlab-qa-5.14.1

- old
+ new

@@ -143,14 +143,20 @@ username: Runtime::Env.gitlab_dev_username, password: Runtime::Env.dev_access_token_variable, registry: DEV_REGISTRY } elsif omnibus_mirror? - Runtime::Env.require_gitlab_bot_multi_project_pipeline_polling_token! + username, password = if Runtime::Env.ci_job_token + ['gitlab-ci-token', Runtime::Env.ci_job_token] + else + Runtime::Env.require_qa_access_token! + [Runtime::Env.gitlab_username, Runtime::Env.qa_access_token] + end + { - username: Runtime::Env.gitlab_username, - password: Runtime::Env.gitlab_bot_multi_project_pipeline_polling_token, + username: username, + password: password, registry: COM_REGISTRY } end end