To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
Interesting change. One common semi-common practice for env vars during staging is to set proxy values "http_proxy and https_proxy". I'd imagine most buildpacks would need to explicitly support those variables if they want to work behind a proxy.
I vote not to "rip off the bandaid". I vote to go with both behaviors for a time with a clear deprecation of the env variables being automatically set.
Does Heroku support buildpacks written in ruby?
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
E.g. if there is no $ENV_DIR/FOO file, but $FOO is already set, then
the buildpack will simply not source the environment variable from
file but use the current value.
USER=vcapVCAP_APPLICATION={"limits":{"mem":256,"disk":1024,"fds":16384},"application_version":"65655208-793b-4585-ae61-2678b3e67965","application_name":"env-heroku","application_uris":["env-heroku.tabasco-app.cf-app.com"],"version":"65655208-793b-4585-ae61-2678b3e67965","name":"env-heroku","space_name":"development","space_id":"34abe92a-fc08-431a-a6ca-b673c021972e","uris":["env-heroku.tabasco-app.cf-app.com"],"users":null}STAGING_TIMEOUT=900.0VCAP_SERVICES={}BUILDPACK_CACHE=/var/vcap/packages/buildpack_cache
MEMORY_LIMIT=256m
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
yes jan, if buildpacks start implementing support for the updated compile argument for a env-var directory now, they will be backward compatible when the change switch over to diego occurs if we follow matthew's suggestion to have diego only support opt-in app env-vars.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
thanks for your feedback ben. i believe it's also an important goal to track the way buildpacks work now. the change needed for buildpack authors or forkers is completely trivial [1] so i don't think this type of trivial change makes sense to delay the implementation up to a year. if we hear more vocal community members make a case for a long deprecation period that can influence the length, but i suspect we'll plan on a much shorter deprecation period so we can more closely follow heroku buildpacks.
buildpack authors that expect access to app environment variables should make the change now since it does not break things in the time before the deprecation period is ended.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
HTTP_PROXY and HTTPS_PROXYboth make sense to me to have as system env variables relevant whenever we have user-provided code that may need to reach out into the world. according to what we’re learning from some users in really locked down environments, even http interactions between system components are required to go through a mandated proxy.
LANG and TZ seem valuable as system env vars too, such that they could be set in a bosh deployment manifest and be available universally if the bosh packaging for a component uses them.
i don’t think we’re at the level of refinement to have a space-wide setting for these and apply overrides, etc. as PM for runtime, these are all mark’s decision to consider all of this input and make/communicate the decision for now and what makes sense for future considerations.