Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/Rakefile')
-rw-r--r--qa/Rakefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/qa/Rakefile b/qa/Rakefile
index e4d38d8294f..d3e39d8ed1e 100644
--- a/qa/Rakefile
+++ b/qa/Rakefile
@@ -1,5 +1,4 @@
# frozen_string_literal: true
-# rubocop:disable Rails/RakeEnvironment
require_relative "qa"
@@ -86,4 +85,8 @@ namespace :test_resources do
QA::Tools::TestResourcesHandler.new.download(args[:ci_project_name])
end
end
-# rubocop:enable Rails/RakeEnvironment
+
+desc "Deletes user's projects"
+task :delete_user_projects, [:delete_before, :dry_run] do |t, args|
+ QA::Tools::DeleteUserProjects.new(args).run
+end