Get Slack Notifications For System Upgrade

Has the deployment been initiated? Already finished? And how does it look after the deployment? These are typical questions people will frequently ask. Especially managers and key holders.

Thanks to Slack, team can sync up much easier than before. With more and more DevOps adoptions, we’re likely to have one-button click deployment.
Let’s send out slack notifications for system upgrade. Better sync up, better control.

Get Slack Notifications For System Upgrade



1.1 Why We Need Slack Notifications[1]

  1. Different people may want to check upgrade process.
  2. Track upgrade history for further trouble shooting.

1.2 Backbone: Deployment Automation + Jenkins + Slack

Let’s assume:

  1. We can do one command deployment.
  2. Monitoring system is properly configured.

Get Slack Notifications For System Upgrade

Thus we can wrap up the deployment automation scripts as a Jenkins job. And enable slack Jenkins plugin[2]. Then configure the job to send slack notifications, whenever the job starts or ends.

Get Slack Notifications For System Upgrade

Another question people will constantly ask: how healthy my env is? Here we rely on monitoring system. So we can ask monitoring to send out slack notifications for all major issues.

Put it all together, here comes a demo. Now when people want to get more information about prod upgrade, it’s much easier. Just subscribe or check slack channels.

Get Slack Notifications For System Upgrade

Any improvements or suggestions? Share your experience with us!

[1] https://slack.com
[2] https://wiki.jenkins-ci.org/display/JENKINS/Slack+Plugin

More Reading:

linkedin
github
slack

PRs Welcome

Blog URL: https://www.dennyzhang.com/slack_deployment


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.