-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
414a0f6
commit 5ab448b
Showing
4 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
debezium@2.2.0-1.6.0.rb | ||
debezium@2.2.0-1.6.1.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
class DebeziumAT220161 < Formula | ||
desc "Debezium is an open source distributed platform for change data capture" | ||
homepage "https://github.com/yugabyte/debezium/" | ||
url "https://github.com/yugabyte/debezium/releases/download/2.2.0-1.6.1/debezium-server-2.2.0-1.6.1.tar.gz" | ||
version "2.2.0-1.6.1" | ||
sha256 "7c246a6c932ddf6195a1d0e89267539ed736919c21b003d56a0ec24c859e0403" | ||
license "Apache-2.0" | ||
depends_on "maven" => :build | ||
depends_on "java11" => :build | ||
def install | ||
ENV.deparallelize | ||
(prefix/"debezium-server").mkdir | ||
cp_r ".", prefix/"debezium-server" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
yb-voyager@1.6.0.rb | ||
yb-voyager@1.6.1.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
class YbVoyagerAT161 < Formula | ||
desc "YugabyteDB's migration tool" | ||
homepage "https://github.com/yugabyte/yb-voyager/" | ||
url "https://github.com/yugabyte/yb-voyager/archive/refs/tags/yb-voyager/v1.6.1.tar.gz" | ||
sha256 "8f66ea25df262bfee3f18b45761f78980ed45c12fbc46389f661833b6d73816c" | ||
version "1.6.1" | ||
license "Apache-2.0" | ||
|
||
depends_on "go" => :build | ||
depends_on "libpq" | ||
depends_on "sqlite" | ||
depends_on "yugabyte/tap/debezium@2.2.0-1.6.1" | ||
|
||
def install | ||
ENV.deparallelize | ||
Dir.chdir("yb-voyager") do | ||
system "go", "build" | ||
bin.install "yb-voyager" | ||
end | ||
Dir.chdir("yb-voyager/src/srcdb/data") do | ||
(prefix/"etc/").mkdir | ||
(prefix/"etc/yb-voyager/").mkdir | ||
cp_r "pg_dump-args.ini", prefix/"etc/yb-voyager/pg_dump-args.ini" | ||
end | ||
end | ||
|
||
test do | ||
system "#{bin}/yb-voyager", "version" | ||
end | ||
end | ||
|