New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack webhook integration for deploys #81

Open
fancyremarker opened this Issue Jan 7, 2015 · 10 comments

Comments

Projects
None yet
10 participants
@fancyremarker
Member

fancyremarker commented Jan 7, 2015

Can be implemented two ways:

  • account level (probably better, as I'm thinking about it now), stored in the API and configured via aptible hooks:add (takes { type: "slack" })
  • app level (can be configured via ENV in this case), a bit dirty

Refs:

@dleve123

This comment has been minimized.

Show comment
Hide comment
@dleve123

dleve123 Jan 7, 2015

Contributor

👍 - would be awesome to know when deploys go through successfully in Slack!

Contributor

dleve123 commented Jan 7, 2015

👍 - would be awesome to know when deploys go through successfully in Slack!

@ozan

This comment has been minimized.

Show comment
Hide comment
@ozan

ozan commented Jan 8, 2015

👍

@jasonriddle

This comment has been minimized.

Show comment
Hide comment
@jasonriddle

jasonriddle Jan 24, 2015

This would be really cool to have... 👍

jasonriddle commented Jan 24, 2015

This would be really cool to have... 👍

@fancyremarker fancyremarker added the ready label Feb 24, 2015

@fancyremarker

This comment has been minimized.

Show comment
Hide comment
@fancyremarker

fancyremarker Feb 24, 2015

Member

Note: initial implementation will be just via after_release block in .aptible.yml. Details coming soon...

Member

fancyremarker commented Feb 24, 2015

Note: initial implementation will be just via after_release block in .aptible.yml. Details coming soon...

@fancyremarker

This comment has been minimized.

Show comment
Hide comment
@fancyremarker

fancyremarker Apr 16, 2015

Member

Possible duplicate of #79

Member

fancyremarker commented Apr 16, 2015

Possible duplicate of #79

@rianrainey

This comment has been minimized.

Show comment
Hide comment
@rianrainey

rianrainey Aug 14, 2015

Any update on this?

rianrainey commented Aug 14, 2015

Any update on this?

@whabib

This comment has been minimized.

Show comment
Hide comment
@whabib

whabib Aug 27, 2015

Nice feature...since I had to script a deployment for pushing from a travis build, I was able to do this with webhooks:

  git push --force aptible master
  if [ $? -eq 0 ]
  then
    curl -X POST --data-urlencode "payload={\"text\": \"Deployed master branch to $APTIBLE_STAGE_ENV\"}" https://hooks.slack.com/services/<tokens they give you>
  else
    curl -X POST --data-urlencode "payload={\"text\": \"Failed deploy to $APTIBLE_STAGE_ENV! What happened, dude?\"}" https://hooks.slack.com/services/<tokens they give you>
  fi

whabib commented Aug 27, 2015

Nice feature...since I had to script a deployment for pushing from a travis build, I was able to do this with webhooks:

  git push --force aptible master
  if [ $? -eq 0 ]
  then
    curl -X POST --data-urlencode "payload={\"text\": \"Deployed master branch to $APTIBLE_STAGE_ENV\"}" https://hooks.slack.com/services/<tokens they give you>
  else
    curl -X POST --data-urlencode "payload={\"text\": \"Failed deploy to $APTIBLE_STAGE_ENV! What happened, dude?\"}" https://hooks.slack.com/services/<tokens they give you>
  fi

@fancyremarker fancyremarker changed the title from Slack webhook integration to Slack webhook integration for deploys Sep 28, 2015

@wcpines wcpines added on deck and removed ready labels Sep 30, 2015

@santry

This comment has been minimized.

Show comment
Hide comment
@santry

santry Mar 28, 2016

We'd also like to be able to add hooks for Slack notifications as well as notifying NewRelic of deployments.

santry commented Mar 28, 2016

We'd also like to be able to add hooks for Slack notifications as well as notifying NewRelic of deployments.

@henrystewart

This comment has been minimized.

Show comment
Hide comment
@henrystewart

henrystewart Mar 7, 2017

Currently a customer. Needed for a friend.

On a similar note, @fancyremarker are there any other place where we could get deployment alerts out side of the Aptible Dashboard?

henrystewart commented Mar 7, 2017

Currently a customer. Needed for a friend.

On a similar note, @fancyremarker are there any other place where we could get deployment alerts out side of the Aptible Dashboard?

@rafaelmezzomo

This comment has been minimized.

Show comment
Hide comment
@rafaelmezzomo

rafaelmezzomo Mar 19, 2017

Currently customer as well. We need slack integration.

rafaelmezzomo commented Mar 19, 2017

Currently customer as well. We need slack integration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment