Based on Lambda Container Service
Runs a custom dev webserver which hosts the lambda function which can be hosted on
$ npm start$ npm run testRuns service using dev-server and tests using Newman test collection.
$ npm run test:newmanStart the environment
$ npm run build
$ docker-compose build
$ docker-compose upIn another temrinal, run:
$ curl -XPOST "http://localhost:8001/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.