[
https://issues.apache.org/jira/browse/HUDI-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manoj Govindassamy updated HUDI-2882:
-------------------------------------
Fix Version/s: 0.11.0
(was: 0.11)
> 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
> Priority: Minor
> Fix For: 0.11.0
>
>
> 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)