Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CDN migration #2871

Merged
merged 5 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .vscode/cspell.global.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ ignoreWords:
- azurewebsites
- azcore
- Azdo
- azdrelease
- aztfmod
- azurecaf
- azurecr
Expand Down
3 changes: 2 additions & 1 deletion cli/azd/test/recording/recording.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ func Start(t *testing.T, opts ...Options) *Session {
strings.Contains(req.URL.Host, "applicationinsights.azure.com") ||
(strings.Contains(req.URL.Host, "aka.ms") &&
strings.Contains(req.URL.Path, "/azure-dev")) ||
strings.Contains(req.URL.Host, "azure-dev.azureedge.net")
strings.Contains(req.URL.Host, "azure-dev.azureedge.net") ||
strings.Contains(req.URL.Host, "azdrelease.azureedge.net")
})

proxy := &connectHandler{
Expand Down
2 changes: 1 addition & 1 deletion cli/installer/choco/azd.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<description>A developer CLI that accelerates the time it takes for you to get started on Azure. The Azure Developer CLI (azd) provides a set of developer-friendly commands that map to key stages in your workflow - code, build, deploy, monitor, repeat.</description>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<docsUrl>https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/get-started</docsUrl>
<iconUrl>https://azure-dev.azureedge.net/azd/assets/azure-dev.svg</iconUrl>
<iconUrl>https://azdrelease.azureedge.net/azd/assets/azure-dev.svg</iconUrl>
<bugTrackerUrl>https://github.com/Azure/azure-dev/issues</bugTrackerUrl>
<licenseUrl>https://github.com/Azure/azure-dev/blob/main/LICENSE</licenseUrl>
<projectSourceUrl>https://github.com/Azure/azure-dev/</projectSourceUrl>
Expand Down
4 changes: 2 additions & 2 deletions cli/installer/install-azd.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ download and install locations.

.PARAMETER BaseUrl
Specifies the base URL to use when downloading. Default is
https://azure-dev.azureedge.net/azd/standalone
https://azdrelease.azureedge.net/azd/standalone

.PARAMETER Version
Specifies the version to use. Default is `latest`. Valid values include a
Expand Down Expand Up @@ -59,7 +59,7 @@ Download the installer and install the "daily" build
#>

param(
[string] $BaseUrl = "https://azure-dev.azureedge.net/azd/standalone/release",
[string] $BaseUrl = "https://azdrelease.azureedge.net/azd/standalone/release",
[string] $Version = "stable",
[switch] $DryRun,
[string] $InstallFolder,
Expand Down
2 changes: 1 addition & 1 deletion cli/installer/install-azd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ extract() {
fi
}

DEFAULT_BASE_URL="https://azure-dev.azureedge.net/azd/standalone/release"
DEFAULT_BASE_URL="https://azdrelease.azureedge.net/azd/standalone/release"

base_url="$DEFAULT_BASE_URL"
platform="$(get_platform)"
Expand Down
2 changes: 1 addition & 1 deletion cli/installer/test-installer-containers.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[string] $BaseUrl='https://azure-dev.azureedge.net/azd/standalone/release',
[string] $BaseUrl='https://azdrelease.azureedge.net/azd/standalone/release',
[string] $Version = 'latest',
[string] $ContainerPrefix = '',
[string] $AdditionalBuildArgs = '--no-cache',
Expand Down
2 changes: 1 addition & 1 deletion cli/installer/test-pwsh-xplat-install.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[string] $BaseUrl = 'https://azure-dev.azureedge.net/azd/standalone/release',
[string] $BaseUrl = 'https://azdrelease.azureedge.net/azd/standalone/release',
[string] $Version = 'latest',
[string] $InstallShScriptUrl = 'https://aka.ms/install-azd.sh',
[string] $UninstallShScriptUrl = 'https://aka.ms/uninstall-azd.sh'
Expand Down
4 changes: 2 additions & 2 deletions cli/installer/test-win-install.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
param(
[string] $BaseUrl = 'https://azure-dev.azureedge.net/azd/standalone/release',
[string] $BaseUrl = 'https://azdrelease.azureedge.net/azd/standalone/release',
[string] $Version = 'latest',
[string] $InstallFolder = "$($env:USERPROFILE)\azd-install-test"
)
Expand Down Expand Up @@ -57,6 +57,6 @@ try {

Write-Host "Test succeeded"
exit 0
} finally {
} finally {
$ErrorActionPreference = $originalErrorActionPreference
}
2 changes: 1 addition & 1 deletion ext/azuredevops/setupAzd/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export async function runMain(): Promise<void> {
exeMap
)

const url = `https://azure-dev.azureedge.net/azd/standalone/release/${version}/${installArray[0]}`
const url = `https://azdrelease.azureedge.net/azd/standalone/release/${version}/${installArray[0]}`

console.log(`The Azure Developer CLI collects usage data and sends that usage data to Microsoft in order to help us improve your experience.
You can opt-out of telemetry by setting the AZURE_DEV_COLLECT_TELEMETRY environment variable to 'no' in the shell you use.
Expand Down
2 changes: 1 addition & 1 deletion ext/azuredevops/setupAzd/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"author": "AzureDeveloperCLI",
"version": {
"Major": 0,
"Minor": 12,
"Minor": 13,
"Patch": 0
},
"instanceNameFormat": "Installs azd: $(rootFolder)",
Expand Down
2 changes: 1 addition & 1 deletion ext/azuredevops/vss-extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifestVersion": 1,
"id": "azd",
"name": "Install azd",
"version": "0.12.0",
"version": "0.13.0",
"publisher": "ms-azuretools",
"targets": [
{
Expand Down