Skip to content

Commit

Permalink
Added files for 1.6.0 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivanshGahlot authored Nov 30, 2023
1 parent 001dda1 commit 414a0f6
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Formula/debezium.rb
15 changes: 15 additions & 0 deletions Formula/debezium@2.2.0-1.6.0.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
class DebeziumAT220160 < 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.0/debezium-server-2.2.0-1.6.0.tar.gz"
version "2.2.0-1.6.0"
sha256 "478350b166e255af1efe812c96322887f6ab8e046a3dada6939c57746b8d0227"
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
2 changes: 1 addition & 1 deletion Formula/yb-voyager.rb
31 changes: 31 additions & 0 deletions Formula/yb-voyager@1.6.0.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
class YbVoyagerAT160 < 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.0.tar.gz"
sha256 "6006ecae4942bf99c1116f9699818d313dac5ec3bd071711b1a45434f249b2c1"
version "1.6.0"
license "Apache-2.0"

depends_on "go" => :build
depends_on "libpq"
depends_on "sqlite"
depends_on "yugabyte/tap/debezium@2.2.0-1.6.0"

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

0 comments on commit 414a0f6

Please sign in to comment.