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

Critical: .NET install domains and URLs are changing #336

Open
richlander opened this issue Dec 24, 2024 · 0 comments
Open

Critical: .NET install domains and URLs are changing #336

richlander opened this issue Dec 24, 2024 · 0 comments
Assignees
Labels

Comments

@richlander
Copy link
Member

richlander commented Dec 24, 2024

This issue is a locked mirror of dotnet/core#9671. See that issue for discussion.

.NET binaries and installers have moved to a new domain -- builds.dotnet.microsoft.com -- backed by a new Content Delivery Network (CDN). You may need to make changes to adjust.

Tracking issue: dotnet/core#9674

.NET Team Status:

  • All domains and installer/scripts are functional
  • No domains are using Edgio CDN
  • https://dot.net/v1/dotnet-install.* redirects to new domain

Recommended action:

Last update: 2025.01.10
Next update: 2025.01.15

Context

Some .NET binaries and installers have been hosted on Azure Content Delivery Network (CDN) domains that end in .azureedge.net. These domains are hosted by edg.io, which will soon cease operations due to bankruptcy. We are required to migrate to a new CDN and will be using new domains going forward.

We expectazureedge.net domains to cease to function around 3/31.

.NET Team Remediation

New domains were created:

  • builds.dotnet.microsoft.com for signed official builds
  • ci.dot.net for signed builds

Test links for new CDN:

Test links for old CDN:

The following resources have been updated to use new domains.

Other changes are in progress.

User Remediation

Please make the following replacements:

  • dotnetcli.azureedge.net -> builds.dotnet.microsoft.com
  • dotnetcli.blob.core.windows.net -> builds.dotnet.microsoft.com
  • dotnetbuilds.azureedge.net -> ci.dot.net
  • dotnetbuilds.blob.core.windows.net -> ci.dot.net

All the new domains are path-compatible with old domains, as they share the same origin.

Please also make the following changes:

  • Update local copies of the install script
  • Update setup-dotnet Action references
  • Validate that firewall rules work with the new domains

Install script

The .NET install script is used to install .NET from our CDN. We are changing CDNs (documented in a following section), which requires us to change the install script to use the new CDN.

Updated scripts:

  • https://dot.net/v1/dotnet-install.sh
  • https://dot.net/v1/dotnet-install.ps1
  • https://github.com/dotnet/install-scripts/tree/main/src

Notes:

  • Users who have local copies of these scripts will need to update their copies.
  • Users who rely on the remote copy (at the URLs above) do not need to do anything other than validate no observed change in behavior (due to new domains and CDNs being used).

Tracking PRs:

Official builds

Official builds and JSON files are hosted via a CDN, available for use by the install script and other installers.

Notes:

You can change from old to new domains by changing the domain section of the URL. The other parts of the URL do not need to change.

Example URLs:

A set of short links are available for official builds.

Link pattern:https://aka.ms/dotnet/[x.y]/[package].

Example URLs:

These links produce301 HTTP results that forward to our CDN.

We expect these links to be changed in mid January.

Tracking PR:

CI builds

Continuous integration (CI) builds are hosted via a CDN, available via the install script and GitHub README files.

Note: CI builds include a mix of tested and untested builds, signed and unsigned builds.

Example URLs:

A set of short links are available for CI builds.

Link pattern:https://aka.ms/dotnet/[x.y]/daily/[package].

Example URLs:

These links produce301 HTTP results that forward to our CDN.

We expect these links to be changed in mid January.

Tracking PR:

CI build pages use the CI short links.

Example build pages:

Azure DevOps and GitHub Actions

  • Major versions tags for actions/setup-dotnet have been updated. References to pinned versions will require updating to the most recent version.
  • We expect that GitHub Enterprise Server will be addressed in January.
  • Azure DevOps UseDotnetTask will be updated in January
  • We do not yet have a date for updating Azure DevOps Server.

Other changes

The following resources are also affected.

@richlander richlander added the PSA label Dec 24, 2024
@richlander richlander self-assigned this Dec 24, 2024
@dotnet dotnet locked and limited conversation to collaborators Dec 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant