Remove development only gitlab-dangerfiles from Rakefile

This commit is contained in:
Pirate Praveen 2023-07-01 20:04:16 +05:30
parent 42dca7827b
commit 88e89c8dd5
No known key found for this signature in database
GPG key ID: 8F53E0193B294B75
2 changed files with 16 additions and 0 deletions

View file

@ -19,3 +19,4 @@ tweaks/0070-remove-capybara-screenshot-rspec.patch
tweaks/0080-search-binaries-in-path.patch
tweaks/0090-cross-platform-text.patch
tweaks/0100-rename-gitlab-shell-check.patch
tweaks/0110-remove-dangerfiles.patch

View file

@ -0,0 +1,15 @@
We don't need this in production
Forwarded: not-needed
--- a/Rakefile
+++ b/Rakefile
@@ -17,5 +17,6 @@
Knapsack.load_tasks if defined?(Knapsack)
-require 'gitlab-dangerfiles'
-Gitlab::Dangerfiles.load_tasks
+# This is development only
+#require 'gitlab-dangerfiles'
+#Gitlab::Dangerfiles.load_tasks