mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
Add slack notify when deploying web QA (#6724)
This commit is contained in:
parent
db221dee05
commit
0a7fcddd5a
15
.github/workflows/deploy-eu-qa-web.yml
vendored
15
.github/workflows/deploy-eu-qa-web.yml
vendored
@ -58,3 +58,18 @@ jobs:
|
||||
--connection-string "${{ steps.retrieve-secrets.outputs.sa-bitwarden-web-vault-dev-key-temp }}" \
|
||||
--overwrite \
|
||||
--no-progress
|
||||
|
||||
notify:
|
||||
name: Notify Slack with result
|
||||
runs-on: ubuntu-22.04
|
||||
if: always()
|
||||
needs: azure-deploy
|
||||
steps:
|
||||
- uses: bitwarden/gh-actions/report-deployment-status-to-slack@master
|
||||
with:
|
||||
project: Web
|
||||
environment: EU QA Cloud
|
||||
tag: ${{ github.event.inputs.tag }}
|
||||
slack-channel: team-eng-qa-devops
|
||||
failure: ${{ needs.azure-deploy.result == 'failure' }}
|
||||
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
||||
|
17
.github/workflows/deploy-non-prod-web.yml
vendored
17
.github/workflows/deploy-non-prod-web.yml
vendored
@ -170,3 +170,20 @@ jobs:
|
||||
environment-url: ${{ env._ENVIRONMENT_URL }}
|
||||
state: 'failure'
|
||||
deployment-id: ${{ steps.deployment.outputs.deployment_id }}
|
||||
|
||||
notify:
|
||||
name: Notify Slack with result
|
||||
runs-on: ubuntu-22.04
|
||||
if: always()
|
||||
needs:
|
||||
- cfpages-deploy
|
||||
- setup
|
||||
steps:
|
||||
- uses: bitwarden/gh-actions/report-deployment-status-to-slack@master
|
||||
with:
|
||||
project: Web
|
||||
environment: US QA Cloud
|
||||
tag: ${{ needs.setup.outputs.environment-branch }}
|
||||
slack-channel: team-eng-qa-devops
|
||||
failure: ${{ needs.cfpages-deploy.result == 'failure' }}
|
||||
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
|
||||
|
Loading…
Reference in New Issue
Block a user