-
Notifications
You must be signed in to change notification settings - Fork 54
Conversation
Ok, this is in more advanced state than https://github.com/radu-matei/duffle/tree/feat-629-sync-action-spec, so I'll close that one. Just for future reference, let's make sure we assign an issue before starting the work on it, so we don't duplicate work 😃 |
Sorry about the duplicated work. Fixed the annotations and added a |
This looks good, although I have a question (that I think will result in an issue for Duffle) - according to the spec for stateless actions: The action does not act on a claim - however, If I understand the usage of stateless actions correctly, the above would be something we want to support, right? |
Yes, I only focused on the lower level things for now (as my honest goal was to remove a hack we have in docker-app which already defines implicitly stateless actions).
I have no idea how the duffle UX should be for such action though. Docker-app is easier as it is an opinionated tool and we have top level commands like `docker app inspect/render` for them.
…________________________________
From: Radu M <[email protected]>
Sent: Tuesday, February 12, 2019 2:46:56 PM
To: deislabs/duffle
Cc: Simon Ferquel; Author
Subject: Re: [deislabs/duffle] Add support for stateless actions (#630)
This looks good, although I have a question (that I think will result in an issue for Duffle) - according to the spec for stateless actions: The action does not act on a claim - however, duffle run requires an installation name, and does not accept a bundle.
If I understand the usage of stateless actions correctly, the above would be something we want to support, right?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#630 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/ABmYFRK48yO7RxLYJGzlb2nMnPzd14S3ks5vMsXQgaJpZM4a2NLz>.
|
Hmm, also, we must also be able to pass parameter values for such stateless actions like we do with |
Yeah, that totally makes sense, and I'll create a new issue to track this. Could you please, also sign your commits? |
They are signed with |
Yeah, we haven't enforced this yet, but as it's best practice, I think we should start to. |
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.
Oh, there's a small conflict on this - once it's resolved, I think we can go ahead and merge this, keeping the discussion about the UX issue in #629. Thanks! |
Oops, sorry, totally forgot about this one. Rebasing right now |
Signed-off-by: Simon Ferquel <[email protected]>
Signed-off-by: Simon Ferquel <[email protected]>
6630128
to
ca64e53
Compare
Now rebased, PTAL @radu-matei |
This implements stateless actions as defined in cnabio/cnab-spec#85.