Skip to content

Commit

Permalink
testing update networking gh job
Browse files Browse the repository at this point in the history
  • Loading branch information
jwaltireland committed Nov 1, 2024
1 parent c5b4212 commit 560fcaa
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/Deploy-Env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
creds: ${{ secrets.AZURE_CREDENTIALS }}
enable-AzPSSession: true

- name: Deploy Bicep file to ${{ github.event.inputs.environment }} environment
uses: azure/arm-deploy@v2
with:
scope: subscription
subscriptionId: ${{ secrets.AZURE_SUB_ID }}
region: eastus2
#deploymentMode: 'Validate'
template: ./workload/bicep/deploy-baseline-arpah.bicep
parameters: ./workload/bicep/parameters/deploy-baseline-parameters-arpah.json deploymentEnvironment=${{ github.event.inputs.environment }} avdWorkloadSubsId=${{ secrets.AZURE_SUB_ID }} imageGallerySubscriptionId=${{ secrets.IMAGE_GALLERY_SUB_ID }} avdVmLocalUserName=${{ secrets.AVD_ADMIN }} avdVmLocalUserPassword=${{ secrets.AVD_ADMINPASS }} avdEnterpriseAppObjectId=${{ secrets.AZURE_AVD_OBJECTID }} existingVnetAvdSubnetResourceId=${{ secrets.AVD_SUBNET_ID }} existingVnetPrivateEndpointSubnetResourceId=${{ secrets.AVD_SUBNET_ID }} identityDomainName=${{ secrets.AD_NAME}} avdDomainJoinUserName=${{ secrets.AD_JOIN_USER }} avdDomainJoinUserPassword=${{ secrets.AD_JOIN_PASS }} avdOuPath="${{ secrets.AD_OU }}" storageOuPath="${{ secrets.AD_OU }}" storageFilePrivateEndpointStaticIp="${{ secrets.STORAGEFILEPRIVATEENDPOINTSTATICIP }}" storageFilePrivateEndpointStaticIpRemote="${{ secrets.STORAGEFILEPRIVATEENDPOINTSTATICIPREMOTE }}"
failOnStdErr: true
# - name: Deploy Bicep file to ${{ github.event.inputs.environment }} environment
# uses: azure/arm-deploy@v2
# with:
# scope: subscription
# subscriptionId: ${{ secrets.AZURE_SUB_ID }}
# region: eastus2
# #deploymentMode: 'Validate'
# template: ./workload/bicep/deploy-baseline-arpah.bicep
# parameters: ./workload/bicep/parameters/deploy-baseline-parameters-arpah.json deploymentEnvironment=${{ github.event.inputs.environment }} avdWorkloadSubsId=${{ secrets.AZURE_SUB_ID }} imageGallerySubscriptionId=${{ secrets.IMAGE_GALLERY_SUB_ID }} avdVmLocalUserName=${{ secrets.AVD_ADMIN }} avdVmLocalUserPassword=${{ secrets.AVD_ADMINPASS }} avdEnterpriseAppObjectId=${{ secrets.AZURE_AVD_OBJECTID }} existingVnetAvdSubnetResourceId=${{ secrets.AVD_SUBNET_ID }} existingVnetPrivateEndpointSubnetResourceId=${{ secrets.AVD_SUBNET_ID }} identityDomainName=${{ secrets.AD_NAME}} avdDomainJoinUserName=${{ secrets.AD_JOIN_USER }} avdDomainJoinUserPassword=${{ secrets.AD_JOIN_PASS }} avdOuPath="${{ secrets.AD_OU }}" storageOuPath="${{ secrets.AD_OU }}" storageFilePrivateEndpointStaticIp="${{ secrets.STORAGEFILEPRIVATEENDPOINTSTATICIP }}" storageFilePrivateEndpointStaticIpRemote="${{ secrets.STORAGEFILEPRIVATEENDPOINTSTATICIPREMOTE }}"
# failOnStdErr: true

- name: Update networking in ${{ github.event.inputs.environment }} environment
uses: azure/arm-deploy@v2
Expand All @@ -46,14 +46,14 @@ jobs:
parameters: ./workload/bicep/parameters/update-networking-parameters-arpah.json deploymentEnvironment=${{ github.event.inputs.environment }} avdWorkloadSubsId=${{ secrets.AZURE_SUB_ID }} existingVnetAvdSubnetResourceId=${{ secrets.AVD_SUBNET_ID }}"
failOnStdErr: true

- name: Update AVD Application Group Display Name in the ${{ github.event.inputs.environment }} environment
uses: azure/powershell@v2
env:
ResourceGroupName: 'avd-nih-arpah-${{ github.event.inputs.environment }}-use2-service-objects'
ApplicationGroupName: 'vdag-desktop-app1-${{ github.event.inputs.environment }}-use2-001'
Name: 'SessionDesktop'
FriendlyName: 'ARPA-H Windows Desktop'
with:
inlineScript: ./.github/workflows/scripts/update_app_display_name.ps1 -ResourceGroupName ${{ env.ResourceGroupName }} -ApplicationGroupName ${{ env.ApplicationGroupName }} -Name ${{ env.Name }} -FriendlyName '${{ env.FriendlyName }}'
azPSVersion: "latest"
errorActionPreference: continue
# - name: Update AVD Application Group Display Name in the ${{ github.event.inputs.environment }} environment
# uses: azure/powershell@v2
# env:
# ResourceGroupName: 'avd-nih-arpah-${{ github.event.inputs.environment }}-use2-service-objects'
# ApplicationGroupName: 'vdag-desktop-app1-${{ github.event.inputs.environment }}-use2-001'
# Name: 'SessionDesktop'
# FriendlyName: 'ARPA-H Windows Desktop'
# with:
# inlineScript: ./.github/workflows/scripts/update_app_display_name.ps1 -ResourceGroupName ${{ env.ResourceGroupName }} -ApplicationGroupName ${{ env.ApplicationGroupName }} -Name ${{ env.Name }} -FriendlyName '${{ env.FriendlyName }}'
# azPSVersion: "latest"
# errorActionPreference: continue

0 comments on commit 560fcaa

Please sign in to comment.