You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "Raymond Xu (Jira)" <ji...@apache.org> on 2022/04/11 14:02:00 UTC

[jira] [Updated] (HUDI-2882) Validate staged release script should check and warn for all dependencies before the run

     [ https://issues.apache.org/jira/browse/HUDI-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Raymond Xu updated HUDI-2882:
-----------------------------
    Fix Version/s:     (was: 0.11.0)

> 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
>          Components: dependencies
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>            Priority: Minor
>
> 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)