-
Notifications
You must be signed in to change notification settings - Fork 153
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
Add notification event DEPLOYMENT_STARTED #5340
Conversation
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
Signed-off-by: Shinnosuke Sawada-Dazai <[email protected]>
message NotificationEventDeploymentStarted { | ||
Deployment deployment = 1 [(validate.rules).message.required = true]; | ||
repeated string mentioned_accounts = 3; | ||
repeated string mentioned_groups = 4; | ||
} |
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 skipped field No. 2 because other codes skipped it.
I don't know why, but I think it's better to do the same as the other codes.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5340 +/- ##
==========================================
- Coverage 25.31% 25.31% -0.01%
==========================================
Files 444 444
Lines 47601 47641 +40
==========================================
+ Hits 12049 12059 +10
- Misses 34609 34640 +31
+ Partials 943 942 -1 ☔ View full report in Codecov by Sentry. |
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.
Thank you! LGTM
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.
LGTM 👍
Note: We should have some kind of state machine chart on docs to show the event state order
What this PR does:
as title
The users can receive notification when the deployments started.
I tested with Slack notification.
Why we need it:
I want to know when the Deployment status changed to RUNNING.
Which issue(s) this PR fixes:
Part of #2002
Does this PR introduce a user-facing change?: Yes
How are users affected by this change:
Users can configure the piped to send notifications when deployments start.
Is this breaking change: No
How to migrate (if breaking change): N/A