adobe / adobeio-cna-starter-project

DEPRECATED - Please use https://github.com/adobe/aio-cli to manage your future apps!
https://adobe.io
Apache License 2.0
10 stars 8 forks source link

Check that environment variables exist #16

Closed moritzraho closed 5 years ago

moritzraho commented 5 years ago

Description

Related Issue

Motivation and Context

An example: if devs forget to specify APIHOST, the app is build with wrong action URLs. Throwing an error on missing APIHOST solves the problem.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

Checklist:

Himavanth commented 5 years ago

Asking for my knowledge. Do we have a standard for openwhisk env variables in CLI ? WHISK vs WSK vs OW ?

moritzraho commented 5 years ago

@Himavanth the advantage of WHISK_* is that it can be picked up by wsk/aio runtime CLIs directly