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

Update CDN domain for Core Tools #4258

Open
mattchenderson opened this issue Feb 5, 2025 · 0 comments
Open

Update CDN domain for Core Tools #4258

mattchenderson opened this issue Feb 5, 2025 · 0 comments

Comments

@mattchenderson
Copy link
Contributor

mattchenderson commented Feb 5, 2025

We need to change from functionscdn.azureedge.net to cdn.functions.azure.com.

For the Core Tools, there is are direct dependencies...

  1. in the build config:

    public static readonly string TemplatesJsonZip = $"https://functionscdn.azureedge.net/public/TemplatesApi/{TemplateJsonVersion}.zip";

  2. In the publish scripts:

    url = f'https://functionscdn.azureedge.net/public/4.0.{constants.CONSOLIDATED_BUILD_ID}/{fileName}'

  3. In the Chocolatey script:

    url = f'https://functionscdn.azureedge.net/public/4.0.{constants.CONSOLIDATED_BUILD_ID}/{fileName}'

  4. In the npm script:

    const endpoint = 'https://functionscdn.azureedge.net/public/' + consolidatedBuildId + '/' + fileName;

Related, we should update the dotnet-install script as per dotnet/core#9671:

azure_feed="https://dotnetcli.azureedge.net/dotnet"

This issue description may not include all instances that need to be changed. As part of this work, a re-audit should be completed.

An ad-hoc release should be planned for these changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant