Lambda job with Apex to trigger wercker build.
This realizes scheduled wercker build by scheduled lambda function.
See Apex installation description.
See Apex AWS credentials description.
$ apex init
And input project settings.
Maybe you don't want default function hello
, remove it with $ rm -rf functions/hello
.
$ apex deploy
Configure to trigger Lambda function.
Configure environment variables in ./project.json
.
All variables are required.
- WERCKER_TOKEN
- WERCKER_PIPELINE_ID
- WERCKER_MESSAGE
See Authentication and Run in wercker docs for more detail.
See Examples of How to Use AWS Lambda - AWS Lambda and configure lambda Trigger settings.
MIT