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

Move to Puppet release GitHub Actions #242

Merged
merged 1 commit into from
Feb 13, 2024

Conversation

mhashizume
Copy link
Contributor

This commit replaces the release process implemented by Vox Pupuli with Puppet's gem release GitHub Actions.

@mhashizume
Copy link
Contributor Author

Setting as a draft until I can get the appropriate secrets added to this repo.

@mhashizume mhashizume marked this pull request as ready for review February 12, 2024 17:20
@mhashizume mhashizume requested a review from a team as a code owner February 12, 2024 17:20
@mhashizume
Copy link
Contributor Author

Thanks for the review @bastelfreak , could you take another look when you get the chance? Thanks!


jobs:
release:
runs-on: ubuntu-latest
if: github.repository_owner == 'voxpupuli'
if: github.repository == 'puppetlabs/beaker-puppet'
Copy link
Contributor

Choose a reason for hiding this comment

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

this is totally fine, but: For Vox Pupuli we switched from github.repository to github.repository_owner because it turned out people often copy and paste the action to new repos we have and forget to adjust it :D

echo "Found version $version from lib/beaker-puppet/version.rb"

- name: Generate Changelog
uses: docker://githubchangeloggenerator/github-changelog-generator:1.16.2
Copy link
Contributor

Choose a reason for hiding this comment

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

at vox pupuli we had random concurrency issues with versions below 1.16.4 where PRs and issues got the wrong author in the CHANGELOG.md.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, we've ran into that issue with some of our modules too but that was when using the gem. I haven't had personal experience with the Docker image (I did not write this workflow), but I have not heard of any issues from other Puppet teams who've used this workflow.

This commit replaces the release process implemented by Vox Pupuli with
Puppet's gem release GitHub Actions.
@joshcooper joshcooper merged commit 8af680e into puppetlabs:master Feb 13, 2024
6 checks passed
@mhashizume mhashizume mentioned this pull request Feb 14, 2024
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