ci: download SQL Server media before installing Windows features (#2504)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-07 11:07:52 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 56137ffdc1
commit 9496b537d6
2 changed files with 34 additions and 14 deletions
+10 -6
View File
@@ -355,6 +355,12 @@ jobs:
key: sql-server-2025-express-fa7e1fabc9a2-${{ runner.os }}
# Steps that do not register services run in the background while Windows features install.
- name: Download SQL Server media
id: download-mssql
background: true
shell: powershell
run: ./tools/setup-sql-server.ps1 -DownloadOnly
- name: Install FreeRDP client
id: install-freerdp
background: true
@@ -528,6 +534,10 @@ jobs:
)
Set-Content -Path $installer -Value $installerContent -Encoding utf8
# Downloads stall once the DNS Server role is installed, so finish them first.
- name: Wait for downloads
wait: [download-mssql, install-freerdp, download-container-prereqs]
# Install every Windows feature in one foreground step. Steps that register
# services, such as SQL Server setup, New-Cluster, and containerd, start only
# afterwards: changing service configuration during the install aborts its
@@ -617,9 +627,6 @@ jobs:
Get-ClusterNode | Format-Table Name, State, NodeWeight, DynamicWeight
Get-ClusterNetwork | Format-Table Name, State, Role, Address
- name: Wait for container prerequisites
wait: [download-container-prereqs]
- name: Prepare container runtime
shell: pwsh
run: |
@@ -899,9 +906,6 @@ jobs:
throw "Static pods did not reach Running state"
}
- name: Wait for FreeRDP client
wait: [install-freerdp]
- parallel:
- name: Setup local RDP session
shell: powershell