Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

woodpecker-cli 2.1.0 #158332

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Formula/w/woodpecker-cli.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class WoodpeckerCli < Formula
desc "CLI client for the Woodpecker Continuous Integration server"
homepage "https://woodpecker-ci.org/"
url "https://github.com/woodpecker-ci/woodpecker/archive/refs/tags/v2.0.0.tar.gz"
sha256 "56429d9cbe1e6e81ab019b1549e6de49f2fa8b5abbc6322203a266b92139ca68"
url "https://github.com/woodpecker-ci/woodpecker/archive/refs/tags/v2.1.0.tar.gz"
sha256 "2b5a1e4a87730d33e7096460f70e321cfa365cea6a3b0a9ddaa4497963de9cce"
license "Apache-2.0"
head "https://github.com/woodpecker-ci/woodpecker.git", branch: "main"

Expand All @@ -23,7 +23,7 @@
system "go", "build", *std_go_args(ldflags: ldflags), "./cmd/cli"
end

test do

Check failure on line 26 in Formula/w/woodpecker-cli.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew test --verbose woodpecker-cli` failed on Linux!

/home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/bin/bundle clean ==> Testing woodpecker-cli ==> /home/linuxbrew/.linuxbrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli info 2>&1 ==> /home/linuxbrew/.linuxbrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli lint 2>&1 ==> /home/linuxbrew/.linuxbrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli --version Error: woodpecker-cli: failed An exception occurred within a child process: Minitest::Assertion: Expected /2\.1\.0/ to match "woodpecker-cli version dev\n". /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/minitest-5.20.0/lib/minitest/assertions.rb:183:in `assert' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/minitest-5.20.0/lib/minitest/assertions.rb:295:in `assert_match' /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/w/woodpecker-cli.rb:27:in `block in <class:WoodpeckerCli>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2500:in `block (3 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2499:in `block (2 levels) in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:1055:in `with_logging' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2498:in `block in run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/mktemp.rb:75:in `run' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2792:in `mktemp' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/formula.rb:2492:in `run_test' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:46:in `block in <main>' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:107:in `block in timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `block in catch' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `catch' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `catch' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:123:in `timeout' /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/test.rb:50:in `<main>'

Check failure on line 26 in Formula/w/woodpecker-cli.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew test --verbose woodpecker-cli` failed on macOS Sonoma (14) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/bin/bundle clean ==> Testing woodpecker-cli ==> /opt/homebrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli info 2>&1 ==> /opt/homebrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli lint 2>&1 ==> /opt/homebrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli --version Error: woodpecker-cli: failed An exception occurred within a child process: Minitest::Assertion: Expected /2\.1\.0/ to match "woodpecker-cli version dev\n". /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/minitest-5.20.0/lib/minitest/assertions.rb:183:in `assert' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/minitest-5.20.0/lib/minitest/assertions.rb:295:in `assert_match' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/w/woodpecker-cli.rb:27:in `block in <class:WoodpeckerCli>' /opt/homebrew/Library/Homebrew/formula.rb:2500:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2499:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1055:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2498:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:2792:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2492:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:46:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:107:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `block in catch' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `catch' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `catch' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:123:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:50:in `<main>'

Check failure on line 26 in Formula/w/woodpecker-cli.rb

View workflow job for this annotation

GitHub Actions / macOS 12-arm64

`brew test --verbose woodpecker-cli` failed on macOS Monterey (12) on Apple Silicon!

/opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/bin/bundle clean ==> Testing woodpecker-cli ==> /opt/homebrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli info 2>&1 ==> /opt/homebrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli lint 2>&1 ==> /opt/homebrew/Cellar/woodpecker-cli/2.1.0/bin/woodpecker-cli --version Error: woodpecker-cli: failed An exception occurred within a child process: Minitest::Assertion: Expected /2\.1\.0/ to match "woodpecker-cli version dev\n". /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/minitest-5.20.0/lib/minitest/assertions.rb:183:in `assert' /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.1.0/gems/minitest-5.20.0/lib/minitest/assertions.rb:295:in `assert_match' /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/w/woodpecker-cli.rb:27:in `block in <class:WoodpeckerCli>' /opt/homebrew/Library/Homebrew/formula.rb:2500:in `block (3 levels) in run_test' /opt/homebrew/Library/Homebrew/extend/kernel.rb:493:in `with_env' /opt/homebrew/Library/Homebrew/formula.rb:2499:in `block (2 levels) in run_test' /opt/homebrew/Library/Homebrew/formula.rb:1055:in `with_logging' /opt/homebrew/Library/Homebrew/formula.rb:2498:in `block in run_test' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `block in run' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `chdir' /opt/homebrew/Library/Homebrew/mktemp.rb:75:in `run' /opt/homebrew/Library/Homebrew/formula.rb:2792:in `mktemp' /opt/homebrew/Library/Homebrew/formula.rb:2492:in `run_test' /opt/homebrew/Library/Homebrew/test.rb:46:in `block in <main>' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:107:in `block in timeout' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `block in catch' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `catch' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:36:in `catch' /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/lib/ruby/3.1.0/timeout.rb:123:in `timeout' /opt/homebrew/Library/Homebrew/test.rb:50:in `<main>'
output = shell_output("#{bin}/woodpecker-cli info 2>&1", 1)
assert_match "Error: you must provide the Woodpecker server address", output

Expand Down
Loading