Skip to content

Post-deploy to clean `pending_delete` projects

Toon Claes requested to merge tc-clean-pending-delete-projects into master

What does this MR do?

There are many projects in pending_delete state, this post-deploy migration cleans them up.

The script is based on https://gitlab.com/gitlab-org/gitlab-ce/snippets/1648654 and https://gitlab.com/gitlab-org/gitlab-ce/snippets/1611429. The use of these scripts were described in https://gitlab.com/gitlab-com/infrastructure/issues/888.

Are there points in the code the reviewer needs to double check?

Should this be done in a background worker?

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes gitlab-org/gitlab-ce#20984

Merge request reports