Service template using container based lambda function
Runs a custom dev webserver which hosts the lambda function which can be hosted on
$ npm start
$ npm run test
Runs service using dev-server
and tests using Newman test collection.
$ npm run test:newman
Start the environment
$ npm run build
$ docker-compose build
$ docker-compose up
In another temrinal, run:
$ curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'
- Check if container repository exists (Creates if not exists) - Should be in pipeline helpers
- npm run build
- npm run package
- create a release tag on Github Repo
- publish image based on version specified by semantic release.
- Deploy a version to service's lambda by updating the image to release build version.
- And verify health check.