Skip to content
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 notifications for deployments #1000

Merged
merged 3 commits into from
Jan 25, 2017

Conversation

danepowell
Copy link
Contributor

Many project teams use Slack to coordinate with customers and partners. It's very useful to have a #deployments channel to track successful and failed deployments for QA and UAT.

With this patch, all a project has to do is define a Slack Webhook URL following the steps here: https://github.com/acquia/cloud-hooks/pull/43/files

If a webhook URL isn't defined, the script does nothing.

@@ -21,5 +21,6 @@ acsf_file="/mnt/files/$AH_SITE_GROUP.$AH_SITE_ENVIRONMENT/files-private/sites.js
if [ ! -f $acsf_file ]; then
. /var/www/html/$site.$target_env/vendor/acquia/blt/scripts/cloud-hooks/functions.sh
deploy_updates
. `dirname $0`/../slack.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment indicating what is happening here.

@grasmash
Copy link
Contributor

Can we document this feature?

@grasmash grasmash added documentation Enhancement A feature or feature request and removed documentation labels Jan 23, 2017
@grasmash grasmash merged commit 1cabc4c into acquia:8.x Jan 25, 2017
@danepowell danepowell deleted the feature/slack-notifications branch December 6, 2017 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement A feature or feature request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants