alexkli commented on issue #2848: Support reading param.json from stdin #2837
URL: 
https://github.com/apache/incubator-openwhisk/pull/2848#issuecomment-337999506
 
 
   `wskdev setup props` fails similar to `tools/build/redo props`, as they seem 
to run the same and expect a running local ansible based OpenWhisk.
   
   However, after some fiddling around, I was able to successfully run at least 
the WskBasicUsageTests
   
       ./gradlew tests:test -Dtest.single=WskBasicUsageTests
   
   against my local OpenWhisk from the [docker-compose 
setup](https://github.com/apache/incubator-openwhisk-devtools/tree/master/docker-compose)
 using this minimal `whisk.properties` file in the root of the checkout:
   
   ```properties
   openwhisk.home=$OPENWHISK_CHECKOUT_DIR
   
   testing.auth=$USER_HOME/tmp/openwhisk/src/ansible/files/auth.guest
   
whisk.ssl.cert=$USER_HOME/tmp/openwhisk/apigateway/ssl/openwhisk-server-cert.pem
   
   edge.host=$LOCAL_IP:443
   whisk.api.host.proto=https
   whisk.api.host.name=$LOCAL_IP
   whisk.api.host.port=443
   
   vcap.services.file=
   use.cli.download=false
   ```
   
   Replace the variables in there:
   * `$OPENWHISK_CHECKOUT_DIR`: absolute path to the openwhisk git checkout
   * `$USER_HOME`: absolute path to your user home (e.g. `/Users/alex`), tilde 
`~` does not work
   * `$LOCAL_IP`: local IP (`localhost` might work too)

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

Reply via email to