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

Add Job to end of GitHub workflows to report failed workflow in Slack #1996

Closed
17 tasks done
jadecarino opened this issue Sep 19, 2024 · 1 comment
Closed
17 tasks done
Assignees

Comments

@jadecarino
Copy link

jadecarino commented Sep 19, 2024

Story

As a Galasa developer, I want to be notified if a GitHub Actions workflow fails, so I can diagnose the failure and provide a fix.

Background

The GitHub Actions workflows are currently missing a Job at the end which reports failed workflows into the galasa-devs Slack channel, similar to what the Tekton builds did.

Tasks

  • Add new command to galasabld for failed workflows
  • Add Job to the end of each workflow that only runs if any of the previous Jobs failed - this Job should have one step which uses the galasabld slackpost workflows command to post a message into galasa-devs
    • wrapping
    • gradle
    • maven
    • framework
    • extensions
    • managers
    • obr
    • cli
    • isolated
    • simplatform
    • helm
    • webui
    • buildutils
    • automation
  • The Slack webhook token will need to be added to the galasa-devs org Secrets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done - in iteration
Development

No branches or pull requests

2 participants
@jadecarino and others