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

sonarqube 25.1.0.102122 #203478

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
10 changes: 8 additions & 2 deletions Formula/s/sonarqube.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Sonarqube < Formula
desc "Manage code quality"
homepage "https://www.sonarsource.com/products/sonarqube/"
url "https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-24.12.0.100206.zip"
sha256 "ac1d7b7e0348bd272b34d9ac037fa4e0835d6fb795f594339e5d698857840ea7"
url "https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-25.1.0.102122.zip"
sha256 "1b37a6d6f882e32208620597706ee336e9a3495acff826421475618dc747feba"
license "LGPL-3.0-or-later"

livecheck do
Expand Down Expand Up @@ -39,6 +39,12 @@
env["PIDDIR"] = var/"run"
platform = OS.mac? ? "macosx-universal-64" : "linux-x86-64"
(bin/"sonar").write_env_script libexec/"bin"/platform/"sonar.sh", env

# Remove incompatible pre-built binaries
cpu = Hardware::CPU.arm? ? "aarch64" : "x64"
dirs = (libexec/"elasticsearch/lib/platform").children
dirs.reject! { |dir| dir.basename.to_s == "#{OS.kernel_name.downcase}-#{cpu}" }
rm_r dirs
end

def post_install
Expand All @@ -59,7 +65,7 @@
keep_alive true
end

test do

Check failure on line 68 in Formula/s/sonarqube.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

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

/opt/homebrew/Library/Homebrew/test.rb:54:in `<main>'

Check failure on line 68 in Formula/s/sonarqube.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew test --verbose sonarqube` failed on macOS Ventura (13) on Apple Silicon!

/opt/homebrew/Library/Homebrew/test.rb:54:in `<main>'
port = free_port
ENV["SONAR_WEB_PORT"] = port.to_s
ENV["SONAR_EMBEDDEDDATABASE_PORT"] = free_port.to_s
Expand Down
Loading