summaryrefslogtreecommitdiff
path: root/qa/Rakefile
diff options
context:
space:
mode:
authorSanad Liaquat <sliaquat@gitlab.com>2019-01-23 15:42:20 +0500
committerSanad Liaquat <sliaquat@gitlab.com>2019-01-24 09:32:56 +0500
commit150716d6c1f0d8b031e9cb4f5643601025c04937 (patch)
tree83fcd851b782836d4e3792fab696efeae857d37e /qa/Rakefile
parent5cc49c16b8446d66a5176e208e9ca834aab746ba (diff)
downloadgitlab-ce-150716d6c1f0d8b031e9cb4f5643601025c04937.tar.gz
Add script to delete all subgroups within the specified group
Diffstat (limited to 'qa/Rakefile')
-rw-r--r--qa/Rakefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/qa/Rakefile b/qa/Rakefile
index 8df1cfdc174..9a7b9c6bb35 100644
--- a/qa/Rakefile
+++ b/qa/Rakefile
@@ -1,6 +1,12 @@
require_relative 'qa/tools/revoke_all_personal_access_tokens'
+require_relative 'qa/tools/delete_subgroups'
desc "Revokes all personal access tokens"
task :revoke_personal_access_tokens do
QA::Tools::RevokeAllPersonalAccessTokens.new.run
end
+
+desc "Deletes subgroups within a provided group"
+task :delete_subgroups do
+ QA::Tools::DeleteSubgroups.new.run
+end