chetanmeh commented on issue #254: Release verification script. URL: https://github.com/apache/incubator-openwhisk-release/pull/254#issuecomment-476256021 I tried it with a linux image it works fine. So expect it to work on linux setups if required dependencies are present (curl, git, gnupg etc) ```bash $ docker run --rm -it openwhisk/ow-utils $ wget https://raw.githubusercontent.com/apache/incubator-openwhisk-release/2160bd0af66fe40c5e0c07773b69311bebd2e00b/rcverify.sh $ chmod +x rcverify.sh $ ./rcverify.sh openwhisk-package-alarms 'OpenWhisk Package Alarms' 2.0.0 rc2 working in the following directory: /tmp/tmp.6Ba3xgUSKi fetching openwhisk-package-alarms-2.0.0-incubating-sources.tar.gz fetching openwhisk-package-alarms-2.0.0-incubating-sources.tar.gz.asc fetching openwhisk-package-alarms-2.0.0-incubating-sources.tar.gz.sha512 fetching release keys import keys gpg: directory '/root/.gnupg' created gpg: keybox '/root/.gnupg/pubring.kbx' created gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key 72AF0CC22C4CF320: public key "Vincent Hou (Release manager of OpenWhisk) <houshen...@apache.org>" imported gpg: key 22907064147F886E: public key "Dave Grove <gro...@us.ibm.com>" imported gpg: Total number processed: 2 gpg: imported: 2 unpacking tar ball cloning scancode Cloning into 'incubator-openwhisk-utilities'... remote: Enumerating objects: 52, done. remote: Counting objects: 100% (52/52), done. remote: Compressing objects: 100% (35/35), done. remote: Total 52 (delta 23), reused 34 (delta 15), pack-reused 0 Unpacking objects: 100% (52/52), done. computing sha512 and validating... passed verifying asc... passed verifying disclaimer... passed verifing notice... passed verifying license... verifying sources have proper headers... passed scanning for binaries... failed (/tmp/tmp.6Ba3xgUSKi/incubator-openwhisk-package-alarms-2.0.0-incubating/package.json) scanning for archives... passed scanning for packages... passed run the following command to remove the scratch space: rm -rf '/tmp/tmp.6Ba3xgUSKi' ``` So once we commit this we may add this script to ow-utils docker image and then users can simply run the command without bothering about required dependencies present locally (specially python for scan utilities) ``` docker run --rm -it openwhisk/ow-utils rcverify openwhisk-package-alarms 'OpenWhisk Package Alarms' 2.0.0 rc2 ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services