diff --git a/contrib/cirrus/win-installer-main.ps1 b/contrib/cirrus/win-installer-main.ps1 index 26d4cf1d58..cc89b7259e 100644 --- a/contrib/cirrus/win-installer-main.ps1 +++ b/contrib/cirrus/win-installer-main.ps1 @@ -1,6 +1,7 @@ #!/usr/bin/env powershell . $PSScriptRoot\win-lib.ps1 +. $PSScriptRoot\..\win-installer\utils.ps1 if ($Env:CI -eq "true") { $WIN_INST_FOLDER = "$ENV:CIRRUS_WORKING_DIR\repo\contrib\win-installer" diff --git a/contrib/win-installer/test-installer.ps1 b/contrib/win-installer/test-installer.ps1 index f8c466eaa6..a8adace025 100644 --- a/contrib/win-installer/test-installer.ps1 +++ b/contrib/win-installer/test-installer.ps1 @@ -204,18 +204,6 @@ function Remove-Podman-Machine-Conf { Write-Host "Deletion successful!`n" } -function Get-Latest-Podman-Setup-From-GitHub { - $tag = "5.3.0" - Write-Host "Downloading the $tag Podman windows setup from GitHub..." - $downloadUrl = "/~https://github.com/containers/podman/releases/download/v$tag/podman-$tag-setup.exe" - Write-Host "Downloading URL: $downloadUrl" - $destinationPath = "$PSScriptRoot\podman-$tag-setup.exe" - Write-Host "Destination Path: $destinationPath" - Invoke-WebRequest -Uri $downloadUrl -OutFile $destinationPath - Write-Host "Command completed successfully!`n" - return $destinationPath -} - function Test-Installation { param ( [ValidateSet("wsl", "hyperv")]