All Projects → lucasgomide → snitch

lucasgomide / snitch

Licence: MIT license
Keep updated about all deploys on Tsuru

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to snitch

Git Deploy
Php Script for Auto-Pull in server (Using WebHook from GitLab, GitHub and Bitbucket)
Stars: ✭ 495 (+2993.75%)
Mutual labels:  webhook, deploy
epf-transmitter
astrizhachuk.github.io/epf-transmitter/
Stars: ✭ 32 (+100%)
Mutual labels:  webhook, deploy
Stage Ci
Automatic deploy previews for your PRs using zeit.co/now.
Stars: ✭ 132 (+725%)
Mutual labels:  webhook, deploy
sre.surmon.me
💻 SRE service for Surmon.me blog.
Stars: ✭ 34 (+112.5%)
Mutual labels:  webhook, deploy
Webhook
webhook is a lightweight incoming webhook server to run shell commands
Stars: ✭ 7,201 (+44906.25%)
Mutual labels:  webhook, deploy
Github To S3 Lambda Deployer
⚓️ GitHub webhook extension for uploading static pages to AWS S3 directly after commiting to master via Lambda written in Node.js
Stars: ✭ 23 (+43.75%)
Mutual labels:  webhook, deploy
Git Auto Deploy
Deploy your GitHub, GitLab or Bitbucket projects automatically on Git push events or web hooks
Stars: ✭ 251 (+1468.75%)
Mutual labels:  webhook, deploy
Self-Hosted-Asp.Net-WebHooks
Self hosted custom webhook receiver and sender
Stars: ✭ 50 (+212.5%)
Mutual labels:  webhook
rocketchat-uptimerobot
Uptime Robot integration for Rocket.Chat
Stars: ✭ 34 (+112.5%)
Mutual labels:  webhook
wp-trigger-netlify-build
A WordPress plugin to automatically rebuild a Netlify site when content is updated.
Stars: ✭ 80 (+400%)
Mutual labels:  webhook
ServiceStack.Webhooks
Add Webhooks to your ServiceStack services
Stars: ✭ 26 (+62.5%)
Mutual labels:  webhook
studio-lab-examples
Example notebooks for working with SageMaker Studio Lab. Sign up for an account at the link below!
Stars: ✭ 319 (+1893.75%)
Mutual labels:  deploy
discord
GitHub webhook that analyzes pull requests and adds comments about incompatible CSS
Stars: ✭ 29 (+81.25%)
Mutual labels:  webhook
chathooks
Service to convert webhook messages to your favorite chat / team messaging format. Run transparently as a formatting webhook proxy.
Stars: ✭ 39 (+143.75%)
Mutual labels:  webhook
gitdub
📤 A github WebHook that emails detailed diffs of your commits.
Stars: ✭ 25 (+56.25%)
Mutual labels:  webhook
OpenGnsys
OpenGnsys (pronounced Open Genesis) is a free and open source project that provides tools for managing and deploying different operating systems.
Stars: ✭ 15 (-6.25%)
Mutual labels:  deploy
wikibot
A 🤖 which provides features from Wikipedia like summary, title searches, location API etc.
Stars: ✭ 25 (+56.25%)
Mutual labels:  webhook
PSDiscord
Simple PowerShell module allowing to send messages to Discord Channel over webhooks
Stars: ✭ 34 (+112.5%)
Mutual labels:  webhook
MailHookBundle
A bundle to catch API webhook from different mail service
Stars: ✭ 36 (+125%)
Mutual labels:  webhook
easydock
Dockerize your PHP apps ;)
Stars: ✭ 52 (+225%)
Mutual labels:  deploy

Snitch

Documentation Coverage Status Go Report Card Build Status

Keep updated about each deploy via Tsuru.

This program will notify your team and many tools when someone has deployed any application via Tsuru.

Quick Start

First one, you have to create a hook's configuration file. This file describe wich hook will be dispatched and the your configurations (e.g webhook_url).

You can add this code into your file, hardcode mode:

slack:
  webhook_url: http://your.webhook.here

or using environment variable:

slack:
  webhook_url: $SLACK_WEBHOOK_URL

So now, You must add this code into your file (tsuru.yaml or tsuru.yml) located in the root of the application at hook's section.

hooks:
  build:
    - curl -sSL https://github.com/lucasgomide/snitch/releases/download/0.1.0/snitch_0.1.0_linux_amd64.tar.gz | tar xz
    - ./snitch_linux/snitch -c path/snitch_config.yml

Put the hook's configuration file path as argument for the -c option.

Options

-c

This option indicates where's the file with the hook's configurations see more.

-app-name-contains

Use it to validate if the snitch should be run. If you tsuru app name does not match it the value of -app-name-contains, the program will stop, and no errors will be raised.

Hook's Configurations

Here is all avaliables hook's configurations and your descriptions. Remember that you may use environment variables to define the options's values.

  • Slack

    • webhook_url Indicates the Webhook URL to dispatch messages to Slack.
  • Sentry

    • host Tell to Snitch your sentry host (e.g http://sentry.io or http://sentry.self.hosted)
    • organization_slug The organization slug is a unique ID used to identify your organization. (You'll find it at your sentry's configuration, probably)
    • project_slug The Project Slug is a unique ID used to identify your project (You'll find it at your project config)
    • auth_token The token used to authenticate on Sentry API. To generate a new token, you have to access manager auth tokens then create a token. If you are using Sentry self hosted, you need change the domain sentry.io to your own domain, example: sentry.snitch.com/api. Find more information on Sentry documentation
    • env The application's environment variable (e.g development, production)
  • Rollbar

    • access_token The access token with post_server_item scope. You can find more here
    • env The application's environment variable (e.g development, production)
  • NewRelic

    • host Tell to Snitch your NewRelic API host (e.g https://api.newrelic.com)
    • application_id The application ID is a unique ID used to identify your application in APM. (You'll find it at the end of the application's page URL)
    • api_key The API Key to use the NewRelic REST API. You can find more here
    • revision The application's current revision (e.g 0.0.1r42)
  • HangoutsChat

    • webhook_url Indicates the Webhook URL to dispatch messages to HangoutsChat Room.

Example

Snitch App Sample

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].