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:
authorAsh McKenzie <amckenzie@gitlab.com>2019-09-06 10:14:30 +0300
committerAsh McKenzie <amckenzie@gitlab.com>2019-09-06 10:14:30 +0300
commitf34e4545ec20953267ee187227116756562c6e8a (patch)
tree32326de09418e404ac74b2b05398bd5449ba8b6c /lib/tasks/gitlab_danger.rake
parent351d72cbed57c5b117e6b2239dffabcedbc45046 (diff)
Revert "Merge branch '66596-allow-danger-to-be-run-locally' into 'master'"
This reverts merge request !32196
Diffstat (limited to 'lib/tasks/gitlab_danger.rake')
-rw-r--r--lib/tasks/gitlab_danger.rake17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/tasks/gitlab_danger.rake b/lib/tasks/gitlab_danger.rake
deleted file mode 100644
index c2f5843a9a5..00000000000
--- a/lib/tasks/gitlab_danger.rake
+++ /dev/null
@@ -1,17 +0,0 @@
-desc 'Run local Danger rules'
-task :danger_local do
- require 'gitlab_danger'
- require_relative '../../lib/gitlab/popen'
-
- puts("#{GitlabDanger.local_warning_message}\n")
-
- # _status will _always_ be 0, regardless of failure or success :(
- output, _status = Gitlab::Popen.popen(%w{danger dry_run})
-
- if output.empty?
- puts(GitlabDanger.success_message)
- else
- puts(output)
- exit(1)
- end
-end