Skip to content

Commit

Permalink
(maint) - Add example matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Nov 10, 2023
1 parent 7248c1d commit c999966
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ In order to use this new functionality, run:

`$: bundle exec matrix_from_metadata_v2 --custom-matrix matrix.json`

> Note: The file should contain a valid Array of JSON Objects (i.e. `[{"label":"AlmaLinux-8","provider":"provision_service","image":"almalinux-cloud/almalinux-8","machine_type":"n1-standard-2"}, {"label":"RedHat-9-arm","provider":"provision_service","image":"rhel-9-arm64","machine_type":"t2a-standard-2"}, {..}]`), otherwise it will throw an error.
> Note: The file should contain a valid Array of JSON Objects (i.e. see [here](https://github.com/puppetlabs/puppet_litmus/blob/main/docs/custom_matrix.json)), otherwise it will throw an error.
## Documentation

Expand Down
25 changes: 25 additions & 0 deletions docs/custom_matrix.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[
{
"label":"AlmaLinux-8",
"provider":"provision_service",
"image":"almalinux-cloud/almalinux-8",
"machine_type":"n1-standard-2"
},
{
"label":"RedHat-9",
"provider":"provision_service",
"image":"rhel-9",
"machine_type":"n1-standard-2"
},
{
"label":"RedHat-9-arm",
"provider":"provision_service",
"image":"rhel-9-arm64",
"machine_type":"t2a-standard-2"
},
{
"label":"centos-7",
"provider":"docker",
"image":"litmusimage/centos-7"
}
]

0 comments on commit c999966

Please sign in to comment.