You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/10/24 21:29:17 UTC

[GitHub] csantanapr commented on issue #998: add an option to specify preprocessing before creating an action

csantanapr commented on issue #998: add an option to specify preprocessing before creating an action
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/998#issuecomment-432834961
 
 
   Yes!! 👍 
   We should do both hooks.
   
   Start with this very simple global top level hooks
   - `predeploy`
   - `postdeploy`
   
   Some basic use case.
   In `predeploy` I want to run `make build`
   This will compiled my swift code and create my action zip archives that are already referenced in wskdeploy manifest
   In `postdeploy` I want to run `make integration`
   This will will run some integration tests like doing some curl commands against my swift webactions
   
   This is analogous to npm lifecycle scripts `preinstall` and `postinstall` https://docs.npmjs.com/misc/scripts
   Or Apache Cordova hooks https://cordova.apache.org/docs/en/latest/guide/appdev/hooks/
   

----------------------------------------------------------------
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