test-bot: remove ci-reset-and-update.
This commit is contained in:
parent
5773ca64c5
commit
d48bdcdabb
@ -22,7 +22,6 @@
|
||||
# --ci-pr: Shortcut for Homebrew pull request CI options.
|
||||
# --ci-testing: Shortcut for Homebrew testing CI options.
|
||||
# --ci-upload: Homebrew CI bottle upload.
|
||||
# --ci-reset-and-update: Homebrew CI repository and tap reset and update.
|
||||
|
||||
require "formula"
|
||||
require "utils"
|
||||
@ -759,20 +758,6 @@ module Homebrew
|
||||
end
|
||||
end
|
||||
|
||||
def test_bot_ci_reset_and_update
|
||||
Tap.each do |tap|
|
||||
next unless tap.git?
|
||||
cd tap.path do
|
||||
quiet_system "git", "am", "--abort"
|
||||
quiet_system "git", "rebase", "--abort"
|
||||
safe_system "git", "checkout", "-f", "master"
|
||||
safe_system "git", "reset", "--hard", "origin/master"
|
||||
end
|
||||
end
|
||||
|
||||
exec "brew", "update"
|
||||
end
|
||||
|
||||
def test_ci_upload(tap)
|
||||
jenkins = ENV["JENKINS_HOME"]
|
||||
job = ENV["UPSTREAM_JOB_NAME"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user