You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/29 22:01:25 UTC

[GitHub] pritidesai commented on issue #396: Deploy sequences separately other than combining with actions

pritidesai commented on issue #396: Deploy sequences separately other than combining with actions
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/396#issuecomment-325817448
 
 
   @daisy-ycguo we have to make sure that wskdeploy deploys all actions prior to deploying sequences. I deployed Zach's use case with/without your changes:
   
   Off of master:
   
   ```
   ./wskdeploy -p ~/IBM/OpenWhisk/source/zachschultz/owbp-cloudant-trigger/runtimes/node/
   2017/08/29 14:35:12 Unmarshal Openwhisk info from internet
   2017/08/29 14:35:12 Using /Users/pritidesai/IBM/OpenWhisk/source/zachschultz/owbp-cloudant-trigger/runtimes/node/manifest.yaml for deployment 
   2017/08/29 14:35:12 The URL is https://openwhisk.ng.bluemix.net/api, selected from .wskprops
   2017/08/29 14:35:12 The auth key is set, selected from .wskprops
   2017/08/29 14:35:12 The namespace is pdesai@us.ibm.com_dev, selected from .wskprops
   2017/08/29 14:35:12 Deploying package cloudant-trigger ... 
   2017/08/29 14:35:13 Done!
   2017/08/29 14:35:13 Deploying package bindingopenwhisk-cloudant ... 
   2017/08/29 14:35:13 Done!
   2017/08/29 14:35:13 Deploying action cloudant-trigger/process-change ... 
   2017/08/29 14:35:13 Done!
   2017/08/29 14:35:13 Deploying action cloudant-trigger/process-change-cloudant-sequence ... 
   2017/08/29 14:35:13 Done!
   2017/08/29 14:35:13 Deploying trigger feed data-inserted-trigger ... 
   2017/08/29 14:35:14 
   Deployment completed successfully.
   ```
   
   With this PR:
   
   ```
   ./wskdeploy -p ~/IBM/OpenWhisk/source/zachschultz/owbp-cloudant-trigger/runtimes/node/
   2017/08/29 14:31:25 Unmarshal Openwhisk info from internet
   2017/08/29 14:31:25 Using /Users/pritidesai/IBM/OpenWhisk/source/zachschultz/owbp-cloudant-trigger/runtimes/node/manifest.yaml for deployment 
   2017/08/29 14:31:25 The URL is https://openwhisk.ng.bluemix.net/api, selected from .wskprops
   2017/08/29 14:31:25 The auth key is set, selected from .wskprops
   2017/08/29 14:31:25 The namespace is pdesai@us.ibm.com_dev, selected from .wskprops
   2017/08/29 14:31:25 Deploying package cloudant-trigger ... 
   2017/08/29 14:31:26 Done!
   2017/08/29 14:31:26 Deploying package bindingopenwhisk-cloudant ... 
   2017/08/29 14:31:26 Done!
   2017/08/29 14:31:26 Deploying action cloudant-trigger/process-change ... 
   2017/08/29 14:31:26 Done!
   2017/08/29 14:31:26 Deploying action cloudant-trigger/process-change-cloudant-sequence ... 
   2017/08/29 14:31:26 Done!
   2017/08/29 14:31:26 Deploying trigger feed data-inserted-trigger ... 
   2017/08/29 14:31:27 
   Deployment completed successfully.
   ```
   
   The reported error happens randomly and therefore we need test case to validate the same "deploy actions before starting to deploy sequences" like add a test case to deploy 10/20/... different actions followed by a sequence.  
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services