Skip to content
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

Drop Ubuntu 16.04 (EOL) #374

Closed
wants to merge 23 commits into from
Closed

Drop Ubuntu 16.04 (EOL) #374

wants to merge 23 commits into from

Conversation

smortex
Copy link
Collaborator

@smortex smortex commented Oct 9, 2023

This PR include #344

Sync from the puppetlabs-apt module for settings related to GitHub
actions support and other CI "deprecation".
We are interested in the list of all installed modules, we do not care
about messages on stderr like:
```
bash: warning: setlocale: LC_ALL: cannot change locale (fr_FR.UTF-8)
```
We need the contrib packages only with older versions of PostgreSQL.
While here include this class when it is needed instead of using
a resource to avoid conflicts when another module wants to do this.
PostgreSQL is configured to use snakeoil certificates, but PuppetDB
expect to use the Puppet certificates to authenticate with needs more
code that we currently have in the tests.
the provision module was not found in /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules, please amend the .fixtures.yml file
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/puppet_litmus-0.34.3/lib/puppet_litmus/rake_helper.rb:121:in `provision'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/puppet_litmus-0.34.3/lib/puppet_litmus/rake_tasks.rb:81:in `block (2 levels) in <top (required)>'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/honeycomb-beeline-2.11.0/lib/honeycomb/integrations/rake.rb:21:in `block in execute'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/honeycomb-beeline-2.11.0/lib/honeycomb/client.rb:65:in `start_span'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/honeycomb-beeline-2.11.0/lib/honeycomb/integrations/rake.rb:16:in `execute'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/bundle:23:in `load'
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/bundle:23:in `<main>'
puppet_agent was not found in /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules, please amend the .fixtures.yml file
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/puppet_litmus-0.34.3/lib/puppet_litmus/rake_helper.rb:221:in `block in install_agent'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/honeycomb-beeline-2.11.0/lib/honeycomb/client.rb:65:in `start_span'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/forwardable-1.3.2/lib/forwardable.rb:238:in `start_span'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/puppet_litmus-0.34.3/lib/puppet_litmus/rake_helper.rb:210:in `install_agent'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/puppet_litmus-0.34.3/lib/puppet_litmus/rake_tasks.rb:126:in `block (2 levels) in <top (required)>'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/honeycomb-beeline-2.11.0/lib/honeycomb/integrations/rake.rb:21:in `block in execute'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/honeycomb-beeline-2.11.0/lib/honeycomb/client.rb:65:in `start_span'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/honeycomb-beeline-2.11.0/lib/honeycomb/integrations/rake.rb:16:in `execute'
/home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/vendor/bundle/ruby/2.7.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/bundle:23:in `load'
/opt/hostedtoolcache/Ruby/2.7.6/x64/bin/bundle:23:in `<main>'
Bolt::PAL::PALError: Could not find module facts containing task file bash.sh
Needed some minor adjustment to `.sync.yml`.
For now we want to have running CI.  We do not care about the module
being fully documented.
They break adding facts from a context.
This was changed in 68d8c64 to fix
puppet lint issues, but as the test suite was not run it passed through.
This was changed in 010bf13 to match
best practice, but as the test suite was not run it passed through.
The systemd module use this to run `systemctl daemon-reload`.  Set an
arbitrary value to avoid:

> Validation of Exec[systemd-postgresql.service-systemctl-daemon-reload] failed: 'systemctl' is not qualified and no path was specified. Please qualify the command or specify a path.
Ubuntu reached EOL a few years ago.  The module rely on modules that
drop support for this legacy version of Ubuntu e.g. the
puppetlabs-postgresql module removed support 6+ months ago.

Drop support for Ubuntu.
@smortex smortex requested review from bastelfreak and a team as code owners October 9, 2023 18:49
@smortex
Copy link
Collaborator Author

smortex commented Oct 9, 2023

All unit tests pass \o/

Cc @austb

As stated in #344 (comment) I will be happy to help fixing acceptance tests if I know we are going somewhere (well, I will go on vacation first because it is a sensitive thing to do when working on this module, but I will be back in a few weeks). Thanks!

h0tw1r3 added a commit to h0tw1r3/puppetlabs-puppetdb that referenced this pull request Jan 25, 2024
h0tw1r3 added a commit to h0tw1r3/puppetlabs-puppetdb that referenced this pull request Jan 27, 2024
@h0tw1r3
Copy link
Contributor

h0tw1r3 commented Jan 29, 2024

closed by #384

@h0tw1r3 h0tw1r3 closed this Jan 29, 2024
@h0tw1r3 h0tw1r3 deleted the drop-ubuntu16 branch May 7, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants