Skip to content

Conversation

@mhashizume
Copy link
Contributor

This PR:

  • Updates the PDK template to 2.7.1.
  • Sets metadata.json to allow Puppet versions < 9.0.0 in preparation for the release of Puppet 8.
  • Updates GitHub Actions runners from Ubuntu 18.04 to 20.04.
  • Updates actions/checkout from v2 to v3.
  • Removes a Gem that was mistakenly committed in 76e710a

This commit runs `pdk update` using the most recent template at the
time (2.7.1) and updates metadata.json to allow Puppet versions
< 9.0.0 in preparation for the release of Puppet 8.
GitHub is deprecating Ubuntu 18.04 runners on April 1, 2023. This
commit switches all Ubuntu 18.04 runners used in GitHub Actions to
Ubuntu 20.04.

https://github.blog/changelog/2022-08-09-github-actions-the-ubuntu-18-04-actions-runner-image-is-being-deprecated-and-will-be-removed-by-12-1-22/

This commit also updates all instances of the actions/checkout@v2
to actions/checkout@v3 in perparation for the former's deprecation
as part of the NodeJS deprecation.

https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

Additionally, this commit removes a Gem that was mistakenly committed
in 76e710a
@mhashizume mhashizume requested a review from a team as a code owner February 10, 2023 18:59
The PDK Docker image does not contain any build tools, which causes
the installation of gems that use native extensions to fail.

This commit changes the Docker image used in the Auto Release
GitHub Action from the PDK image to the Puppet dev-tools image,
which contains packages like `make` necessary for building native
extensions.
In 24d2929, we updated the module according to PDK template 7.2.1,
which updated puppetlabs_spec_helper. The updated version of
puppetlabs_spec_helper removed the Beaker rake task, which we use
for acceptance testing.

This commit adds the voxpupuli-acceptance gem, which re-adds the
Beaker rake task.
Modeling after the learnings of the support team in commit
puppetlabs/puppetlabs-puppet_metrics_collector@78dd858

This commit pins the github_changelog_generator gem to its latest
version to make it work, and the concurrent-ruby to an older version
to compensate for the version of PDK shipped in the dev-tools
container image.
@mhashizume
Copy link
Contributor Author

Added some commits to aid with release prep

@mhashizume mhashizume added the enhancement New feature or request label Feb 14, 2023
Copy link
Contributor

@joshcooper joshcooper left a comment

Choose a reason for hiding this comment

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

Thanks for catching .github/workflows/puppet-latest.gem!

@joshcooper joshcooper merged commit 55829b4 into main Feb 14, 2023
@joshcooper joshcooper deleted the MODULES-11371/main/puppet-8-prep branch February 14, 2023 23:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants