Under the env: block within manifest.yml, we mention artifact versions being run on app, before pushing the app(cf push) using manifest.yml
This will help cf user to get the artifact versions running on any app on cloud foundry using cf env <app_name> for each app.
For all apps running in cloudfoundry, Can firehose help us provide environment (cf env) data for each app?
It's unnecessary to listen to the firehose. Your app running on CF will have access to any environment variables that you set (i.e. that are visible with
cf env) by simply using their language/runtime's ability to read an environment variable.For example:
cf set-env my-cool-app VERSION '1.0.0'.VERSIONto retrieve the value1.0.0.In Java, you'd use
System.getenv("VERSION"). In Node you'd useprocess.env.VERSION. In Python you'd useos.environ['VERSION']. etc...