hudi-bot opened a new issue, #14931:
URL: https://github.com/apache/hudi/issues/14931
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}
## JIRA info
- Link: https://issues.apache.org/jira/browse/HUDI-2882
- Type: Task
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]