0
votes

I need to pass some environment variables to the deploy script like user names and spaces, service plans, etc. The idea was to use env in the manifest.yml file, but I can't get that working - seems like I can only use the predefined CF_APP etc.

Any tips on passing stuff to the deploy script?

Espen

1
How were you adding the environment variables via the manifest? - joe

1 Answers

0
votes

You can define your own environment variables in manifest.yml file.

env:
  <var-name>: <value>
  <var-name>: <value>

Checkout this link https://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html to see in details the fields available in manifest.yml.