Add support for development version overrides for components#1323
Draft
Add support for development version overrides for components#1323
Conversation
<component>.versionCommodore will first try to checkout `test_version` for components who set the field, and fall back to field `version` if the version given in `test_version` can't be checked out and isn't equal to `version`. This feature might be useful on development or Lab clusters where many users test various component feature branches, and generally the absence of a configured version indicates that the feature branch was merged and the component's main development branch (usually `master`) should be used again. Note that we probably should make this feature opt-in via a cluster fact or field in `parameters.commodore`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces optional field
parameters.components.<component>.test_version.Commodore will first try to checkout
components.<component>.test_versionfor components who set the field, and fall back to fieldcomponents.<component>.versionif the version given intest_versionis different toversionand can't be checked out.This feature might be useful on development or Lab clusters where many users test various component feature branches, and generally the absence of a configured version indicates that the feature branch was merged and the component's main development branch (usually
master) should be used again.Note that we probably should make this feature opt-in via a cluster fact or field in
parameters.commodore.TODO
Checklist
bug,enhancement,documentation,change,breaking,dependency,internalas they show up in the changelog