Skip to content

Add an experimental Slack notifier for one CI job #7055

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 1 commit into from
Aug 12, 2022
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
7 changes: 7 additions & 0 deletions .github/workflows/regular-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,3 +98,10 @@ jobs:
container.
draft: false
prerelease: false
- name: Slack notification of successful release
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: team_open_source
SLACK_COLOR: ${{ job.status }}
SLACK_USERNAME: Github Actions CI bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
35 changes: 35 additions & 0 deletions .github/workflows/release-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ jobs:
asset_path: ${{ steps.create_packages.outputs.deb_package }}
asset_name: ${{ steps.create_packages.outputs.deb_package_name }}
asset_content_type: application/x-deb
- name: Slack notification of CI status
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: team_open_source
SLACK_COLOR: ${{ job.status }}
SLACK_USERNAME: Github Actions CI bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

ubuntu-18_04-package:
runs-on: ubuntu-18.04
Expand Down Expand Up @@ -141,6 +148,13 @@ jobs:
asset_path: ${{ steps.create_packages.outputs.deb_package }}
asset_name: ${{ steps.create_packages.outputs.deb_package_name }}
asset_content_type: application/x-deb
- name: Slack notification of CI status
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: team_open_source
SLACK_COLOR: ${{ job.status }}
SLACK_USERNAME: Github Actions CI bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}


homebrew-pr:
Expand All @@ -160,6 +174,13 @@ jobs:
brew bump-formula-pr --tag "$RELEASE_TAG" --revision "$GITHUB_SHA" cbmc
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.DB_CI_CPROVER_ACCESS_TOKEN }}
- name: Slack notification of CI status
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: team_open_source
SLACK_COLOR: ${{ job.status }}
SLACK_USERNAME: Github Actions CI bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

windows-msi-package:
runs-on: windows-2019
Expand Down Expand Up @@ -248,6 +269,13 @@ jobs:
asset_path: ${{ steps.create_packages.outputs.msi_installer }}
asset_name: ${{ steps.create_packages.outputs.msi_name }}
asset_content_type: application/x-msi
- name: Slack notification of CI status
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: team_open_source
SLACK_COLOR: ${{ job.status }}
SLACK_USERNAME: Github Actions CI bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

push-docker-image-dockerhub:
runs-on: ubuntu-20.04
Expand All @@ -271,3 +299,10 @@ jobs:
# For security reasons remove stored login credentials from
# configuration file they are stored at by docker login.
docker logout
- name: Slack notification of CI status
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: team_open_source
SLACK_COLOR: ${{ job.status }}
SLACK_USERNAME: Github Actions CI bot
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}