buildkite/lifx-buildkite-build-light-ruby

Name: lifx-buildkite-build-light-ruby

Owner: Buildkite

Description: An example Ruby Buildkite webhook endpoint for creating a LIFX-powered build light

Created: 2015-03-13 05:25:27.0

Updated: 2018-04-05 02:55:11.0

Pushed: 2018-04-05 02:55:10.0

Homepage: https://buildkite.com/docs/webhooks

Size: 22

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

LIFX Buildkite Build Light (Ruby)

An example Ruby Buildkite webhook endpoint for creating a LIFX powered build light.

:v::panda_face::v:

LIFX panda build light in action

Usage
  1. Deploy it to Heroku
    Deploy

  2. Find the secret: In your new Heroku app go to Settings ? Config Variables ? Reveal Config Variables, and copy the WEBHOOK_TOKEN variable value.

  3. Set up the webhook: In Buildkite go to Settings ? Notifications ? Webhooks and add a new webhook pointing to your new Heroku app (don?t forget to choose the project and branch name). The token should be the one generated by Heroku, which you can find in your Heroku project?s environment variables.

  4. Trigger a build! :tada:

Personalising

One bulb per project? One bulb per build pipeline step? A LIFX chandelier that twinkles rainbows after each deploy? The possibilities are endless!

Check out api.developer.lifx.com to see what?s possible with the API, then fork this project, and get hacking.

License

See the LICENSE file for license rights and limitations (MIT).


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.