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

Add Arch Linux support #37

Merged
merged 2 commits into from
Feb 14, 2022
Merged

Add Arch Linux support #37

merged 2 commits into from
Feb 14, 2022

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Feb 13, 2022

Alternative to #15. I took a slightly different approach by splitting the GHA test matrix (which is wrongly named, it should really be beaker_test_matrix) into two functions: one to yield the tuple of OS, release and Puppet version and one to convert that into the actual output.

It doesn't implement it in beaker_setfiles but that is now unused and I'd rather deprecate it instead and remove it in a major release.

This meaks it easier to change the logic for an individual OS which may
behave differently.
Arch Linux has a rolling release so it ignores the actual releases. It
also only supports the latest Puppet version so it doesn't make sense to
look at the actually supported Puppet versions.
end
end
end
end

def github_action_test_matrix(use_fqdn: false, pidfile_workaround: false)
matrix_include = []
Copy link
Member Author

Choose a reason for hiding this comment

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

This is still not as pretty as I'd like - yield in Python feels much more natural than in Ruby.

Copy link
Member

@bastelfreak bastelfreak left a comment

Choose a reason for hiding this comment

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

@ekohl ekohl marked this pull request as ready for review February 14, 2022 09:37
@ekohl ekohl added the enhancement New feature or request label Feb 14, 2022
@ekohl ekohl merged commit 990ab18 into voxpupuli:master Feb 14, 2022
@ekohl ekohl deleted the arch-support branch February 14, 2022 11:03
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.

2 participants