Get Slack Notifications For System Upgrades
Make it easier for people want to get more information about prod upgrades by setting up notifications from a Slack channel.
Join the DZone community and get the full member experience.
Join For Freehas the deployment been initiated? is it already finished? how does it look after the deployment? these are typical questions people frequently ask, especially managers and key holders.
thanks to slack, teams 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 upgrades for better sync-up and better control.
why we need slack notifications
-
different people may want to check the upgrade process.
- to track upgrade history for further troubleshooting.
backbone: deployment automation + jenkins + slack
let’s assume the following:
-
we can do one-command deployment.
-
the monitoring system is properly configured.
thus, we can wrap up the deployment automation scripts as a jenkins job and enable a slack jenkins plugin, then configure the job to send slack notifications whenever the job starts or ends.
another question people will constantly ask is, "how healthy is my environment?" here, we rely on a monitoring system. 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 upgrades, it’s much easier; just subscribe or check slack channels.
any improvements or suggestions? share your experience with us!
Published at DZone with permission of Denny Zhang, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments