Skip to content

Commit

Permalink
updates (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
PieterbasNagengast committed May 10, 2023
1 parent a4d9518 commit 2aa7d00
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 3 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,14 @@ jobs:
subscriptionId: ${{ secrets.HUB_SUBSCRIPTION_ID }}
region: westus3
template: main.bicep
parameters: "ARM/params/${{ matrix.scenarios }} adminUsername=${{ secrets.ADMINUSERNAME }} adminPassword=${{ secrets.ADMINPASSWORD }} sharedKey=${{ secrets.SHAREDKEY }} hubSubscriptionID=${{ secrets.HUB_SUBSCRIPTION_ID }} spokeSubscriptionID=${{ secrets.SPOKE_SUBSCRIPTION_ID }} onPremSubscriptionID=${{ secrets.ONPREM_SUBSCRIPTION_ID }}"
parameters:
ARM/params/${{ matrix.scenarios }}
adminUsername=${{ secrets.ADMINUSERNAME }}
adminPassword=${{ secrets.ADMINPASSWORD }}
sharedKey=${{ secrets.SHAREDKEY }}
hubSubscriptionID=${{ secrets.HUB_SUBSCRIPTION_ID }}
spokeSubscriptionID=${{ secrets.SPOKE_SUBSCRIPTION_ID }}
onPremSubscriptionID=${{ secrets.ONPREM_SUBSCRIPTION_ID }}
deploymentMode: "validate"
deploymentName: "LabBuilderValidation-${{ inputs.LabBuilderType }}"
- name: "Deploy scenario ${{ inputs.LabBuilderType }}"
Expand All @@ -78,7 +85,14 @@ jobs:
subscriptionId: ${{ secrets.HUB_SUBSCRIPTION_ID }}
region: westus3
template: main.bicep
parameters: "ARM/params/${{ matrix.scenarios }} adminUsername=${{ secrets.ADMINUSERNAME }} adminPassword=${{ secrets.ADMINPASSWORD }} sharedKey=${{ secrets.SHAREDKEY }} hubSubscriptionID=${{ secrets.HUB_SUBSCRIPTION_ID }} spokeSubscriptionID=${{ secrets.SPOKE_SUBSCRIPTION_ID }} onPremSubscriptionID=${{ secrets.ONPREM_SUBSCRIPTION_ID }}"
parameters:
ARM/params/${{ matrix.scenarios }}
adminUsername=${{ secrets.ADMINUSERNAME }}
adminPassword=${{ secrets.ADMINPASSWORD }}
sharedKey=${{ secrets.SHAREDKEY }}
hubSubscriptionID=${{ secrets.HUB_SUBSCRIPTION_ID }}
spokeSubscriptionID=${{ secrets.SPOKE_SUBSCRIPTION_ID }}
onPremSubscriptionID=${{ secrets.ONPREM_SUBSCRIPTION_ID }}
deploymentName: "LabBuilderValidation-${{ inputs.LabBuilderType }}"


Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
call_deploy_workflow:
uses: ./.github/workflows/deploy.yml
with:
LabBuilderType: VNET
LabBuilderType: vnet
LabBuilderCleanup: true
secrets:
inherit
17 changes: 17 additions & 0 deletions .github/workflows/vwan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "LabBuilder - Deploy VWAN Scenarios"

on:
push:
branches: none
pull_request:
branches: none
workflow_dispatch:

jobs:
call_deploy_workflow:
uses: ./.github/workflows/deploy.yml
with:
LabBuilderType: vwan
LabBuilderCleanup: true
secrets:
inherit

0 comments on commit 2aa7d00

Please sign in to comment.