Auto Staging Scheduler
Scheduler gets invoked by CloudWatchEvents rules or the Tower Lambda function, it starts and stops EC2 Instances and RDS Clusters for the given
repository and branch (Environment)
CloudWatchEvents Bodys
Start
{
"repository": "demo-app",
"branch": "feat/branch",
"action": "start"
}
Stop
{
"repository": "demo-app",
"branch": "feat/branch",
"action": "stop"
}
Requirements
Usage
Install dependencies
Go dep must be installed
make prepare
Execute tests
make tests
Build binary
make build
compiles to bin/auto-staging-scheduler
License and Author
Author: Jan Ritter
License: MIT