Closed tmu-sprd closed 4 months ago
@tmu-sprd anything else you're waiting on before we merge this?
@dhollinger I'm currently preparing a unit test for the teams function. Should be done this week.
@dhollinger Added unit test for teams. My changes are done and ready for review. Thanks a lot
This PR adds the ability to send notifications to Microsoft Teams. Currently Slack and RocketChat are supported.
The notifications are sent via an AdaptiveCard. The messages are colored: green for successful, red for errors and orange, if there are warnings in the r10k output. The PostMessage function is extended to add the output of r10k hidden underneath a "Details" button.
This is the first time, I did something in Go. If there is something to improve, I'm happy for suggestions.