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

notify slack channel #tmp-smoke-failures smoke failures for allowing troubleshooting in the background #3648

Merged
merged 3 commits into from
Nov 20, 2023

Conversation

enekofb
Copy link
Contributor

@enekofb enekofb commented Nov 20, 2023

Closes #3605

What changed?

  • Smokes will notify to slack channel #tmp-smoke-failures

Why was this change made?

How was this change implemented?

  • When there are smoke failures, the report will be generated in case of errors, it will send
  • Implementation was based on steps.{id}.outcome that gives us the ability to detect failures while allowing the step to succeed in combination with continue-on-error

How did you validate the change?

  • Explain how a reviewer can verify the change themselves

Run deploy workflow over a branch and see that in case of failures notifications are being sent to that slack channel.

An example here https://github.com/weaveworks/weave-gitops-enterprise/actions/runs/6927898025

Screenshot 2023-11-20 at 09 57 29 Screenshot 2023-11-20 at 09 57 51

Other follow ups

  • Work on the failures reported on the smokes which could lead to false positives.

@enekofb enekofb added the exclude from release notes Use this label to exclude a PR from the release notes label Nov 20, 2023
@enekofb enekofb requested review from foot and yiannistri November 20, 2023 09:59
@enekofb enekofb marked this pull request as ready for review November 20, 2023 09:59
Copy link
Collaborator

@yiannistri yiannistri left a comment

Choose a reason for hiding this comment

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

Looks good 👍

secrets:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's remove this secret from the Settings, once this gets merged.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i dont have admin permissions on the repo ... do you ? in case not, ill open a ticket with corp

@enekofb enekofb force-pushed the smoke-test-failures-notify branch from f8cfde4 to 87eb2e2 Compare November 20, 2023 11:43
@enekofb enekofb merged commit c561e92 into main Nov 20, 2023
10 checks passed
@enekofb enekofb deleted the smoke-test-failures-notify branch November 20, 2023 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exclude from release notes Use this label to exclude a PR from the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

smoke test failures to notify in a different channel than main to help troubleshooting
2 participants