HBASE-24297 release scripts should be able to use a custom git repo
commita9fefd7f533cf9bdb6369d7159ab0df3e01b357d
authorSean Busbey <busbey@apache.org>
Wed, 6 May 2020 19:34:55 +0000 (6 14:34 -0500)
committerSean Busbey <busbey@apache.org>
Sat, 23 May 2020 03:24:12 +0000 (22 22:24 -0500)
tree4dd8ce5934faad23612c3977f1d276b03672cd1a
parent8ff8e70edfbb50967cf123e6afdd9cc5dcfa4878
HBASE-24297 release scripts should be able to use a custom git repo

* adds a optional -r [repo] arg
* if the passed repo is on the local filesystem, creates a container mount
* when cloning a local repo configure git to share objects with the local repo instead of copying
* when cloning a local repo in a container configure the clone to have a remote that will work back on the host.

closes #1725

Signed-off-by: stack <stack@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
dev-support/create-release/do-release-docker.sh
dev-support/create-release/release-build.sh
dev-support/create-release/release-util.sh