Skip to content

update ppls with notification #7

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

Merged
merged 2 commits into from
Mar 19, 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
8 changes: 4 additions & 4 deletions .github/workflows/ci_ut_ext_base_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: UT CI Run for Python Extension Base
name: CI Run for Python Extension Base

on:
push:
Expand All @@ -18,7 +18,7 @@ on:

jobs:
build:
name: "Python Extension Base UT CI Run"
name: "Python Extension Base CI Run"
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
notification-summary: "Python Extension Base UT CI Failed"
notification-summary: "Python Extension Base CI Failed"
notification-color: FF0000
timezone: America/Denver
verbose-logging: false
Expand All @@ -77,7 +77,7 @@ jobs:
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
notification-summary: "Python Extension Base UT CI Passed"
notification-summary: "Python Extension Base CI Passed"
notification-color: 008000
timezone: America/Denver
verbose-logging: false
Expand Down
41 changes: 29 additions & 12 deletions .github/workflows/ci_ut_ext_blob_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: UT CI Run for Python Extension Blob
name: CI Run for Python Extension Blob

on:
push:
Expand All @@ -14,7 +14,7 @@ on:

jobs:
build:
name: "Python Extension Blob UT CI Run"
name: "Python Extension Blob CI Run"
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down Expand Up @@ -52,13 +52,30 @@ jobs:
name: codecov
fail_ci_if_error: false

- name: Notify dedicated teams channel
uses: jdcargile/[email protected]
if: failure()
with:
github-token: ${{ github.token }} # this will use the runner's token.
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
notification-summary: "Python Extension Blob UT CI Failed for Python ${{ matrix.python-version }}"
notification-color: 17a2b8
timezone: America/Denver
verbose-logging: false

send-notification:
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- name: Notify dedicated teams channel on failure
if: ${{ always() && needs.build.result == 'failure' }}
uses: jdcargile/[email protected]
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
notification-summary: "Python Extension Blob CI Failed"
notification-color: FF0000
timezone: America/Denver
verbose-logging: false

- name: Notify dedicated teams channel on success
if: ${{ always() && needs.build.result == 'success' }}
uses: jdcargile/[email protected]
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
notification-summary: "Python Extension Blob CI Passed"
notification-color: 008000
timezone: America/Denver
verbose-logging: false
38 changes: 27 additions & 11 deletions .github/workflows/ci_ut_ext_fastapi_workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: UT CI Run for Python Extension FastApi
name: CI Run for Python Extension FastApi

on:
push:
Expand Down Expand Up @@ -50,13 +50,29 @@ jobs:
name: codecov
fail_ci_if_error: false

- name: Notify dedicated teams channel
uses: jdcargile/[email protected]
if: failure()
with:
github-token: ${{ github.token }} # this will use the runner's token.
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
notification-summary: "Python Extension FastApi UT CI Failed for Python ${{ matrix.python-version }}"
notification-color: 17a2b8
timezone: America/Denver
verbose-logging: false
send-notification:
runs-on: ubuntu-latest
needs: build
if: always()
steps:
- name: Notify dedicated teams channel on failure
if: ${{ always() && needs.build.result == 'failure' }}
uses: jdcargile/[email protected]
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
notification-summary: "Python Extension FastApi CI Failed"
notification-color: FF0000
timezone: America/Denver
verbose-logging: false

- name: Notify dedicated teams channel on success
if: ${{ always() && needs.build.result == 'success' }}
uses: jdcargile/[email protected]
with:
github-token: ${{ github.token }}
ms-teams-webhook-uri: ${{ secrets.MS_TEAMS_WEBHOOK_URI }}
notification-summary: "Python Extension FastApi CI Passed"
notification-color: 008000
timezone: America/Denver
verbose-logging: false