Use the new admin personal access token creation API
Use the new admin personal access token (PAT) creation API to create all non-admin PATs.
Tasks:
-
On environments/pipelines where we have admin access but do not have GITLAB_QA_ADMIN_ACCESS_TOKEN
available (e.g. master, MR, nightly), cache the admin PAT when it is created. Use the cached PAT for creating new non-admin PATs. => gitlab-org/gitlab!53739 (merged) -
On environments/pipelines where we have admin access and GITLAB_QA_ADMIN_ACCESS_TOKEN
set, create all PATs via the API. => gitlab-org/gitlab!53739 (merged) -
On GitLab.com where we do not have admin access, use existing PATs for existing users. Do not create new PATs via the UI. (Moved to https://gitlab.com/gitlab-org/quality/team-tasks/-/issues/818)
Edited by Sanad Liaquat