-
Notifications
You must be signed in to change notification settings - Fork 491
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
[YAML design] Update/patch software: install if it's below a minimum version #26766
base: main
Are you sure you want to change the base?
Conversation
Adding ability to auto-install and to update apps.
@@ -343,15 +343,23 @@ software: | |||
labels_include_any: | |||
- Engineering | |||
- Customer Support | |||
ensure: present |
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.
Dev note. If the user enters something other than 'present':
Error: Couldn’t ensure entered state. Currently, only ‘present’ is supported.
This comment was marked as resolved.
This comment was marked as resolved.
@@ -343,15 +343,20 @@ software: | |||
labels_include_any: | |||
- Engineering | |||
- Customer Support | |||
ensure: present | |||
minimum_version: '1.2.3' |
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.
Dev note. If user enters a non-semantic version
Error: Couldn’t ensure entered state. Currently, ‘minimum_version’ must be a semantic version.
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.
Dev note. If user defines a min version greater than the app version, show error:
The minimum version entered is greater than the software’s version, which would cause an infinite install loop. Please enter a new minimum version.
Hey @eugkuo, just a reminder to update the title of YAML/API design PRs to use "[YAML design] user story name" format and added the I did it here and in your API PR here: #26778 |
YAML changes for the following user story: