Skip to content

Commit 52fcfe6

Browse files
authored
Route traffic through AFD endpoint (#3940)
Route traffic through AFD endpoint rather than directly to the storage account
1 parent a070c3e commit 52fcfe6

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

AppHandling/Sign-NavContainerApp.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ try {
119119

120120
if (!(Test-Path "C:\Windows\System32\msvcr120.dll")) {
121121
Write-Host "Downloading vcredist_x86"
122-
(New-Object System.Net.WebClient).DownloadFile('https://bcartifacts.blob.core.windows.net/prerequisites/vcredist_x86.exe','c:\run\install\vcredist_x86.exe')
122+
(New-Object System.Net.WebClient).DownloadFile('https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/prerequisites/vcredist_x86.exe','c:\run\install\vcredist_x86.exe')
123123
Write-Host "Installing vcredist_x86"
124124
start-process -Wait -FilePath c:\run\install\vcredist_x86.exe -ArgumentList /q, /norestart
125125
Write-Host "Downloading vcredist_x64"
126-
(New-Object System.Net.WebClient).DownloadFile('https://bcartifacts.blob.core.windows.net/prerequisites/vcredist_x64.exe','c:\run\install\vcredist_x64.exe')
126+
(New-Object System.Net.WebClient).DownloadFile('https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/prerequisites/vcredist_x64.exe','c:\run\install\vcredist_x64.exe')
127127
Write-Host "Installing vcredist_x64"
128128
start-process -Wait -FilePath c:\run\install\vcredist_x64.exe -ArgumentList /q, /norestart
129129
}
@@ -140,7 +140,7 @@ try {
140140
} else {
141141
Write-Host "Downloading Signing Tools"
142142
$winSdkSetupExe = "c:\run\install\winsdksetup.exe"
143-
$winSdkSetupUrl = "https://bcartifacts.blob.core.windows.net/prerequisites/winsdksetup.exe"
143+
$winSdkSetupUrl = "https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/prerequisites/winsdksetup.exe"
144144
(New-Object System.Net.WebClient).DownloadFile($winSdkSetupUrl,$winSdkSetupExe)
145145
Write-Host "Installing Signing Tools"
146146
Start-Process $winSdkSetupExe -ArgumentList "/features OptionId.SigningTools /q" -Wait

Artifacts/Download-Artifacts.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ try {
154154
# Patch wrong license file in ONPREM AU version 20.5.45456.45889
155155
if ($artifactUrl -like '*/onprem/20.5.45456.45889/au') {
156156
Write-Host "INFO: Patching wrong license file in ONPREM AU version 20.5.45456.45889"
157-
Download-File -sourceUrl 'https://bcartifacts.blob.core.windows.net/prerequisites/21demolicense/au/3048953.flf' -destinationFile (Join-Path $appArtifactPath 'database/Cronus.flf')
157+
Download-File -sourceUrl 'https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/prerequisites/21demolicense/au/3048953.flf' -destinationFile (Join-Path $appArtifactPath 'database/Cronus.flf')
158158
}
159159

160160
$cuFixMapping = @{

ContainerHandling/New-NavContainer.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,15 +2008,15 @@ if (-not `$restartingInstance) {
20082008
if ($version -eq [System.Version]"14.10.40471.0") {
20092009
Write-Host "Patching Microsoft.Dynamics.Nav.Ide.psm1 in container due to issue #859"
20102010
$idepsm = Join-Path $containerFolder "14.10.40471.0-Patch-Microsoft.Dynamics.Nav.Ide.psm1"
2011-
Download-File -sourceUrl 'https://bcartifacts.blob.core.windows.net/patch/14.10.40471.0/Microsoft.Dynamics.Nav.Ide.psm1' -destinationFile $idepsm
2011+
Download-File -sourceUrl 'https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/patch/14.10.40471.0/Microsoft.Dynamics.Nav.Ide.psm1' -destinationFile $idepsm
20122012
Invoke-ScriptInBcContainer -containerName $containerName -scriptblock { Param($idepsm)
20132013
Copy-Item -Path $idepsm -Destination 'C:\Program Files (x86)\Microsoft Dynamics NAV\140\RoleTailored Client\Microsoft.Dynamics.Nav.Ide.psm1' -Force
20142014
} -argumentList (Get-BcContainerPath -containerName $containerName -path $idepsm)
20152015
Remove-BcContainerSession -containerName $containerName
20162016
}
20172017

20182018
if ((($version -eq [System.Version]"16.0.11240.12076") -or ($version -eq [System.Version]"16.0.11240.12085")) -and $devCountry -ne "W1") {
2019-
$url = "https://bcartifacts.blob.core.windows.net/patch/16.0.11240.12076/$($devCountry.ToUpper()).zip"
2019+
$url = "https://bcartifacts-exdbf9fwegejdqak.b02.azurefd.net/patch/16.0.11240.12076/$($devCountry.ToUpper()).zip"
20202020
Write-Host "Downloading new test apps for this version from $url"
20212021
$zipName = Join-Path $containerFolder "16.0.11240.12076-$devCountry-Tests-Patch"
20222022
Download-File -sourceUrl $url -destinationFile "$zipName.zip"

0 commit comments

Comments
 (0)