Repository: incubator-ratis Updated Branches: refs/heads/master 00fa4a276 -> da8a0b494
RATIS-395. Upgrade Apache Yetus to 0.8.0. Project: http://git-wip-us.apache.org/repos/asf/incubator-ratis/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ratis/commit/da8a0b49 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ratis/tree/da8a0b49 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ratis/diff/da8a0b49 Branch: refs/heads/master Commit: da8a0b494029ed4a94429eca126b11a780da34aa Parents: 00fa4a2 Author: Tsz Wo Nicholas Sze <[email protected]> Authored: Tue Nov 6 16:05:31 2018 -0800 Committer: Tsz Wo Nicholas Sze <[email protected]> Committed: Tue Nov 6 16:05:31 2018 -0800 ---------------------------------------------------------------------- dev-support/ci/common.sh | 3 ++- dev-support/yetus-wrapper | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/da8a0b49/dev-support/ci/common.sh ---------------------------------------------------------------------- diff --git a/dev-support/ci/common.sh b/dev-support/ci/common.sh index a3129e6..a786524 100644 --- a/dev-support/ci/common.sh +++ b/dev-support/ci/common.sh @@ -32,6 +32,7 @@ mkdir -p "${ARTIFACTS}" "${YETUSDIR}" "${TOOLS}" cp $BASEDIR/dev-support/yetus-personality.sh $WORKSPACE/ cp $BASEDIR/dev-support/docker/Dockerfile $WORKSPACE/ +YETUS_VERSION=${YETUS_VERSION:-0.8.0} echo "Downloading Yetus" -curl -L https://archive.apache.org/dist/yetus/0.5.0/yetus-0.5.0-bin.tar.gz -o yetus.tar.gz +curl -L https://archive.apache.org/dist/yetus/${YETUS_VERSION}/yetus-${YETUS_VERSION}-bin.tar.gz -o yetus.tar.gz gunzip -c yetus.tar.gz | tar xpf - -C "${YETUSDIR}" --strip-components 1 http://git-wip-us.apache.org/repos/asf/incubator-ratis/blob/da8a0b49/dev-support/yetus-wrapper ---------------------------------------------------------------------- diff --git a/dev-support/yetus-wrapper b/dev-support/yetus-wrapper index dc40a7e..ae05d42 100644 --- a/dev-support/yetus-wrapper +++ b/dev-support/yetus-wrapper @@ -13,6 +13,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. + # you must be this high to ride the ride if [[ -z "${BASH_VERSINFO[0]}" ]] \ || [[ "${BASH_VERSINFO[0]}" -lt 3 ]] \ @@ -72,10 +73,10 @@ WANTED="$1" shift ARGV=("$@") -HADOOP_YETUS_VERSION=${HADOOP_YETUS_VERSION:-0.4.0} +HADOOP_YETUS_VERSION=${HADOOP_YETUS_VERSION:-0.8.0} BIN=$(yetus_abs "${BASH_SOURCE-$0}") BINDIR=$(dirname "${BIN}") -echo "${WANTED}" + ### ### if YETUS_HOME is set, then try to use it ###
