-
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.
Added [email protected] and [email protected] formula files and upd…
…ated aliases (#114)
- Loading branch information
1 parent
36e2512
commit 96315fb
Showing
4 changed files
with
54 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 @@ | ||
../Formula/[email protected]-rc1.rb | ||
../Formula/[email protected] |
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 @@ | ||
../Formula/[email protected]-rc1.rb | ||
../Formula/[email protected] |
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,16 @@ | ||
class DebeziumAT252185 < Formula | ||
desc "Debezium is an open source distributed platform for change data capture" | ||
homepage "https://github.com/yugabyte/yb-voyager/" | ||
url "https://github.com/yugabyte/yb-voyager/releases/download/yb-voyager%2Fv1.8.5/debezium-server.tar.gz" | ||
version "2.5.2-1.8.5" | ||
sha256 "7c451845751f4c462f13eddb8529f37a7a1e894ebc2fd2600d84c2c09ba6acd4" | ||
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
class YbVoyagerAT185 < 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.8.5.tar.gz" | ||
sha256 "db8c68c8f53c5fb94bdcd226bb497ee025b409eb8e4065b0fe9ce4fec3be5138" | ||
version "1.8.5" | ||
license "Apache-2.0" | ||
depends_on "go" => :build | ||
depends_on "postgresql@16" | ||
depends_on "sqlite" | ||
depends_on "yugabyte/tap/[email protected]" | ||
|
||
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" | ||
cp_r "gather-assessment-metadata", prefix/"etc/yb-voyager/" | ||
end | ||
Dir.chdir("guardrails-scripts") do | ||
(prefix/"opt/").mkdir | ||
(prefix/"opt/yb-voyager").mkdir | ||
(prefix/"opt/yb-voyager/guardrails-scripts").mkdir | ||
cp_r ".", prefix/"opt/yb-voyager/guardrails-scripts" | ||
end | ||
end | ||
|
||
test do | ||
system "#{bin}/yb-voyager", "version" | ||
end | ||
end |