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

ci: Notify slack of codegen failures #5273

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/actions/e2e/slack/notify/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ inputs:
suite:
description: "Suite that's running"
required: true
k8s_version:
description: "Kubernetes version that this test ran against"
url:
description: "Webhook URL to send the Slack notification to"
required: true
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/codegen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,9 @@ jobs:
issue_number: result.data.number,
labels: ['aws', 'dependencies']
});
- name: notify slack of success or failure
uses: ./.github/actions/e2e/slack/notify
if: (success() || failure())
with:
url: ${{ secrets.SLACK_WEBHOOK_URL }}
suite: codegen
1 change: 0 additions & 1 deletion .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ jobs:
with:
url: ${{ secrets.SLACK_WEBHOOK_URL }}
suite: Upgrade
k8s_version: ${{ inputs.k8s_version }}
git_ref: ${{ inputs.to_git_ref }}
- name: dump logs on failure
uses: ./.github/actions/e2e/dump-logs
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ jobs:
with:
url: ${{ secrets.SLACK_WEBHOOK_URL }}
suite: ${{ inputs.suite }}
k8s_version: ${{ inputs.k8s_version }}
git_ref: ${{ inputs.git_ref }}
- name: dump logs on failure
uses: ./.github/actions/e2e/dump-logs
Expand Down