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

Send Slack notification on RC deploy fail #1698

Merged
merged 1 commit into from
Jun 15, 2023
Merged

Conversation

nmattia
Copy link
Collaborator

@nmattia nmattia commented Jun 15, 2023

This updates the RC deployment to notify the team if the deployment failed. This is similar to what we do for other scheduled jobs (node updated, rust update, etc).

This updates the RC deployment to notify the team if the deployment
failed. This is similar to what we do for other scheduled jobs (node
updated, rust update, etc).
Copy link
Collaborator

@przydatek przydatek left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!


# Since the this is a scheduled job, a failure won't be shown on any
# PR status. To notify the team, we send a message to our Slack channel on failure.
- name: Notify Slack on failure
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: not sure whether this is relevant, but maybe: most of the other - name: entries above are in quotation marks (except for the one in line 79), so maybe use them also here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That's right! We use both somewhat inconsistently, as YAML allows for both. Other "Notify Slack on failure" entries use this style (without quotes), I just copy/pasted one.

@nmattia nmattia merged commit 900c287 into main Jun 15, 2023
@nmattia nmattia deleted the nm-deploy-rc-slack-failure branch June 15, 2023 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants