Skip to content

Commit

Permalink
Utilise initialized env variables for ROSA region and clusterName val…
Browse files Browse the repository at this point in the history
…ues (#606)

Signed-off-by: Ryan Emerson <remerson@redhat.com>
  • Loading branch information
ryanemerson committed Nov 28, 2023
1 parent 8f3df93 commit 06f22fa
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/rosa-multi-az-cluster-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,23 @@ on:

env:
CLUSTER_PREFIX: ${{ inputs.clusterPrefix || format('gh-{0}', github.repository_owner) }}
REGION: ${{ github.event.inputs.region || vars.AWS_DEFAULT_REGION }}
REGION: ${{ inputs.region || vars.AWS_DEFAULT_REGION }}

jobs:
cluster1:
uses: ./.github/workflows/rosa-cluster-create.yml
with:
clusterName: ${{ inputs.clusterPrefix }}-a
region: ${{ inputs.region }}
availabilityZones: ${{ inputs.region }}a
clusterName: ${{ env.CLUSTER_PREFIX }}-a
region: ${{ env.REGION }}
availabilityZones: ${{ env.REGION }}a
secrets: inherit

cluster2:
uses: ./.github/workflows/rosa-cluster-create.yml
with:
clusterName: ${{ inputs.clusterPrefix }}-b
region: ${{ inputs.region }}b
availabilityZones: ${{ inputs.region }}b
clusterName: ${{ env.CLUSTER_PREFIX }}-b
region: ${{ env.REGION }}b
availabilityZones: ${{ env.REGION }}b
secrets: inherit

deploy-keycloak:
Expand Down

0 comments on commit 06f22fa

Please sign in to comment.