Skip to content

Commit

Permalink
Update .NET CI builds domain
Browse files Browse the repository at this point in the history
  • Loading branch information
martincostello committed Jan 4, 2025
1 parent 19bf96d commit 2253461
Show file tree
Hide file tree
Showing 11 changed files with 181 additions and 98 deletions.
241 changes: 162 additions & 79 deletions dist/main.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/main.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "update-dotnet-sdk",
"version": "3.3.1",
"version": "3.4.0",
"private": true,
"description": "A GitHub Action that updates the .NET SDK.",
"main": "lib/main.js",
Expand Down
2 changes: 1 addition & 1 deletion src/DotNetSdkUpdater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ export class DotNetSdkUpdater {

private static getSdkProductCommitsUrl(sdkVersion: string, format: 'json' | 'txt'): string {
const platform = 'win-x64';
return `https://dotnetbuilds.azureedge.net/public/Sdk/${sdkVersion}/productCommit-${platform}.${format}`;
return `https://ci.dot.net/public/Sdk/${sdkVersion}/productCommit-${platform}.${format}`;
}

private static async getSdkProductCommitsFromJson(sdkVersion: string): Promise<SdkProductCommits | null> {
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/daily-8.0.1xx-preview7.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
}
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/8.0.100-preview.7.23376.3/productCommit-win-x64.json",
"status": 404,
"response": "<Error>\n<Code>BlobNotFound</Code>\n<Message>The specified blob does not exist. RequestId:abb74f82-901e-0055-5136-d7c81c000000 Time:2023-08-25T09:26:00.8082765Z</Message>\n</Error>\n"
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/8.0.100-preview.7.23376.3/productCommit-win-x64.txt",
"response": "installer_commit=\"daebeea8ea53b3b8c8d6656977f59991fc550885\" installer_version=\"8.0.100-preview.7.23376.3\"\nruntime_commit=\"65b696cf5e7599ad68107138a1acb643d1cedd9d\" runtime_version=\"8.0.0-preview.7.23375.6\"\naspnetcore_commit=\"8df730db29a670c853e3cff67fe70eb1cf6e8af7\" aspnetcore_version=\"8.0.0-preview.7.23375.9\"\nwindowsdesktop_commit=\"a5b073b500e3f7cdc8a46b261fa12b6c6672bec6\" windowsdesktop_version=\"8.0.0-preview.7.23376.1\"\nsdk_commit=\"b9a275259a7a2e993ba6a21676a2679a7e128814\" sdk_version=\"8.0.100-preview.7.23376.5\"\n"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/daily-8.0.1xx.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/8.0.100-rc.2.23424.12/productCommit-win-x64.json",
"response": {
"installer": {
Expand Down
2 changes: 1 addition & 1 deletion tests/fixtures/daily-8.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/8.0.100-rc.2.23424.12/productCommit-win-x64.json",
"response": {
"installer": {
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/daily-9.0.1xx.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/9.0.100-preview.6.24281.7/productCommit-win-x64.json",
"response": {
"runtime": {
Expand All @@ -31,7 +31,7 @@
}
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/9.0.100-preview.5.24281.15/productCommit-win-x64.json",
"response": {
"installer": {
Expand Down
4 changes: 2 additions & 2 deletions tests/fixtures/daily-9.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
}
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/9.0.100-alpha.1.24058.9/productCommit-win-x64.json",
"response": {
"installer": {
Expand All @@ -35,7 +35,7 @@
}
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/9.0.100-alpha.1.24066.6/productCommit-win-x64.json",
"response": {
"installer": {
Expand Down
6 changes: 3 additions & 3 deletions tests/fixtures/releases/daily-8.0.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@
"response": "Not found"
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/8.0.100-preview.7.23363.2/productCommit-win-x64.json",
"persist": true,
"status": 404,
"response": "<Error>\n<Code>BlobNotFound</Code>\n<Message>The specified blob does not exist. RequestId:abb74f82-901e-0055-5136-d7c81c000000 Time:2023-08-25T09:26:00.8082765Z</Message>\n</Error>\n"
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/8.0.100-preview.7.23363.2/productCommit-win-x64.txt",
"persist": true,
"response": "installer_commit=\"19da2758bbeff00c686c491b18c6318c187c59c4\" installer_version=\"8.0.100-preview.7.23363.2\"\nruntime_commit=\"e70f0dfc1a4e8256f91c8dd20042a0e21a4cd8c8\" runtime_version=\"8.0.0-preview.7.23361.9\"\naspnetcore_commit=\"bad855959a99257bc6f194dd19ecd6c9aeb03acb\" aspnetcore_version=\"8.0.0-preview.7.23362.32\"\nwindowsdesktop_commit=\"b6eb22982ba504a732c565ae8d2ab4ee7e05750f\" windowsdesktop_version=\"8.0.0-preview.7.23362.11\"\nsdk_commit=\"a4b77d4fd5e878fd42aef22d86c0668c90888da6\" sdk_version=\"8.0.100-preview.7.23362.35\"\n"
},
{
"basePath": "https://dotnetbuilds.azureedge.net",
"basePath": "https://ci.dot.net",
"path": "/public/Sdk/8.0.100-rc.2.23424.12/productCommit-win-x64.json",
"persist": true,
"response": {
Expand Down

0 comments on commit 2253461

Please sign in to comment.