chetanmeh commented on issue #3689: Enable extending environment variables of 
Controller and Invoker
URL: 
https://github.com/apache/incubator-openwhisk/pull/3689#issuecomment-392226848
 
 
   @csantanapr  I needed this support for travis specially. There I want to 
have a way where just with a env variable switch I can make test run against 
Cosmos. So earlier plan was to define pre configured env set in local
   
   
   ```yaml
   cosmos:
       CONFIG_whisk_spi_ArtifactStoreProvider: 
whisk.core.database.cosmosdb.CosmosDBArtifactStoreProvider
       CONFIG_whisk_cosmosdb_endpoint : {{ lookup('env','COSMOSDB_ENDPOINT') }}
       CONFIG_whisk_cosmosdb_key : "{{ lookup('env','COSMOSDB_KEY') }}"
       CONFIG_whisk_cosmosdb_db : "{{ lookup('env','COSMOSDB_KEY') }}"
   ```
   
   These env variables would then be configured via travis ui. And then in 
cosmos db stage of travis set
   ```
   export OPENWHISK_EXTRA_ENV=cosmos
   ```
   
   This way with minimal changes specific to  Cosmos I can run test against it. 
Any pointers on how to achieve that with approach you proposed?
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to