You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Manoj Govindassamy (Jira)" <ji...@apache.org> on 2021/11/29 18:31:00 UTC
[jira] [Created] (HUDI-2882) Validate staged release script should check and warn for all dependencies before the run
Manoj Govindassamy created HUDI-2882:
----------------------------------------
Summary: Validate staged release script should check and warn for all dependencies before the run
Key: HUDI-2882
URL: https://issues.apache.org/jira/browse/HUDI-2882
Project: Apache Hudi
Issue Type: Task
Reporter: Manoj Govindassamy
Assignee: Manoj Govindassamy
Fix For: 0.11
scripts/validate_staged_release.sh script depends on few external tools for the release repo verification. All these tools existence should be checked upfront and warned if not available before starting the verification run. Otherwise, the scipt runs for a while and fails with missing tool which is not a stage release repo failure.
{noformat}
grep bash ./release/validate_staged_release.sh
#!/bin/bash
(bash -c "svn co ${ROOT_SVN_URL}/${REPO_TYPE}/${HUDI_REPO} $REDIRECT") || (echo -e "\t\t Unable to checkout ${ROOT_SVN_URL}/${REPO_TYPE}/${HUDI_REPO} to $REDIRECT. Please run with --verbose to get details\n" && exit -1)
(bash -c "gpg --import ../KEYS $REDIRECT" && bash -c "gpg --verify hudi-${ARTIFACT_SUFFIX}.src.tgz.asc hudi-${ARTIFACT_SUFFIX}.src.tgz $REDIRECT" && echo -e "\t\tSignature Check - [OK]\n") || (echo -e "\t\tSignature Check - [FAILED] - Run with --verbose to get details\n" && exit -1)
(bash -c "tar -zxf hudi-${ARTIFACT_SUFFIX}.src.tgz $REDIRECT") || (echo -e "\t\t Unable to untar hudi-${ARTIFACT_SUFFIX}.src.tgz . Please run with --verbose to get details\n" && exit -1)
(bash -c "mvn apache-rat:check $REDIRECT") || (echo -e "\t\t Rat Check Failed. Please run with --verbose to get details\n" && exit -1){noformat}
--
This message was sent by Atlassian Jira
(v8.20.1#820001)