Skip to content

Commit a87be52

Browse files
BrewTestBotdaeho-ro
authored andcommitted
monika 1.21.2
1 parent 7ae3f0d commit a87be52

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Formula/m/monika.rb

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Monika < Formula
22
desc "Synthetic monitoring made easy"
33
homepage "https://monika.hyperjump.tech"
4-
url "https://registry.npmjs.org/@hyperjumptech/monika/-/monika-1.21.1.tgz"
5-
sha256 "f0f87ce40c771b2b7b4c723ddec41200bf180ff788138559dad0cf4fd731d6b6"
4+
url "https://registry.npmjs.org/@hyperjumptech/monika/-/monika-1.21.2.tgz"
5+
sha256 "a9280ac4c288a79c77c28263042fab1d4cc785ef08f94d0cfd3cb25b7e40dce4"
66
license "MIT"
77

88
bottle do
@@ -32,6 +32,11 @@ def install
3232
node_modules = libexec/"lib/node_modules/@hyperjumptech/monika/node_modules"
3333
node_modules.glob("nice-napi/prebuilds/*")
3434
.each { |dir| rm_r(dir) if dir.basename.to_s != "#{os}-#{arch}" }
35+
36+
cpu_profiler = "@sentry/profiling-node/lib/sentry_cpu_profiler"
37+
node_modules.glob("#{cpu_profiler}-*")
38+
.each { |file| rm(file) unless file.basename.to_s.start_with?("sentry_cpu_profiler-#{os}-#{arch}") }
39+
node_modules.glob("#{cpu_profiler}-*-musl-*").map(&:unlink) if OS.linux?
3540
end
3641

3742
test do
@@ -53,7 +58,8 @@ def install
5358
$stdout.reopen(monika_stdout)
5459
exec bin/"monika", "-r", "1", "-c", testpath/"config.yml"
5560
end
56-
sleep 14
61+
sleep 15
62+
sleep 15 if OS.mac? && Hardware::CPU.intel?
5763

5864
assert_match "Starting Monika. Probes: 1. Notifications: 1", monika_stdout.read
5965
end

0 commit comments

Comments
 (0)