Skip to content

Allow personal access token env var from gitlab-qa

Mark Lapierre requested to merge qa-allow-gitlab-qa-pat-env-var into master

What does this MR do?

gitlab-qa accepts an env var named GITLAB_QA_ACCESS_TOKEN, which is used to retrieve the version that staging is currently running when running the Test::Instance::Staging scenario.

The E2E tests here use PERSONAL_ACCESS_TOKEN to allow a personal access token to be specified for API access.

That means we couldn't set a personal access token for API access for the tests via gitlab-qa, at least not without adding another env var to gitlab-qa.

Instead of changing gitlab-qa, this allows either GITLAB_QA_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN to be used by the tests via Runtime::Env.personal_access_token.

Does this MR meet the acceptance criteria?

Edited by Mark Lapierre

Merge request reports