Skip to content

jthomas/openwhisk-release-verification

Repository files navigation

Apache OpenWhisk Release Candidate Verification Tool

Build Status

This tools helps to verify release candidates for the Apache OpenWhisk project.

Apache OpenWhisk Release Candidate Verification Tool

Live version running at http://apache.jamesthom.as

It automatically runs the following verification steps from the release checklist.

  • Download links are valid.
  • Checksums and PGP signatures are valid.
  • LICENSE and NOTICE files are included and correct.
  • ASF incubation disclaimers removed.

The tool is a web application composed of a static web site (running on Github pages) and Apache OpenWhisk actions (running on IBM Cloud Functions). Actions run all verification steps in the backend.

running

install project dependencies

npm install serverless -g & npm install 

This tool uses The Serverless Framework to configure the Apache OpenWhisk resources. Refer to the documentation for this project to configure the Apache OpenWhisk provider to use.

p.s. IBM Cloud Functions provides free instances of Apache OpenWhisk in multiple public cloud regions. Sign up for a free account here: https://cloud.ibm.com/registration 😎

deploy backend

sls deploy

This will create the actions exposed as the following API endpoints.

  • GET /api/versions - return list of release candidates from here.
  • GET /api/versions/{version} - return release candidate file list.
  • GET /api/versions/{version}/validate - validate release candidate.

configure frontend

Replace API_ENDPOINT in index.html with API Gateway endpoint path for the backend.

run web server

Host the index.html and index.css static web files on a web server, e.g. using Python locally.

python -mSimpleHTTPServer

development

unit tests

npm test

api tests

HOST=<API_HOST> ava -v --fail-fast test/acceptance/

issues / feedback / comments?

Please open an issue in the repo. PRs welcome obviously 😜...

About

Apache OpenWhisk Release Verification Tool

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published