Skip to content

Instantly share code, notes, and snippets.

@jbayer
Created April 29, 2014 00:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbayer/11388173 to your computer and use it in GitHub Desktop.
Save jbayer/11388173 to your computer and use it in GitHub Desktop.
cloudfoundry example env vars in buildpack staging from compile script
-----> Downloaded app package (4.0K)
Cloning into '/tmp/buildpacks/null-buildpack'...
-----> build dir
env1: /tmp/staged/app
env2: /tmp/cache
env3:
-----> current env
USER=vcap
VCAP_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.0
PATH=/bin:/usr/bin
PWD=/tmp/staged
VCAP_SERVICES={}
HOME=/home/vcap
SHLVL=2
BUILDPACK_CACHE=/var/vcap/packages/buildpack_cache
MEMORY_LIMIT=256m
_=/usr/bin/env
-----> env-var dir listing
total 20
drwxr-xr-x 5 vcap vcap 4096 Apr 29 00:50 .
drwxrwxrwt 6 root root 4096 Apr 29 00:50 ..
drwxr--r-- 2 vcap vcap 4096 Apr 29 00:50 app
drwxr-xr-x 2 vcap vcap 4096 Apr 29 00:50 logs
drwxr-xr-x 2 vcap vcap 4096 Apr 29 00:50 tmp
-----> Done with compile
-----> Uploading droplet (4.0K)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment