Skip to content

Ci windows chocolatey retry

Daniel Stone requested to merge daniels/mesa:ci-windows-chocolatey-retry into master

ci/windows: Make Chocolatey installs more reliable

Chocolatey installs depend on downloading binaries from SourceForge, which is an unreliable host: container builds often fail because it cannot pick up winflexbison.

Add a loop to retry chocolatey installs if any installs have failed, and ensure Python is in the accessible PowerShell path rather than relying on the path being externally refreshed.

Signed-off-by: Daniel Stone daniels@collabora.com

cc @jrfonseca (I know you suggested Scoop, and I've been looking into it in parallel, but this does increase reliability at least for now) @dbaker

Merge request reports