mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05:00
[BRE-831] Renaming azure login/get/logout step names
This commit is contained in:
@ -19,7 +19,7 @@ jobs:
|
||||
migration_filename_prefix: ${{ steps.prefix.outputs.prefix }}
|
||||
copy_finalization_scripts: ${{ steps.check-finalization-scripts-existence.outputs.copy_finalization_scripts }}
|
||||
steps:
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -34,7 +34,7 @@ jobs:
|
||||
keyvault: "bitwarden-ci"
|
||||
secrets: "github-pat-bitwarden-devops-bot-repo-scope"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Check out branch
|
||||
@ -106,7 +106,7 @@ jobs:
|
||||
done
|
||||
echo "moved_files=$moved_files" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -123,7 +123,7 @@ jobs:
|
||||
github-gpg-private-key-passphrase,
|
||||
devops-alerts-slack-webhook-url"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Import GPG keys
|
||||
|
20
.github/workflows/build.yml
vendored
20
.github/workflows/build.yml
vendored
@ -172,7 +172,7 @@ jobs:
|
||||
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
|
||||
|
||||
########## ACRs ##########
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -283,7 +283,7 @@ jobs:
|
||||
sha: ${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.sha || github.sha }}
|
||||
ref: ${{ contains(github.event_name, 'pull_request') && format('refs/pull/{0}/head', github.event.pull_request.number) || github.ref }}
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
upload:
|
||||
@ -302,7 +302,7 @@ jobs:
|
||||
- name: Set up .NET
|
||||
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
|
||||
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -355,7 +355,7 @@ jobs:
|
||||
cd docker-stub/US; zip -r ../../docker-stub-US.zip *; cd ../..
|
||||
cd docker-stub/EU; zip -r ../../docker-stub-EU.zip *; cd ../..
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Upload Docker stub US artifact
|
||||
@ -507,7 +507,7 @@ jobs:
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -522,7 +522,7 @@ jobs:
|
||||
keyvault: "bitwarden-ci"
|
||||
secrets: "github-pat-bitwarden-devops-bot-repo-scope"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Trigger self-host build
|
||||
@ -549,7 +549,7 @@ jobs:
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -564,7 +564,7 @@ jobs:
|
||||
keyvault: "bitwarden-ci"
|
||||
secrets: "github-pat-bitwarden-devops-bot-repo-scope"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Trigger k8s deploy
|
||||
@ -619,7 +619,7 @@ jobs:
|
||||
&& contains(needs.*.result, 'failure')
|
||||
run: exit 1
|
||||
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -635,7 +635,7 @@ jobs:
|
||||
keyvault: "bitwarden-ci"
|
||||
secrets: "devops-alerts-slack-webhook-url"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Notify Slack on failure
|
||||
|
4
.github/workflows/cleanup-after-pr.yml
vendored
4
.github/workflows/cleanup-after-pr.yml
vendored
@ -14,7 +14,7 @@ jobs:
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -68,5 +68,5 @@ jobs:
|
||||
- name: Log out of Docker
|
||||
run: docker logout
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
4
.github/workflows/cleanup-rc-branch.yml
vendored
4
.github/workflows/cleanup-rc-branch.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
contents: write
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -28,7 +28,7 @@ jobs:
|
||||
keyvault: bitwarden-ci
|
||||
secrets: "github-pat-bitwarden-devops-bot-repo-scope"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Checkout main
|
||||
|
6
.github/workflows/code-references.yml
vendored
6
.github/workflows/code-references.yml
vendored
@ -38,7 +38,7 @@ jobs:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -46,14 +46,14 @@ jobs:
|
||||
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
client_id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
|
||||
- name: Get KV secrets
|
||||
- name: Get Azure Key Vault Secrets
|
||||
id: get-kv-secrets
|
||||
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
||||
with:
|
||||
keyvault: gh-server
|
||||
secrets: "LD-ACCESS-TOKEN"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Collect
|
||||
|
4
.github/workflows/publish.yml
vendored
4
.github/workflows/publish.yml
vendored
@ -115,7 +115,7 @@ jobs:
|
||||
echo "project_name=$PROJECT_NAME" >> $GITHUB_OUTPUT
|
||||
|
||||
########## ACR PROD ##########
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -161,7 +161,7 @@ jobs:
|
||||
- name: Log out of Docker
|
||||
run: docker logout
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
update-deployment:
|
||||
|
18
.github/workflows/repository-management.yml
vendored
18
.github/workflows/repository-management.yml
vendored
@ -55,7 +55,7 @@ jobs:
|
||||
id-token: write
|
||||
runs-on: ubuntu-24.04
|
||||
steps:
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -63,14 +63,14 @@ jobs:
|
||||
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
client_id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
|
||||
- name: Get KV secrets
|
||||
- name: Get Azure Key Vault Secrets
|
||||
id: get-kv-secrets
|
||||
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
||||
with:
|
||||
keyvault: gh-org-bitwarden
|
||||
secrets: "BW-GHAPP-ID,BW-GHAPP-KEY"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Generate GH App token
|
||||
@ -122,7 +122,7 @@ jobs:
|
||||
with:
|
||||
version: ${{ inputs.version_number_override }}
|
||||
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -130,14 +130,14 @@ jobs:
|
||||
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
client_id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
|
||||
- name: Get KV secrets
|
||||
- name: Get Azure Key Vault Secrets
|
||||
id: get-kv-secrets
|
||||
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
||||
with:
|
||||
keyvault: gh-org-bitwarden
|
||||
secrets: "BW-GHAPP-ID,BW-GHAPP-KEY"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Generate GH App token
|
||||
@ -242,7 +242,7 @@ jobs:
|
||||
contents: write
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -250,14 +250,14 @@ jobs:
|
||||
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
client_id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
|
||||
- name: Get KV secrets
|
||||
- name: Get Azure Key Vault Secrets
|
||||
id: get-kv-secrets
|
||||
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
||||
with:
|
||||
keyvault: gh-org-bitwarden
|
||||
secrets: "BW-GHAPP-ID,BW-GHAPP-KEY"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Generate GH App token
|
||||
|
12
.github/workflows/scan.yml
vendored
12
.github/workflows/scan.yml
vendored
@ -39,7 +39,7 @@ jobs:
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -47,14 +47,14 @@ jobs:
|
||||
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
client_id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
|
||||
- name: Get KV secrets
|
||||
- name: Get Azure Key Vault Secrets
|
||||
id: get-kv-secrets
|
||||
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
||||
with:
|
||||
keyvault: gh-org-bitwarden
|
||||
secrets: "CHECKMARX-TENANT,CHECKMARX-CLIENT-ID,CHECKMARX-SECRET"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Scan with Checkmarx
|
||||
@ -107,7 +107,7 @@ jobs:
|
||||
- name: Install SonarCloud scanner
|
||||
run: dotnet tool install dotnet-sonarscanner -g
|
||||
|
||||
- name: Azure Login
|
||||
- name: Log in to Azure
|
||||
id: azure-login
|
||||
uses: bitwarden/gh-actions/azure-login@main
|
||||
with:
|
||||
@ -115,14 +115,14 @@ jobs:
|
||||
tenant_id: ${{ secrets.AZURE_TENANT_ID }}
|
||||
client_id: ${{ secrets.AZURE_CLIENT_ID }}
|
||||
|
||||
- name: Get KV secrets
|
||||
- name: Get Azure Key Vault Secrets
|
||||
id: get-kv-secrets
|
||||
uses: bitwarden/gh-actions/get-keyvault-secrets@main
|
||||
with:
|
||||
keyvault: gh-org-bitwarden
|
||||
secrets: "SONAR-TOKEN"
|
||||
|
||||
- name: Azure Logout
|
||||
- name: Log out from Azure
|
||||
uses: bitwarden/gh-actions/azure-logout@main
|
||||
|
||||
- name: Scan with SonarCloud
|
||||
|
Reference in New Issue
Block a user