[DEVOPS-1651] Update the QA deployment alert at the start #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Test report-deployment-status-to-slack | |
on: | |
pull_request: | |
paths: | |
- "./report-deployment-status-to-slack" | |
- ".github/workflows/test-report-deployment-status-to-slack.yml" | |
jobs: | |
test-report-start: | |
name: Test Slack report failure | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: ./report-deployment-status-to-slack | |
with: | |
project: Server | |
environment: US QA Cloud | |
tag: test-workflow-start | |
slack-channel: devops-alerts | |
event: 'start' | |
url: https://github.com/bitwarden/gh-actions/actions/runs/${{ github.run_id }} | |
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} | |
test-report: | |
name: Test Slack report | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./report-deployment-status-to-slack | |
with: | |
project: Server | |
environment: US QA Cloud | |
tag: test-workflow-success | |
slack-channel: devops-alerts | |
event: 'success' | |
url: https://github.com/bitwarden/gh-actions/actions/runs/${{ github.run_id }} | |
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} | |
test-report-failure: | |
name: Test Slack report failure | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- uses: ./report-deployment-status-to-slack | |
with: | |
project: Server | |
environment: US QA Cloud | |
tag: test-workflow-failure | |
slack-channel: devops-alerts | |
event: 'failure' | |
url: https://github.com/bitwarden/gh-actions/actions/runs/${{ github.run_id }} | |
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} | |