11class Conduit < Formula
22 desc "Streams data between data stores. Kafka Connect replacement. No JVM required"
33 homepage "https://conduit.io/"
4- url "https://github.com/ConduitIO/conduit/archive/refs/tags/v0.12.3 .tar.gz"
5- sha256 "cda35d6ddafa5b4aac7607cd0ba3438658bb806a8c114f28fec3613c007cac03 "
4+ url "https://github.com/ConduitIO/conduit/archive/refs/tags/v0.13.0 .tar.gz"
5+ sha256 "836ee4a93124193195770f97f3101353909722e5a317411ac409ed49517ae2b0 "
66 license "Apache-2.0"
77 head "https://github.com/ConduitIO/conduit.git" , branch : "main"
88
@@ -12,12 +12,12 @@ class Conduit < Formula
1212 end
1313
1414 bottle do
15- sha256 cellar : :any_skip_relocation , arm64_sequoia : "68987192d70edccf62cd031b7b3a98c668f2aada0a977535f49318fa86298917 "
16- sha256 cellar : :any_skip_relocation , arm64_sonoma : "e32ae6496f7edcfa24ecdcfda79f74c0fbcce94fadc631c52a0fbb30a59d9812 "
17- sha256 cellar : :any_skip_relocation , arm64_ventura : "9123b742930841b6e8a62178faed6d629b3e078c1e6d07b122795b25da021f68 "
18- sha256 cellar : :any_skip_relocation , sonoma : "181108af97da9729aaf4a55e25a2929d0a4f3797adbb7593f032f372352ba2b9 "
19- sha256 cellar : :any_skip_relocation , ventura : "535326d8fd62d4a634f116d2de4cb3c418cf49b3fb3766c99e70bfda658eb613 "
20- sha256 cellar : :any_skip_relocation , x86_64_linux : "236d33d23dda258b4443464c0898a925b5afe9fd8040511b2b9cc9dd0b48afb3 "
15+ sha256 cellar : :any_skip_relocation , arm64_sequoia : "00181acc7b10dc104d7f3301bae9dc5db7483ad9e7c35e1993163c79382d764a "
16+ sha256 cellar : :any_skip_relocation , arm64_sonoma : "d72e4af15f13223048b4646db034d47bb2e92ce755b5ae5621473135d2a0e130 "
17+ sha256 cellar : :any_skip_relocation , arm64_ventura : "49a0733a829897ad2bdb5e56d54d17ca4132be2731b0ab490d00bdf890e892ef "
18+ sha256 cellar : :any_skip_relocation , sonoma : "f8a185971d1b7f1731306ffc2c492e9d35a0d66afaabbd930cae2900573fbca6 "
19+ sha256 cellar : :any_skip_relocation , ventura : "06e00255f771c93328976c24c8fde08d808600c0217297ade1e7ba5d12ed032a "
20+ sha256 cellar : :any_skip_relocation , x86_64_linux : "4f74708ffd5a721f45198ddccfea82ffe11d7d83f56aaef2348a4203e2edeca9 "
2121 end
2222
2323 depends_on "go" => :build
@@ -35,11 +35,9 @@ def install
3535 File . open ( "output.txt" , "w" ) do |file |
3636 # redirect stdout to the file
3737 $stdout. reopen ( file )
38- pid = fork do
39- # Run conduit with random free ports for gRPC and HTTP servers
40- exec bin /"conduit" , "--grpc.address" , ":0" ,
41- "--http.address" , ":0"
42- end
38+ pid = spawn bin /"conduit" , "run" , "--api.enabled" , "true" ,
39+ "--api.grpc.address" , ":0" ,
40+ "--api.http.address" , ":0"
4341 sleep ( 5 )
4442 # Kill process
4543 Process . kill ( "SIGKILL" , pid )
0 commit comments