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
ci: add slack notification to GH actions #16218
Conversation
Signed-off-by: Maciej Kwiek <maciej@isovalent.com>
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.
Why does it matter if the test was cancelled?
@aanm cancellation can be caused by a timeout, which will allow us to investigate whether the timeout should be increased, or something else causing timeouts started happening. |
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 is great 🚀
Besides the cancelled()
issue mentioned below, I'm a bit concerned about the number of notifications we will receive though. Where are the notifications sent? Will we receive notifications for every single check failing, in every single pull request?
@@ -230,3 +230,12 @@ jobs: | |||
description: Connectivity test cancelled | |||
state: pending | |||
target_url: ${{ env.check_url }} | |||
|
|||
- name: Send slack notification | |||
if: ${{ (cancelled() || failure()) && (github.event_name == 'schedule' || github.event_name == 'push') }} |
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.
In cilium-cli, this was changed to !success()
. Should we also make that consistent here as well? cilium/cilium-cli#237 (comment)
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.
No description provided.