From 3e0e87e48b095d1507a46817b734b4506ad961a1 Mon Sep 17 00:00:00 2001 From: Owen Voorhees Date: Mon, 16 Jun 2025 16:27:10 -0700 Subject: [PATCH] Pin Windows images to the 6/9 nightly main snapshot --- nightly-main/windows/1809/Dockerfile | 4 +++- nightly-main/windows/LTSC2022/Dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/nightly-main/windows/1809/Dockerfile b/nightly-main/windows/1809/Dockerfile index 5ef600bf..3dfab4e9 100644 --- a/nightly-main/windows/1809/Dockerfile +++ b/nightly-main/windows/1809/Dockerfile @@ -128,8 +128,10 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); # Install Swift toolchain. ARG SWIFT_RELEASE_METADATA=https://download.swift.org/development/windows10/latest-build.json +# Pinned to 6/9 snapshot due to https://github.com/swiftlang/swift/issues/82281 +# $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \ RUN $Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA} | ConvertFrom-JSON; \ - $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \ + $SWIFT_URL = "\"https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a-windows10.exe\""; \ Write-Host -NoNewLine ('Downloading {0} ... ' -f ${SWIFT_URL}); \ Invoke-WebRequest -Uri ${SWIFT_URL} -OutFile installer.exe; \ Write-Host '✓'; \ diff --git a/nightly-main/windows/LTSC2022/Dockerfile b/nightly-main/windows/LTSC2022/Dockerfile index b1af4a39..7b8f6d55 100644 --- a/nightly-main/windows/LTSC2022/Dockerfile +++ b/nightly-main/windows/LTSC2022/Dockerfile @@ -128,8 +128,10 @@ RUN Write-Host -NoNewLine ('Downloading {0} ... ' -f ${env:VSB}); # Install Swift toolchain. ARG SWIFT_RELEASE_METADATA=https://download.swift.org/development/windows10/latest-build.json +# Pinned to 6/9 snapshot due to https://github.com/swiftlang/swift/issues/82281 +# $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \ RUN $Release = curl.exe -sL ${env:SWIFT_RELEASE_METADATA} | ConvertFrom-JSON; \ - $SWIFT_URL = "\"https://download.swift.org/development/windows10/$($Release.dir)/$($Release.download)\""; \ + $SWIFT_URL = "\"https://download.swift.org/development/windows10/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a/swift-DEVELOPMENT-SNAPSHOT-2025-06-09-a-windows10.exe\""; \ Write-Host -NoNewLine ('Downloading {0} ... ' -f ${SWIFT_URL}); \ Invoke-WebRequest -Uri ${SWIFT_URL} -OutFile installer.exe; \ Write-Host '✓'; \