Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

(PA-6543) Bump wixtoolset to 3.14.1 in puppet-agent main #2557

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

shubhamshinde360
Copy link
Contributor

We use '--ignore-dependencies' flag to install wixtoolset since it depends on DotNet3.5 which breaks when installing: wixtoolset/issues#5523. Seems we don't need it for our use case, we can leave it out.

 We use '--ignore-dependencies' flag to install wixtoolset since it depends on DotNet3.5 which breaks when installing: wixtoolset/issues#5523. Seems we don't need it for our use case, we can leave it out.
@shubhamshinde360 shubhamshinde360 requested a review from a team as a code owner September 13, 2024 05:33
@shubhamshinde360
Copy link
Contributor Author

The build succeeds and all impacted windows platforms pass the ad-hoc integrations tests:
https://jenkins-platform.delivery.puppetlabs.net/view/puppet-agent/view/ad-hoc/job/platform_puppet-agent-extra_puppet-agent-integration-suite_adhoc-ad_hoc/

@joshcooper joshcooper merged commit 595dbc2 into puppetlabs-toy-chest:main Sep 13, 2024
3 checks passed
@@ -14,7 +14,7 @@

#FIXME we need Fips Compliant Wix, currently not in choco repositories
#plat.provision_with "C:/ProgramData/chocolatey/bin/choco.exe install -y Wix310 -version 3.10.2 -debug -x86 --no-progress"
plat.provision_with "curl -L -o /tmp/wix314-binaries.zip https://artifactory.delivery.puppetlabs.net/artifactory/generic/buildsources/windows/wix3/wix3.14.0.6526-binaries.zip && \"C:/Program Files/7-Zip/7z.exe\" x -y -o\"C:/Program Files (x86)/WiX Toolset v3.14/bin\" C:/cygwin64/tmp/wix314-binaries.zip && rm /tmp/wix314-binaries.zip && SETX WIX \"C:\\Program Files (x86)\\WiX Toolset v3.14\" /M"
plat.provision_with "curl -L -o /tmp/wix314-binaries.zip https://artifactory.delivery.puppetlabs.net/artifactory/generic__buildsources/buildsources/wix314-binaries.zip && \"C:/Program Files/7-Zip/7z.exe\" x -y -o\"C:/Program Files (x86)/WiX Toolset v3.14/bin\" C:/cygwin64/tmp/wix314-binaries.zip && rm /tmp/wix314-binaries.zip && SETX WIX \"C:\\Program Files (x86)\\WiX Toolset v3.14\" /M"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noticed this after merging, but it's a good idea to pass --fail and --retry.

The fail option is important because if artifactory's response with non-20x, then curl will save the HTML response as the output file!!, e.g. "...

Internal Server Error...", return exit code 0 (success). Then we try to unzip the html file, which fails in ways that are hard to troubleshoot.

The retry option is good so that we're more resilient to transient network issues.

Copy link
Contributor Author

@shubhamshinde360 shubhamshinde360 Sep 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants