https://github.com/jthomas/openwhisk-release-verification
Apache OpenWhisk Release Verification Tool
https://github.com/jthomas/openwhisk-release-verification
apache-openwhisk openwhisk serverless serverless-framework
Last synced: 4 months ago
JSON representation
Apache OpenWhisk Release Verification Tool
- Host: GitHub
- URL: https://github.com/jthomas/openwhisk-release-verification
- Owner: jthomas
- License: apache-2.0
- Created: 2019-03-25T12:12:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-05T16:12:52.000Z (almost 7 years ago)
- Last Synced: 2025-04-06T13:33:52.282Z (about 1 year ago)
- Topics: apache-openwhisk, openwhisk, serverless, serverless-framework
- Language: JavaScript
- Homepage: https://apache.jamesthom.as
- Size: 1.26 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Apache OpenWhisk Release Candidate Verification Tool
[](https://travis-ci.org/jthomas/openwhisk-release-verification)
This tools helps to verify release candidates for the Apache OpenWhisk project.

**Live version running at http://apache.jamesthom.as**
It automatically runs the following verification steps from the [release checklist](https://cwiki.apache.org/confluence/display/OPENWHISK/How+to+verify+the+release+checklist+and+vote+on+OpenWhisk+modules+under+Apache).
- **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](https://serverless.com/) to configure the Apache OpenWhisk resources. Refer to the [documentation](https://github.com/serverless/serverless-openwhisk) for this project to configure the Apache OpenWhisk provider to use.
*p.s. [IBM Cloud Functions](https://cloud.ibm.com/openwhisk) 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](https://dist.apache.org/repos/dist/dev/openwhisk/).
- `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= ava -v --fail-fast test/acceptance/
```
## issues / feedback / comments?
Please open an issue in the repo. PRs welcome obviously 😜...