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

(MODULES-11371) Updates PDK template #38

Merged

Conversation

mhashizume
Copy link
Contributor

@mhashizume mhashizume commented Feb 10, 2023

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.

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/
@mhashizume mhashizume requested a review from a team as a code owner February 10, 2023 18:16
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.
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
@joshcooper joshcooper merged commit 1b8bad8 into puppetlabs:main Feb 14, 2023
@mhashizume mhashizume 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.

None yet

2 participants