[DEVOPS-1651] Update the QA deployment alert at the start (#6998)

* Update the QA deployment alert at the start

* Change in non prod web
This commit is contained in:
Michał Chęciński 2023-11-29 09:41:22 +01:00 committed by GitHub
parent c0a650460e
commit 48c6033792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 2 deletions

View File

@ -11,6 +11,21 @@ on:
default: master
jobs:
notify-start:
name: Notify Slack with start message
runs-on: ubuntu-22.04
if: always()
steps:
- uses: bitwarden/gh-actions/report-deployment-status-to-slack@main
with:
project: Web
environment: EU QA Cloud
tag: ${{ github.ref_name }}
slack-channel: team-eng-qa-devops
event: 'start'
url: https://github.com/bitwarden/clients/actions/runs/${{ github.run_id }}
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
azure-deploy:
name: Deploy to Azure
runs-on: ubuntu-22.04
@ -71,5 +86,6 @@ jobs:
environment: EU QA Cloud
tag: ${{ github.event.inputs.tag }}
slack-channel: team-eng-qa-devops
failure: ${{ needs.azure-deploy.result == 'failure' }}
event: ${{ needs.azure-deploy.result }}
url: https://github.com/bitwarden/devops/actions/runs/${{ github.run_id }}
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}

View File

@ -57,6 +57,21 @@ jobs:
echo "environment-artifact=web-*-cloud-COMMERCIAL.zip" >> $GITHUB_OUTPUT
fi
notify-start:
name: Notify Slack with start message
runs-on: ubuntu-22.04
if: always()
steps:
- uses: bitwarden/gh-actions/report-deployment-status-to-slack@main
with:
project: Web
environment: US ${{ inputs.environment }} Cloud
tag: ${{ github.ref_name }}
slack-channel: team-eng-qa-devops
event: 'start'
url: https://github.com/bitwarden/clients/actions/runs/${{ github.run_id }}
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
artifact-check:
name: Check if Web artifact is present
runs-on: ubuntu-22.04
@ -253,5 +268,6 @@ jobs:
environment: US ${{ inputs.environment }} Cloud
tag: ${{ github.ref_name }}
slack-channel: team-eng-qa-devops
failure: ${{ needs.cfpages-deploy.result == 'failure' }}
event: ${{ needs.cfpages-deploy.result }}
url: https://github.com/bitwarden/clients/actions/runs/${{ github.run_id }}
AZURE_KV_CI_SERVICE_PRINCIPAL: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}