diff --git a/Formula/p/prometheus.rb b/Formula/p/prometheus.rb index 33c92e733d8ae..bd2de3af36633 100644 --- a/Formula/p/prometheus.rb +++ b/Formula/p/prometheus.rb @@ -1,8 +1,8 @@ class Prometheus < Formula desc "Service monitoring system and time series database" homepage "https://prometheus.io/" - url "https://github.com/prometheus/prometheus/archive/refs/tags/v2.55.1.tar.gz" - sha256 "f48251f5c89eea6d3b43814499d558bacc4829265419ee69be49c5af98f79573" + url "https://github.com/prometheus/prometheus/archive/refs/tags/v3.0.0.tar.gz" + sha256 "7279a012eb12fc91a6887dd6cf09c3e4b68985b8726a78567493bb84902e8bc8" license "Apache-2.0" # There can be a notable gap between when a version is tagged and a @@ -14,30 +14,29 @@ class Prometheus < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "61aeb6409b3b328b13ce2c6e4e8951846937269126e38d82c9d899baa2a58904" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "7420458c0b84ec1bb64bdbde3a5b17433461d208d31763b2c1556d5e2aa4d06d" - sha256 cellar: :any_skip_relocation, arm64_ventura: "381549dc1f0bafa489bd2d46191b865d152a7b11803079f4562fa3d1485aff23" - sha256 cellar: :any_skip_relocation, sonoma: "c34737565940e3a4e30bb995e8d7917effb4f96f20a45a8037786ecb214fd3e8" - sha256 cellar: :any_skip_relocation, ventura: "108bd9d655eee8e3c1fc803d95ad01e3a0cde3c786a80659c90cf82efc0f4f7d" - sha256 cellar: :any_skip_relocation, x86_64_linux: "e5e0390f81a938d8e1deef5f32128b800238658f344e23175a88746f166ddf6c" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "c8c921e53a41be58369824649a739fca3b9e1f6a72bf20c03e5009c7e1522954" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "c20bc8e7d44be6dd7c67d77f80cb447d5d055025d29919a61bb3ac68d644c258" + sha256 cellar: :any_skip_relocation, arm64_ventura: "5db70367602e1a16ac9aa440b17e9fb315e2e419e4e9fcc9bbc41645ee00e37f" + sha256 cellar: :any_skip_relocation, sonoma: "55d83a8b363aafe74ac6a9596420653a24e31a9961a8f695291645db767f8cc8" + sha256 cellar: :any_skip_relocation, ventura: "25311bc2b774cd69a120536dee71ca41d2643971a435c6f6f8f7a8d3e0efdf99" + sha256 cellar: :any_skip_relocation, x86_64_linux: "dc63f4348bd32bbbf18938dbc8c44ccd1cb579cfb352f6e3557299ebca3e0e6c" end depends_on "gnu-tar" => :build depends_on "go" => :build - depends_on "node" => :build + depends_on "node@22" => :build # pin to use node22, due to node23 issue, see https://github.com/nodejs/node/issues/55826 depends_on "yarn" => :build def install ENV.deparallelize ENV.prepend_path "PATH", Formula["gnu-tar"].opt_libexec/"gnubin" - ENV.prepend_path "PATH", Formula["node"].opt_libexec/"bin" + ENV.prepend_path "PATH", Formula["node@22"].opt_libexec/"bin" mkdir_p buildpath/"src/github.com/prometheus" ln_sf buildpath, buildpath/"src/github.com/prometheus/prometheus" system "make", "assets" system "make", "build" bin.install %w[promtool prometheus] - libexec.install %w[consoles console_libraries] (bin/"prometheus_brew_services").write <<~EOS #!/bin/bash