Fix the QA image retrieval for staging
This implements https://gitlab.com/gitlab-org/gitlab-qa/issues/398 and provide a more robust solution to https://gitlab.com/gitlab-org/quality/staging/issues/56.
TODO:
-
Replace=> I removed the variable and bothGITLAB_QA_DEV_ACCESS_TOKEN
value with a valid access token for thegitlab-qa-bot
user ondev
. I've used my own access token for now. It seems thedev
password for this user stored in 1Password is wrong, and the currentGITLAB_QA_DEV_ACCESS_TOKEN
token set for the https://gitlab.com/gitlab-org/quality/staging doesn't have sufficient scopes.GITLAB_QA_ACCESS_TOKEN
andGITLAB_QA_DEV_ACCESS_TOKEN
variable should be given manually when triggering thestaging
job.
Also, I've opened https://gitlab.com/gitlab-org/quality/staging/issues/71 for the broken API token and wrong password for the gitlab-qa-bot
user.
Closes https://gitlab.com/gitlab-org/gitlab-qa/issues/398, https://gitlab.com/gitlab-org/release/framework/issues/421.
Edited by George Koltsov