Browse Source

Update ephemeral environment workflow with dependency mapping (#376)

* I keep forgetting that it's... `-charts`.

* Always run create-branch, add dependency for sync
pull/377/head
MtnBurrit0 8 months ago committed by GitHub
parent
commit
baaf5a2221
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      .github/workflows/_ephemeral_environment_manager.yml

7
.github/workflows/_ephemeral_environment_manager.yml

@ -43,7 +43,6 @@ jobs: @@ -43,7 +43,6 @@ jobs:
create-branch:
name: Create Branch
if: ${{ inputs.create_branch }}
runs-on: ubuntu-24.04
needs: check-run
steps:
@ -62,7 +61,7 @@ jobs: @@ -62,7 +61,7 @@ jobs:
- name: Checkout Ephemeral Environment Charts
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: bitwarden/ephemeral-environments
repository: bitwarden/ephemeral-environment-charts
token: '${{ steps.retrieve-secrets.outputs.github-pat-bitwarden-devops-bot-repo-scope }}'
- name: Create Branch
@ -117,7 +116,9 @@ jobs: @@ -117,7 +116,9 @@ jobs:
name: Sync Ephemeral Environment
if: ${{ inputs.sync_environment }}
runs-on: ubuntu-24.04
needs: check-run
needs:
- check-run
- create-branch
steps:
- name: Login to Azure - Prod Subscription
uses: Azure/login@a65d910e8af852a8061c627c456678983e180302 # v2.2.0

Loading…
Cancel
Save