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 2017/12/28 13:34:04 UTC

[GitHub] jonpspri commented on issue #3100: add remote_redirect mode for openwhisk_cli installation

jonpspri commented on issue #3100: add remote_redirect mode for openwhisk_cli installation
URL: https://github.com/apache/incubator-openwhisk/pull/3100#issuecomment-354289069
 
 
   I was heading in the same direction.  My intention was to have build occur in the 'incubator-openwhisk-cli' project.  The build would actually create two artifacts:
   
   1. The `wsk` binaries (as it does today).
   
   1. A tarball for deployment in Nginx consisting of the binaries directory structure _and_ the `content.json` file.
   
   Riffing on that, the CLI "download" could pull the tarball from a URL, and for local build the configuration could override that URL with `file://../../incubator-openwhisk-cli/build/<path-to-tarball>.tgz`.  So we only need to address the two Nginx configurations (download vs redirect) -- anyone wanting local build should be savvy enough to do the build themselves before overriding the URL.  Local CLI sourcing is similar -- is a URL override provided?  Get that.  Otherwise, get the 'default' CLI for the local OS and architecture.

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