Skip to content

samjeffress/bakery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Bakery

Serverless function to manage your Status Cake tests.

Why?

Because Status Cake's API isn't idempotent (it'll keep creating new tests for the same endpoint), so Bakery keeps track of what you have created and can update tests too.

How do I run this?

  • Clone the repo git@github.com:samjeffress/bakery.git or sls install -u https://github.com/samjeffress/bakery
  • Setup your Status Cake variables in your environment variables:
    • STATUS_CAKE_API_KEY
    • STATUS_CAKE_USER
  • Make sure your AWS Credentials are setup - serverless aws credentials
  • sls deploy

Hooray!

You probably want to add an api key to your API Gateway service.

To add a new check:

POST to /statuscheck
{
  "stackName":"cats", 
  "endpoint":"https://google.com?cats"
  "contactGroup":"contact group to be alerted", ## Optional
  "tags":"list,of,tags,to,put,onyour,alert" ## Optional
}

About

cook up some status cake alerts

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published