summaryrefslogtreecommitdiff
path: root/Dangerfile
diff options
context:
space:
mode:
authorAsh McKenzie <amckenzie@gitlab.com>2019-09-06 07:14:30 +0000
committerAsh McKenzie <amckenzie@gitlab.com>2019-09-06 07:14:30 +0000
commitf34e4545ec20953267ee187227116756562c6e8a (patch)
tree32326de09418e404ac74b2b05398bd5449ba8b6c /Dangerfile
parent351d72cbed57c5b117e6b2239dffabcedbc45046 (diff)
downloadgitlab-ce-f34e4545ec20953267ee187227116756562c6e8a.tar.gz
Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"revert-351d72cb
This reverts merge request !32196
Diffstat (limited to 'Dangerfile')
-rw-r--r--Dangerfile23
1 files changed, 17 insertions, 6 deletions
diff --git a/Dangerfile b/Dangerfile
index 228190cd530..094d55e8652 100644
--- a/Dangerfile
+++ b/Dangerfile
@@ -1,12 +1,23 @@
# frozen_string_literal: true
-
-require_relative 'lib/gitlab_danger'
-
danger.import_plugin('danger/plugins/helper.rb')
danger.import_plugin('danger/plugins/roulette.rb')
unless helper.release_automation?
- GitlabDanger.new(helper.gitlab_helper).rule_names.each do |file|
- danger.import_dangerfile(path: File.join('danger', file))
- end
+ danger.import_dangerfile(path: 'danger/metadata')
+ danger.import_dangerfile(path: 'danger/changes_size')
+ danger.import_dangerfile(path: 'danger/changelog')
+ danger.import_dangerfile(path: 'danger/specs')
+ danger.import_dangerfile(path: 'danger/gemfile')
+ danger.import_dangerfile(path: 'danger/database')
+ danger.import_dangerfile(path: 'danger/documentation')
+ danger.import_dangerfile(path: 'danger/frozen_string')
+ danger.import_dangerfile(path: 'danger/commit_messages')
+ danger.import_dangerfile(path: 'danger/duplicate_yarn_dependencies')
+ danger.import_dangerfile(path: 'danger/prettier')
+ danger.import_dangerfile(path: 'danger/eslint')
+ danger.import_dangerfile(path: 'danger/roulette')
+ danger.import_dangerfile(path: 'danger/single_codebase')
+ danger.import_dangerfile(path: 'danger/gitlab_ui_wg')
+ danger.import_dangerfile(path: 'danger/ce_ee_vue_templates')
+ danger.import_dangerfile(path: 'danger/only_documentation')
end