Skip to content

Remove references to old qa-sandbox groups

What does this MR do and why?

Removes references to deprecated gitlab-qa-sandbox-groups and two unused gitlab-e2e-sandbox-groups.

This will remove 11 weekly cleanup pipeline jobs from each instance(staging, staging-ref, production, preprod, and release) - 55 jobs in total per week.

References

Part of gitlab-org/quality/quality-engineering/team-tasks#3452

Followup to:

Post-merge

gitlab-org/quality/runbooks/cleanup_test_resources/index.md
43:   1. To delete from all top-level groups set `CLEANUP_ALL_QA_SANDBOX_GROUPS` to `true`.

gitlab-org/govern/threat-insights-demos/frontend/gitlab/qa/qa/tools/delete_projects.rb
9:#                                 CLEANUP_ALL_QA_SANDBOX_GROUPS (default: false),
13:# - Set CLEANUP_ALL_QA_SANDBOX_GROUPS to true if you would like to delete projects under all
32:      #   CLEANUP_ALL_QA_SANDBOX_GROUPS=true \
51:        if ENV['CLEANUP_ALL_QA_SANDBOX_GROUPS']

gitlab-org/govern/threat-insights-demos/frontend/gitlab/qa/qa/tools/delete_subgroups.rb
9:#                                 CLEANUP_ALL_QA_SANDBOX_GROUPS (default: false),
14:#   - All 'gitlab-qa-sandbox-group-*' groups when CLEANUP_ALL_QA_SANDBOX_GROUPS is true
15:#   - 'gitlab-qa-sandbox-group-<current weekday #>' when CLEANUP_ALL_QA_SANDBOX_GROUPS is false
33:      #   CLEANUP_ALL_QA_SANDBOX_GROUPS=true \
52:        if ENV['CLEANUP_ALL_QA_SANDBOX_GROUPS'] && !ENV['TOP_LEVEL_GROUP_NAME']

gitlab-org/quality/pipeline-common/ci/rules.gitlab-ci.yml
49:  if: '$CI_PIPELINE_SOURCE == "schedule" && $RUN_CLEANUP == "true" && (($CLEANUP_ALL_QA_SANDBOX_GROUPS == null || $CLEANUP_ALL_QA_SANDBOX_GROUPS == "false") && ($CLEANUP_ALL_E2E_SANDBOX_GROUPS == null || $CLEANUP_ALL_E2E_SANDBOX_GROUPS == "false"))'
52:  if: '$CI_PIPELINE_SOURCE == "schedule" && $RUN_CLEANUP == "true" && ($CLEANUP_ALL_QA_SANDBOX_GROUPS == "true" || $CLEANUP_ALL_E2E_SANDBOX_GROUPS == "true")'

MR acceptance checklist

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 Dan Davison

Merge request reports

Loading