Increase the size of the Windows dev drives from 20GB -> 25GB (#15734)

We ran out of disk space in
https://github.com/astral-sh/uv/actions/runs/17551474262/job/49844770034?pr=15727

Closes https://github.com/astral-sh/uv/issues/15729
This commit is contained in:
Zanie Blue
2025-09-08 08:21:38 -05:00
committed by GitHub
parent 9d17dfa353
commit 4de559d70d
+3 -3
View File
@@ -24,7 +24,7 @@ if ($env:DEPOT_RUNNER -eq "1") {
# Create VHD and configure drive using diskpart
$vhdPath = "C:\uv_dev_drive.vhdx"
@"
create vdisk file="$vhdPath" maximum=20480 type=expandable
create vdisk file="$vhdPath" maximum=25600 type=expandable
attach vdisk
create partition primary
active
@@ -41,9 +41,9 @@ assign letter=V
Write-Output "Using existing drive at D:"
$Drive = "D:"
} else {
# The size (20 GB) is chosen empirically to be large enough for our
# The size (25 GB) is chosen empirically to be large enough for our
# workflows; larger drives can take longer to set up.
$Volume = New-VHD -Path C:/uv_dev_drive.vhdx -SizeBytes 20GB |
$Volume = New-VHD -Path C:/uv_dev_drive.vhdx -SizeBytes 25GB |
Mount-VHD -Passthru |
Initialize-Disk -Passthru |
New-Partition -AssignDriveLetter -UseMaximumSize |