-
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.
Fixed formatting of rb files for 1.7.2 (#91)
- Loading branch information
1 parent
dff1aa0
commit d606430
Showing
2 changed files
with
44 additions
and
46 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,18 +1,17 @@ | ||
class DebeziumAT233172 < 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%2F1.7.2/debezium-server.tar.gz" | ||
version "2.3.3-1.7.2" | ||
sha256 "2fafe1c0dc9401528685b7d9a25c9a9872adee437df0ddd9dcf3687d997cb8e0" | ||
license "Apache-2.0" | ||
depends_on "maven" => :build | ||
depends_on "java11" => :build | ||
|
||
class DebeziumAT233172 < 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%2F1.7.2/debezium-server.tar.gz" | ||
version "2.3.3-1.7.2" | ||
sha256 "2fafe1c0dc9401528685b7d9a25c9a9872adee437df0ddd9dcf3687d997cb8e0" | ||
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 | ||
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,32 +1,31 @@ | ||
class YbVoyagerAT172 < 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.7.2.tar.gz" | ||
sha256 "16ebe7dee1593420df242c18ce5a1cbdac3b00c39b65c5da0441a8dabd3961cd" | ||
version "1.7.2" | ||
license "Apache-2.0" | ||
depends_on "go" => :build | ||
depends_on "libpq" | ||
depends_on "sqlite" | ||
depends_on "yugabyte/tap/debezium@2.3.3-1.7.2" | ||
|
||
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 | ||
end | ||
|
||
class YbVoyagerAT172 < 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.7.2.tar.gz" | ||
sha256 "16ebe7dee1593420df242c18ce5a1cbdac3b00c39b65c5da0441a8dabd3961cd" | ||
version "1.7.2" | ||
license "Apache-2.0" | ||
depends_on "go" => :build | ||
depends_on "libpq" | ||
depends_on "sqlite" | ||
depends_on "yugabyte/tap/debezium@2.3.3-1.7.2" | ||
|
||
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 | ||
end | ||
|
||
test do | ||
system "#{bin}/yb-voyager", "version" | ||
end | ||
end | ||
test do | ||
system "#{bin}/yb-voyager", "version" | ||
end | ||
end | ||
|