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: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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