-
Notifications
You must be signed in to change notification settings - Fork 14
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
Support beaker facts in the test matrix #6
Comments
voxpupuli/puppet_metadata#35 is merged and released in puppet_metadata 3.3.0. That leaves the question of how to specify it. I'm leaning to a way to specify it in puppet_metadata. Either on the command line or via some config file. The config file has the benefit that we don't need to do some funky stuff in GHA, where you would need to use JSON to pass data structures around. It has the downside of maintaining an additional file in the repository. I haven't investigated if we can actually added data to |
And #41 uses this functionality. |
And theforeman/forklift#1712 (comment) explains how puppet-pulpcore uses this today. |
Which makes me think that specifying "requirements": [
{
"name": "puppet",
"version_requirement": ">= 7.0.0 < 8.0.0"
},
{
"name": "pulpcore",
"version_requirement": "3.21 || 3.22 || 3.28"
}
] should totally work. (the same wording is also used on the Puppet 6 and Puppet 8 pages) |
Not sure why it isn't closed, but #42 was merged. |
gha-puppet/.github/workflows/beaker.yml
Line 80 in 6602b90
It's possible to set a fact via environment variables. This is used in theforeman/puppet-pulpcore to run the entire test suite on multiple supported versions.
It would be great if this was also supported in gha-puppet.
I started with voxpupuli/puppet_metadata#35 which at least pushes the name generation into the gem. That gem already generates the matrix so this opens the path to generating a bigger matrix. Then it just needs a good way to specify the inputs and map it.
The text was updated successfully, but these errors were encountered: