IBM / cloud-native-starter

Cloud Native Starter for Java/Jakarta EE based Microservices on Kubernetes and Istio
https://cloud-native-starter.mybluemix.net/
Apache License 2.0
516 stars 273 forks source link

local.env #17

Closed fachat closed 5 years ago

fachat commented 5 years ago

Not sure if this results in an error in the end, but I get

2019-07-08 08:37:38 Preparing YAML files for Kubernetes Deployment
scripts/deploy-authors-nodejs.sh: line 22: /home/de117305/Current/Microservices/cloud-native-starter/local.env: No such file or directory
2019-07-08 08:37:38 DB is
2019-07-08 08:37:38 Cloudant URL is
2019-07-08 08:37:38 Clean-up Minikube
scripts/deploy-authors-nodejs.sh: line 38: [: !=: unary operator expected
No resources found
2019-07-08 08:37:38 Build Docker Image

and

destinationrule.networking.istio.io/authors created
scripts/deploy-authors-nodejs.sh: line 57: [: !=: unary operator expected
2019-07-08 08:38:52 Done deploying authors-nodejs

when running scripts/deploy-authors-nodejs.sh

fachat commented 5 years ago

Probably test for the existence of local.env, resp. mention it in the docs (at least I didn't find it)