mirror of
https://github.com/Icinga/icinga2.git
synced 2026-05-28 04:12:13 -04:00
Precisely speaking, `tools/win32/build-choco.ps1` creates a PS script that downloads our MSIs from packages.icinga.com - to be uploaded to Chocolatey. This PS script now omits 32 bit MSIs. Despite being a niche, 32-bit MSIs currently get uploaded to Chocolatey. Their antiviruses block our whole releases due to the 32-bit MSIs being fishy.
16 lines
No EOL
488 B
CMake
16 lines
No EOL
488 B
CMake
$packageName= 'icinga2'
|
|
$toolsDir = "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)"
|
|
$url64 = 'https://packages.icinga.com/windows/Icinga2-v${CHOCO_VERSION_SHORT}-x86_64.msi'
|
|
|
|
$packageArgs = @{
|
|
packageName = $packageName
|
|
fileType = 'msi'
|
|
url64bit = $url64
|
|
silentArgs = "/qn /norestart"
|
|
validExitCodes= @(0)
|
|
softwareName = 'Icinga 2*'
|
|
checksum64 = '%CHOCO_64BIT_CHECKSUM%'
|
|
checksumType64= 'sha256'
|
|
}
|
|
|
|
Install-ChocolateyPackage @packageArgs |