diff --git a/debian/patches/series b/debian/patches/series index eaaf024eb6..1c4555197a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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 diff --git a/debian/patches/tweaks/0110-remove-dangerfiles.patch b/debian/patches/tweaks/0110-remove-dangerfiles.patch new file mode 100644 index 0000000000..bcf83ad49d --- /dev/null +++ b/debian/patches/tweaks/0110-remove-dangerfiles.patch @@ -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