diff --git a/Formula/l/logcli.rb b/Formula/l/logcli.rb index 5bf0ba264620f..de3f451af8182 100644 --- a/Formula/l/logcli.rb +++ b/Formula/l/logcli.rb @@ -1,8 +1,8 @@ class Logcli < Formula desc "Run LogQL queries against a Loki server" homepage "https://grafana.com/loki" - url "https://github.com/grafana/loki/archive/refs/tags/v3.2.1.tar.gz" - sha256 "4d39632d6cb60a3252ca294558aa7eff2c9bb4b66b62920f4691389d293b6d7b" + url "https://github.com/grafana/loki/archive/refs/tags/v3.3.0.tar.gz" + sha256 "b36148586da9f8b58dc0a44fb3e74f0d03043db2fcf47194bc9d145bf5708b3e" license "AGPL-3.0-only" head "https://github.com/grafana/loki.git", branch: "main" @@ -11,12 +11,12 @@ class Logcli < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "91a38a8024fd755d995873f7a5eddc88255790144d0f5f2ccbfe57578f3840cf" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "4a5de9710b1aa6deb984b8be9cfdb1eec83599f4b2f9a37b44207af62b5a60bc" - sha256 cellar: :any_skip_relocation, arm64_ventura: "7965ad074ba14d28f2e3381d2dec77d83b0815b0b04392b1b9c3f24683cae26e" - sha256 cellar: :any_skip_relocation, sonoma: "6e8025adae69e3ac4614551bcb3088268e6ceb5d690c449ecdf686cda7d37484" - sha256 cellar: :any_skip_relocation, ventura: "2ab8669512e90b4d0e4fbfde4104c3fa506f53cd55d5e85423dd026d02f6f00d" - sha256 cellar: :any_skip_relocation, x86_64_linux: "2b554ee9a8426339a8120531140e6c82335023322bb42c183dfe44a5907f1463" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "779809e2144d7d5c227d302b26aa68c65156356986d847927073443ab657ceb1" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "e1b7b847c11f64754f433f3d2922985b6b977be317b0efeae25682e5c3ebe9f7" + sha256 cellar: :any_skip_relocation, arm64_ventura: "dd926cd44a8060d31ce97e09e15139eac2bc6f3ce834a9a9ae4fef73219e693d" + sha256 cellar: :any_skip_relocation, sonoma: "dded26bd2126e0365e05ada941a7a48fc14b02ae0a88fe2bb3d6b1fca5b958b9" + sha256 cellar: :any_skip_relocation, ventura: "f74e6a2e847d994fb153c209c1975bc1f50d39a38d1ba5a6ac6832e6b2283c01" + sha256 cellar: :any_skip_relocation, x86_64_linux: "0494d59c949bec4ea9ef32426faa264b49a32676baf04e2233bee163352b0bd7" end depends_on "go" => :build diff --git a/Formula/l/loki.rb b/Formula/l/loki.rb index 24a1a2a28f433..f334049285791 100644 --- a/Formula/l/loki.rb +++ b/Formula/l/loki.rb @@ -1,8 +1,8 @@ class Loki < Formula desc "Horizontally-scalable, highly-available log aggregation system" homepage "https://grafana.com/loki" - url "https://github.com/grafana/loki/archive/refs/tags/v3.2.1.tar.gz" - sha256 "4d39632d6cb60a3252ca294558aa7eff2c9bb4b66b62920f4691389d293b6d7b" + url "https://github.com/grafana/loki/archive/refs/tags/v3.3.0.tar.gz" + sha256 "b36148586da9f8b58dc0a44fb3e74f0d03043db2fcf47194bc9d145bf5708b3e" license "AGPL-3.0-only" head "https://github.com/grafana/loki.git", branch: "main" @@ -12,16 +12,23 @@ class Loki < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "5b5725129da9fb946bd0223c68c75a5be4502afb83c1971841c89358196057d7" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "5acd3974a562d43da8788124a8431a71b518be594f9fdb29fc4f91c4cce60290" - sha256 cellar: :any_skip_relocation, arm64_ventura: "7b609758054872182caab7089a4c7b5dced4b89e00f01b4c72a766a64c0e7821" - sha256 cellar: :any_skip_relocation, sonoma: "c9c66c4fbece6898c9c9d733a8bb217911810e776c0e83418418e0df771e71ed" - sha256 cellar: :any_skip_relocation, ventura: "85db50a8f3a447d6dc513aed1f1c4802ae11eb43bd1ed40eb52d6d93f2d757e3" - sha256 cellar: :any_skip_relocation, x86_64_linux: "f07d77f8dd183254d7d14e6f16dd800cb4f7f05014fb8c49e65c3404d31c6ddb" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "d6e2e673b9fc75631cb99267c8498343b1a66e22cc4b2c4988dc7350734ee76c" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "bf2f57c62581fb8c34a886acde7144a2467267b67a28eb90ea38810a64221f24" + sha256 cellar: :any_skip_relocation, arm64_ventura: "0e526b4dd1af4b85e363e1e0c82910855b4f804ddac6beaa973a0b6aea9d9004" + sha256 cellar: :any_skip_relocation, sonoma: "c4212c0bb0aa91ee726c260a69ce11a11fad1d474b0d94136d82ebf1d9ca7258" + sha256 cellar: :any_skip_relocation, ventura: "6a22bb6baff0b8877676528df047741db53fd6dc3a22a902751f6a6e373eeadf" + sha256 cellar: :any_skip_relocation, x86_64_linux: "8e1323cf8dd0f69a577e278a91e4357f6c7093cf92428c72ef264b035f1828a9" end depends_on "go" => :build + # Fix to yaml: unmarshal errors + # Issue ref: https://github.com/grafana/loki/issues/15039, upstream pr ref, https://github.com/grafana/loki/pull/15059 + patch do + url "https://github.com/grafana/loki/commit/5c8542036609f157fee45da7efafbba72308e829.patch?full_index=1" + sha256 "733203854fa0dd828b74e291a72945a511a20b68954964ad56c815f118fc68d6" + end + def install cd "cmd/loki" do system "go", "build", *std_go_args(ldflags: "-s -w") @@ -48,7 +55,7 @@ def install end fork { exec bin/"loki", "-config.file=loki-local-config.yaml" } - sleep 3 + sleep 6 output = shell_output("curl -s localhost:#{port}/metrics") assert_match "log_messages_total", output diff --git a/Formula/p/promtail.rb b/Formula/p/promtail.rb index 9a5bfe3101da7..8b2e91dae664c 100644 --- a/Formula/p/promtail.rb +++ b/Formula/p/promtail.rb @@ -1,8 +1,8 @@ class Promtail < Formula desc "Log agent for Loki" homepage "https://grafana.com/loki" - url "https://github.com/grafana/loki/archive/refs/tags/v3.2.1.tar.gz" - sha256 "4d39632d6cb60a3252ca294558aa7eff2c9bb4b66b62920f4691389d293b6d7b" + url "https://github.com/grafana/loki/archive/refs/tags/v3.3.0.tar.gz" + sha256 "b36148586da9f8b58dc0a44fb3e74f0d03043db2fcf47194bc9d145bf5708b3e" license "AGPL-3.0-only" head "https://github.com/grafana/loki.git", branch: "main" @@ -11,12 +11,12 @@ class Promtail < Formula end bottle do - sha256 cellar: :any_skip_relocation, arm64_sequoia: "ec12a7dfa896bc28d680174acb931f0a0608781c352128a84853a6623b0d6aa1" - sha256 cellar: :any_skip_relocation, arm64_sonoma: "bf29b63fdb7090073793d47fb2609e641d162fbdc79a891ba18fdc4a7f00b273" - sha256 cellar: :any_skip_relocation, arm64_ventura: "137471b53132ed00460101b894e232e0cbf39e4a86b26fc947e779b2a7caf4e0" - sha256 cellar: :any_skip_relocation, sonoma: "4529ef1f5f1ab24cd6b16cddb797ab8892b7164a1d8f958f1a6b32b17fa2aaf7" - sha256 cellar: :any_skip_relocation, ventura: "df46d75311db8fcad5135888adbb5c731b4de4b5c63f6d162b28b969e2b766ef" - sha256 cellar: :any_skip_relocation, x86_64_linux: "dd79c33036cdeaee20150bcc8c3ad233f94b6126ab47375c48c520c4eadd22f1" + sha256 cellar: :any_skip_relocation, arm64_sequoia: "468e01d0a751096243589fca992171ac475825bc27299d94556d0b08d2ee57c4" + sha256 cellar: :any_skip_relocation, arm64_sonoma: "2a93458085926614dbca23ed1460c3cc10dd94d0f2a969ea66911680917902dd" + sha256 cellar: :any_skip_relocation, arm64_ventura: "f3ba080efcbb7ebe6c68c9b6b959b7663f58890dca092b6837e92b6239311ebd" + sha256 cellar: :any_skip_relocation, sonoma: "9ec6cad160b834e20b8385c44ab074840d08544b39f2cb7f029d6c8f5e8cd65f" + sha256 cellar: :any_skip_relocation, ventura: "5cf08383928c7a5536585ba4bf246077896f5f356507358e62f573a0a6f572a5" + sha256 cellar: :any_skip_relocation, x86_64_linux: "079170333008873fcd6ae35246e01bee52d86b19e6e7884cb6982426580e1cb8" end depends_on "go" => :build