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

chore: add slack notificaitons #4658

Merged
merged 3 commits into from
Apr 29, 2024
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
12 changes: 12 additions & 0 deletions .github/workflows/blackduck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,15 @@ jobs:
DETECT_TIMEOUT: 6000
DETECT_YARN_EXCLUDED_WORKSPACES: test-packages/**
DETECT_YARN_DEPENDENCY_TYPES_EXCLUDED: NON_PRODUCTION
- if: failure() || cancelled()
name: Slack Notify
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: SDK Pipeline Bot
SLACK_TITLE: Blackduck scan ${{ job.status }}
SLACK_MESSAGE: ' '
MSG_MINIMAL: event,actions url
SLACK_COLOR: ${{ job.status }}
SLACK_MSG_AUTHOR: ' '
SLACK_ICON: https://sap.github.io/cloud-sdk/img/logo.png
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,19 @@ jobs:
- run: yarn test:self
- run: yarn test:build-packages
- run: yarn test:type
- if: ${{ github.event_name != 'pull_request' && (failure() || cancelled()) }}
name: Slack Notify
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: SDK Pipeline Bot
SLACK_TITLE: Build tests ${{ job.status }} (${{ matrix.version }})
SLACK_MESSAGE: ' '
MSG_MINIMAL: event,actions url
SLACK_COLOR: ${{ job.status }}
SLACK_MSG_AUTHOR: ' '
SLACK_ICON: https://sap.github.io/cloud-sdk/img/logo.png

checks:
if: inputs.canary-release == false
runs-on: ubuntu-latest
Expand Down Expand Up @@ -77,6 +90,19 @@ jobs:
name: API Doc Check
- run: yarn check:license
name: License Check
- if: ${{ github.event_name != 'pull_request' && (failure() || cancelled()) }}
name: Slack Notify
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: SDK Pipeline Bot
SLACK_TITLE: Build checks ${{ job.status }} (${{ matrix.version }})
SLACK_MESSAGE: ' '
MSG_MINIMAL: event,actions url
SLACK_COLOR: ${{ job.status }}
SLACK_MSG_AUTHOR: ' '
SLACK_ICON: https://sap.github.io/cloud-sdk/img/logo.png

e2e-tests:
if: inputs.canary-release == false
runs-on: ubuntu-latest
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/fosstars-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,15 @@ jobs:
with:
report-branch: fosstars-report
token: '${{ secrets.GH_CLOUD_SDK_JS_ADMIN_WRITE_TOKEN }}'
- if: failure() || cancelled()
name: Slack Notify
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: SDK Pipeline Bot
SLACK_TITLE: Fosstars scan ${{ job.status }}
SLACK_MESSAGE: ' '
MSG_MINIMAL: event,actions url
SLACK_COLOR: ${{ job.status }}
SLACK_MSG_AUTHOR: ' '
SLACK_ICON: https://sap.github.io/cloud-sdk/img/logo.png
12 changes: 12 additions & 0 deletions .github/workflows/memory-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,15 @@ jobs:
working-directory: test-packages/memory-tests/sdk-canary/
- run: yarn ts-node scripts/compare-memory-usage.ts $(cat ./test-packages/memory-tests/sdk-v2/result.txt) $(cat ./test-packages/memory-tests/sdk-canary/result.txt)
name: compare v2 and canary
- if: failure() || cancelled()
name: Slack Notify
uses: rtCamp/[email protected]
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_USERNAME: SDK Pipeline Bot
SLACK_TITLE: Memory tests ${{ job.status }}
SLACK_MESSAGE: ' '
MSG_MINIMAL: event,actions url
SLACK_COLOR: ${{ job.status }}
SLACK_MSG_AUTHOR: ' '
SLACK_ICON: https://sap.github.io/cloud-sdk/img/logo.png
Loading