This repository has been archived by the owner on Jan 29, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dhollinger
force-pushed
the
slack_as_plugin
branch
from
April 30, 2018 22:14
c8dedf4
to
016514e
Compare
dhollinger
force-pushed
the
slack_as_plugin
branch
from
May 1, 2018 01:50
016514e
to
0dcd860
Compare
dhollinger
force-pushed
the
slack_as_plugin
branch
from
May 1, 2018 01:52
0dcd860
to
dd9c973
Compare
dhollinger
force-pushed
the
slack_as_plugin
branch
from
May 1, 2018 12:30
d6c9970
to
635d2c5
Compare
ekohl
suggested changes
May 1, 2018
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the abstraction.
lib/helpers/tasks.rb
Outdated
@@ -65,59 +65,46 @@ def generate_types(environment) | |||
notify_slack(status_message) if slack? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This (and line 61) should be notification()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! I'll take care of that.
dhollinger
force-pushed
the
slack_as_plugin
branch
from
May 1, 2018 14:09
635d2c5
to
f2d369e
Compare
ekohl
reviewed
May 1, 2018
lib/plugins/chatops/slack.rb
Outdated
when 202 | ||
message.merge!( | ||
color: 'good', | ||
text: "Successfully deployed #{target}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
202 is technically just forked and can still fail. Should this be Deployment started
?
dhollinger
force-pushed
the
slack_as_plugin
branch
from
May 1, 2018 14:42
5074849
to
178770e
Compare
bastelfreak
approved these changes
May 1, 2018
ekohl
approved these changes
May 1, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Build plugin for Chatops tools to replace the
notify_
methods within the helpers.Still a work in progress. Initial support being built for Slack.
Next PR will support Rocket.chat to bring the app in-line with the
puppet-r10k
script.