Fix Win install task failures with large PR bodies

MSI Validation will fail if the process env is > 32k chars
Remove CIRRUS_COMMIT_MESSAGE and CIRRUS_PR_BODY which can easily exceed this limit

[NO NEW TESTS NEEDED]

Signed-off-by: Jason T. Greene <jason.greene@redhat.com>
This commit is contained in:
Jason T. Greene 2023-04-02 22:43:17 -05:00
parent 38556594f2
commit 78e7ade0da
1 changed files with 4 additions and 0 deletions

View File

@ -33,6 +33,10 @@ Remove-Item Env:\GOPATH
Remove-Item Env:\GOSRC
Remove-Item Env:\GOCACHE
# Drop large known env variables (an env > 32k will break MSI/ICE validation)
Remove-Item Env:\CIRRUS_COMMIT_MESSAGE
Remove-Item Env:\CIRRUS_PR_BODY
Set-Location contrib\win-installer
# Download and extract alt_build win release zip