From 91072dc9402e8228b87ae3523d5eb04166f34a49 Mon Sep 17 00:00:00 2001 From: Mario Loriedo Date: Wed, 12 Mar 2025 15:59:58 +0100 Subject: [PATCH] Win installer test: hardcode latest GH release ID To avoid problems when automatically downloading `latest` podman windows installer (e.g. the windows installer hasn't been included in the GH release because of a problems with the keys to sign it), we are now hardcoding the version of Podman that is used to test the upgrade from latest to current version. Signed-off-by: Mario Loriedo --- contrib/cirrus/win-installer-main.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/cirrus/win-installer-main.ps1 b/contrib/cirrus/win-installer-main.ps1 index 6a0dc56f83..bd921a5899 100644 --- a/contrib/cirrus/win-installer-main.ps1 +++ b/contrib/cirrus/win-installer-main.ps1 @@ -12,6 +12,7 @@ if ($Env:CI -eq "true") { $RELEASE_DIR = "$PSScriptRoot\..\..\contrib\win-installer\current" if ($null -eq $ENV:CONTAINERS_MACHINE_PROVIDER) { $ENV:CONTAINERS_MACHINE_PROVIDER = 'wsl' } } +$ENV:LATEST_GH_RELEASE_ID = "199677288" # v5.4.0 Push-Location $WIN_INST_FOLDER @@ -20,7 +21,7 @@ Push-Location $WIN_INST_FOLDER # Download the previous installer to test a major update if (!$env:PREV_SETUP_EXE_PATH) { - $env:PREV_SETUP_EXE_PATH = Get-Latest-Podman-Setup-From-GitHub + $env:PREV_SETUP_EXE_PATH = Get-Podman-Setup-From-GitHub $ENV:LATEST_GH_RELEASE_ID } # Note: consumes podman-remote-release-windows_amd64.zip from repo.tar.zst