mirror of
https://github.com/containers/podman.git
synced 2025-07-04 01:48:28 +08:00
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 <mario.loriedo@gmail.com>
This commit is contained in:
@ -12,6 +12,7 @@ if ($Env:CI -eq "true") {
|
|||||||
$RELEASE_DIR = "$PSScriptRoot\..\..\contrib\win-installer\current"
|
$RELEASE_DIR = "$PSScriptRoot\..\..\contrib\win-installer\current"
|
||||||
if ($null -eq $ENV:CONTAINERS_MACHINE_PROVIDER) { $ENV:CONTAINERS_MACHINE_PROVIDER = 'wsl' }
|
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
|
Push-Location $WIN_INST_FOLDER
|
||||||
|
|
||||||
@ -20,7 +21,7 @@ Push-Location $WIN_INST_FOLDER
|
|||||||
# Download the previous installer to test a major update
|
# Download the previous installer to test a major update
|
||||||
|
|
||||||
if (!$env:PREV_SETUP_EXE_PATH) {
|
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
|
# Note: consumes podman-remote-release-windows_amd64.zip from repo.tar.zst
|
||||||
|
Reference in New Issue
Block a user