-
Notifications
You must be signed in to change notification settings - Fork 54
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
Automate adding new operands and generating documentation #2156
Conversation
93db49c
to
0da7c62
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work @ryanemerson !
I added some comments,
not a priority but it would be also great to have an "automatically generated" notice to all the generated files
@@ -0,0 +1 @@ | |||
2.4.5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add some info about this new file in the doc (maybe readme)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. I plan to use the contents of this file more in the future, for example this will be used in scripts/ci/install-catalog-source.sh
to initiate the VERSION
field.
0da7c62
to
92f8647
Compare
92f8647
to
f9b1ea6
Compare
Great idea! I've added a comment to the generated files with pointers to how/where they're generated. |
Co-authored-by: Vittorio Rigamonti <[email protected]>
thanks @ryanemerson ! |
The Operands defined by the env var
INFINISPAN_OPERAND_VERSIONS
inconfig/manager/manager.yaml
is now the canonical source of truth for Operands supported in the tag/branch. The testsuite uses a modified version of this array in commons.go, with the required downstream-version, Deprecated and CVE fields added as required by the testsuite. Similarly, all references to Operand versions in the documentation are now generated based upon the current Operator version (defined in ./version.txt) and Operands specified inINFINISPAN_OPERAND_VERSIONS
.@Crumby As the testsuite still loads
INFINISPAN_OPERAND_VERSIONS
from the environment variables if explicitly defined, I don't think this should have any impact on the downstream tests.Here are various runs on my fork: https://github.com/ryanemerson/infinispan-operator/actions/workflows/add_operand.yml
You can see on
main
commits containing different operand versions that were added via the action.