-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Beaker 5 compatibility #240
Beaker 5 compatibility #240
Conversation
The assert_no_match method in Beaker was long deprecated then eventually removed altogether in voxpupuli/beaker@6282311 This commit updates assert_no_match to refute_match.
ea47677
to
e09cb56
Compare
f475ddd
to
014d5a8
Compare
Passenger support was dropped in Puppet 6 and support for passenger-related methods was removed from Beaker in voxpupuli/beaker@74047d1. This commit removes all passenger-related Beaker methods. The start_puppet_from_source_on! method is unused as a result of this removal. Additionally, since this method's purpose was to control the WEBrick-based server that was removed from Puppet in Puppet 6 (see puppetlabs/puppet@9275e62), I've also removed the start_puppet_from_source_on! method. Co-authored-by: Tim Meusel <[email protected]>
Beaker removed all install_puppet_agent_* method in voxpupuli/beaker@cdaedad. This commit removes beaker-puppet methods that relied on those install_puppet_agent_* methods. Co-authored-by: Tim Meusel <[email protected]>
Beaker 5.0.0 was released in March 2023 and all development effort is now focused on that stream. This commit updates beaker-puppet to require at least Beaker 5.0.
Ruby 3.2 removed Object#taint and #tainted?. One of beaker-puppet's depenencies, inifile, uses those methods. This commit updates the gemspec to limit usage on Ruby 3.2 and above. Also see: puppetlabs#206
This commit removes the deprecated get_puppet_collection method.
014d5a8
to
56133a8
Compare
Passing ad hoc agent pipeline with Beaker 5: https://jenkins-platform.delivery.puppetlabs.net/view/puppet-agent/view/ad-hoc/job/platform_puppet-agent-extra_puppet-agent-integration-suite_adhoc-ad_hoc/1291/ |
I want to repeat what I'm saying since 2017: |
This PR adds Beaker 5 compatibility by dropping Beaker 4-specific code and updating the gemspec.
This PR supercedes #216