lionelvillard commented on issue #761: Whisk Deploy - Report OW assets URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/761#issuecomment-369642887 Here a simple proposal based on the assumption that updating annotations is relatively cheap (or should be). The steps are: - before actual deployment: update (and create) all assets status annotation to "deployment pending" - deploy assets (this might take a while due to build time and large zip upload time). At the same time update status annotation as follows: - if an error occurred (problem at build time, code size to large, etc....): just update the status annotation - otherwise set annotation to "deployed", or "ready" To get the deployment status of an asset is easy: just do the equivalent of `wsk action get <actionname> --field annotations` To get the deployment status of all assets, first do `wsk list -v` Any thoughts?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
