Skip to content

Accept multiple access tokens in user project delete script

What does this MR do and why?

Allows setting access tokens for gitlab-qa-user1 and gitlab-qa-user2 in the user project deletion script of the clean up pipeline. Some environments can't have a qa user with admin access, most notably production, that can delete any user's projects so we need to pass tokens for the two users that create user projects so they can delete their own.

Adds better logging info to the script.

Also updates delete_before day to 3 days for debugging purposes.

Related to https://gitlab.com/gitlab-com/gitlab-OKRs/-/work_items/5456#note_1714517270

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Désirée Chevalier

Merge request reports