-
Notifications
You must be signed in to change notification settings - Fork 100
Add support for acorn update --confirm-upgrade
on nested Acorns and services
#1726
Comments
Nested acorn validation support for `acorn update --confirm-upgrade` (#1726)
Tested with acorn version -
Question:
|
To answer your question at the end @sangee2004, no we would not expect that to work. That would work only to update the image of the parent acorn itself, if it also had |
@g-linville It is confusing to see "confirm upgrade" messages show up in the Parent acorns "Messages" field and when user attempts to |
@sangee2004 the reason it shows up there is because it is a condition set on the child acorn. The message from the example you gave looks like this:
I think it makes it clear enough that the upgrade is for the child acorn called |
Followup question is tracked in #2007 |
Signed-off-by: Oscar Ward <[email protected]>
We block most
acorn update
commands on nested Acorns because the user should instead be updating the parent Acorn, since that is the source of truth. However, it is reasonable for a user to usenotifyUpgrade
on a nested Acorn, in an Acornfile such as this one:And in that circumstance, the user should be able to do
acorn update --confirm-upgrade <app name>.myAcorn
in order to confirm the upgrade when a new image is available.Right now, a command like that will fail name validation because a
.
is present in the name. We need to find a way around this and allow that behavior.The text was updated successfully, but these errors were encountered: