scheduler

command module
v0.0.0-...-b5fafc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2020 License: MIT Imports: 11 Imported by: 0

README

Auto Staging Scheduler

Maintainability Test Coverage GoDoc Go Report Card Build Status

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

  • Golang
  • Go dep

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL