1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-03 00:52:49 -05:00

[BRE-831] Renaming azure login/get/logout step names

This commit is contained in:
Andy Pixley
2025-06-16 23:36:08 -04:00
parent bb23fbc04c
commit 53a7a9f02a
8 changed files with 38 additions and 38 deletions

View File

@ -19,7 +19,7 @@ jobs:
migration_filename_prefix: ${{ steps.prefix.outputs.prefix }} migration_filename_prefix: ${{ steps.prefix.outputs.prefix }}
copy_finalization_scripts: ${{ steps.check-finalization-scripts-existence.outputs.copy_finalization_scripts }} copy_finalization_scripts: ${{ steps.check-finalization-scripts-existence.outputs.copy_finalization_scripts }}
steps: steps:
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -34,7 +34,7 @@ jobs:
keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"
secrets: "github-pat-bitwarden-devops-bot-repo-scope" secrets: "github-pat-bitwarden-devops-bot-repo-scope"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Check out branch - name: Check out branch
@ -106,7 +106,7 @@ jobs:
done done
echo "moved_files=$moved_files" >> $GITHUB_OUTPUT echo "moved_files=$moved_files" >> $GITHUB_OUTPUT
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -123,7 +123,7 @@ jobs:
github-gpg-private-key-passphrase, github-gpg-private-key-passphrase,
devops-alerts-slack-webhook-url" devops-alerts-slack-webhook-url"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Import GPG keys - name: Import GPG keys

View File

@ -172,7 +172,7 @@ jobs:
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
########## ACRs ########## ########## ACRs ##########
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -283,7 +283,7 @@ jobs:
sha: ${{ contains(github.event_name, 'pull_request') && github.event.pull_request.head.sha || github.sha }} 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 }} 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 uses: bitwarden/gh-actions/azure-logout@main
upload: upload:
@ -302,7 +302,7 @@ jobs:
- name: Set up .NET - name: Set up .NET
uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -355,7 +355,7 @@ jobs:
cd docker-stub/US; zip -r ../../docker-stub-US.zip *; cd ../.. cd docker-stub/US; zip -r ../../docker-stub-US.zip *; cd ../..
cd docker-stub/EU; zip -r ../../docker-stub-EU.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 uses: bitwarden/gh-actions/azure-logout@main
- name: Upload Docker stub US artifact - name: Upload Docker stub US artifact
@ -507,7 +507,7 @@ jobs:
permissions: permissions:
id-token: write id-token: write
steps: steps:
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -522,7 +522,7 @@ jobs:
keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"
secrets: "github-pat-bitwarden-devops-bot-repo-scope" secrets: "github-pat-bitwarden-devops-bot-repo-scope"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Trigger self-host build - name: Trigger self-host build
@ -549,7 +549,7 @@ jobs:
permissions: permissions:
id-token: write id-token: write
steps: steps:
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -564,7 +564,7 @@ jobs:
keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"
secrets: "github-pat-bitwarden-devops-bot-repo-scope" secrets: "github-pat-bitwarden-devops-bot-repo-scope"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Trigger k8s deploy - name: Trigger k8s deploy
@ -619,7 +619,7 @@ jobs:
&& contains(needs.*.result, 'failure') && contains(needs.*.result, 'failure')
run: exit 1 run: exit 1
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -635,7 +635,7 @@ jobs:
keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"
secrets: "devops-alerts-slack-webhook-url" secrets: "devops-alerts-slack-webhook-url"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Notify Slack on failure - name: Notify Slack on failure

View File

@ -14,7 +14,7 @@ jobs:
permissions: permissions:
id-token: write id-token: write
steps: steps:
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -68,5 +68,5 @@ jobs:
- name: Log out of Docker - name: Log out of Docker
run: docker logout run: docker logout
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main

View File

@ -13,7 +13,7 @@ jobs:
contents: write contents: write
id-token: write id-token: write
steps: steps:
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -28,7 +28,7 @@ jobs:
keyvault: bitwarden-ci keyvault: bitwarden-ci
secrets: "github-pat-bitwarden-devops-bot-repo-scope" secrets: "github-pat-bitwarden-devops-bot-repo-scope"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Checkout main - name: Checkout main

View File

@ -38,7 +38,7 @@ jobs:
- name: Check out repository - name: Check out repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -46,14 +46,14 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }} tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }} client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets - name: Get Azure Key Vault Secrets
id: get-kv-secrets id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main uses: bitwarden/gh-actions/get-keyvault-secrets@main
with: with:
keyvault: gh-server keyvault: gh-server
secrets: "LD-ACCESS-TOKEN" secrets: "LD-ACCESS-TOKEN"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Collect - name: Collect

View File

@ -115,7 +115,7 @@ jobs:
echo "project_name=$PROJECT_NAME" >> $GITHUB_OUTPUT echo "project_name=$PROJECT_NAME" >> $GITHUB_OUTPUT
########## ACR PROD ########## ########## ACR PROD ##########
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -161,7 +161,7 @@ jobs:
- name: Log out of Docker - name: Log out of Docker
run: docker logout run: docker logout
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
update-deployment: update-deployment:

View File

@ -55,7 +55,7 @@ jobs:
id-token: write id-token: write
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
steps: steps:
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -63,14 +63,14 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }} tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }} client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets - name: Get Azure Key Vault Secrets
id: get-kv-secrets id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main uses: bitwarden/gh-actions/get-keyvault-secrets@main
with: with:
keyvault: gh-org-bitwarden keyvault: gh-org-bitwarden
secrets: "BW-GHAPP-ID,BW-GHAPP-KEY" secrets: "BW-GHAPP-ID,BW-GHAPP-KEY"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Generate GH App token - name: Generate GH App token
@ -122,7 +122,7 @@ jobs:
with: with:
version: ${{ inputs.version_number_override }} version: ${{ inputs.version_number_override }}
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -130,14 +130,14 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }} tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }} client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets - name: Get Azure Key Vault Secrets
id: get-kv-secrets id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main uses: bitwarden/gh-actions/get-keyvault-secrets@main
with: with:
keyvault: gh-org-bitwarden keyvault: gh-org-bitwarden
secrets: "BW-GHAPP-ID,BW-GHAPP-KEY" secrets: "BW-GHAPP-ID,BW-GHAPP-KEY"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Generate GH App token - name: Generate GH App token
@ -242,7 +242,7 @@ jobs:
contents: write contents: write
id-token: write id-token: write
steps: steps:
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -250,14 +250,14 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }} tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }} client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets - name: Get Azure Key Vault Secrets
id: get-kv-secrets id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main uses: bitwarden/gh-actions/get-keyvault-secrets@main
with: with:
keyvault: gh-org-bitwarden keyvault: gh-org-bitwarden
secrets: "BW-GHAPP-ID,BW-GHAPP-KEY" secrets: "BW-GHAPP-ID,BW-GHAPP-KEY"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Generate GH App token - name: Generate GH App token

View File

@ -39,7 +39,7 @@ jobs:
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -47,14 +47,14 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }} tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }} client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets - name: Get Azure Key Vault Secrets
id: get-kv-secrets id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main uses: bitwarden/gh-actions/get-keyvault-secrets@main
with: with:
keyvault: gh-org-bitwarden keyvault: gh-org-bitwarden
secrets: "CHECKMARX-TENANT,CHECKMARX-CLIENT-ID,CHECKMARX-SECRET" secrets: "CHECKMARX-TENANT,CHECKMARX-CLIENT-ID,CHECKMARX-SECRET"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Scan with Checkmarx - name: Scan with Checkmarx
@ -107,7 +107,7 @@ jobs:
- name: Install SonarCloud scanner - name: Install SonarCloud scanner
run: dotnet tool install dotnet-sonarscanner -g run: dotnet tool install dotnet-sonarscanner -g
- name: Azure Login - name: Log in to Azure
id: azure-login id: azure-login
uses: bitwarden/gh-actions/azure-login@main uses: bitwarden/gh-actions/azure-login@main
with: with:
@ -115,14 +115,14 @@ jobs:
tenant_id: ${{ secrets.AZURE_TENANT_ID }} tenant_id: ${{ secrets.AZURE_TENANT_ID }}
client_id: ${{ secrets.AZURE_CLIENT_ID }} client_id: ${{ secrets.AZURE_CLIENT_ID }}
- name: Get KV secrets - name: Get Azure Key Vault Secrets
id: get-kv-secrets id: get-kv-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@main uses: bitwarden/gh-actions/get-keyvault-secrets@main
with: with:
keyvault: gh-org-bitwarden keyvault: gh-org-bitwarden
secrets: "SONAR-TOKEN" secrets: "SONAR-TOKEN"
- name: Azure Logout - name: Log out from Azure
uses: bitwarden/gh-actions/azure-logout@main uses: bitwarden/gh-actions/azure-logout@main
- name: Scan with SonarCloud - name: Scan with SonarCloud