mizoguche / wercker-build-trigger

Lambda job with Apex to trigger wercker build.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wercker-build-trigger

Lambda job with Apex to trigger wercker build.

This realizes scheduled wercker build by scheduled lambda function.

Usage

1. Initialize

1.1 Install

See Apex installation description.

1.2 AWS configuration

See Apex AWS credentials description.

1.3 init

$ apex init

And input project settings.

Maybe you don't want default function hello, remove it with $ rm -rf functions/hello.

2. Deploy

$ apex deploy

2. Lambda settings

Configure to trigger Lambda function.

2.1 Environment variables

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.

2.2 Trigger settings

See Examples of How to Use AWS Lambda - AWS Lambda and configure lambda Trigger settings.

License

MIT

About

Lambda job with Apex to trigger wercker build.

License:MIT License


Languages

Language:Go 100.0%