Skip to content

Instantly share code, notes, and snippets.

@jbayer
Last active August 29, 2015 14:00
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/11387928 to your computer and use it in GitHub Desktop.
Save jbayer/11387928 to your computer and use it in GitHub Desktop.
example of updated heroku compile output with env-var dir passed to compile script
$ heroku config:set BUILDPACK_URL=https://github.com/jbayer/null-buildpack.git
Setting config vars and restarting secure-dawn-7547... done, v4
BUILDPACK_URL: https://github.com/jbayer/null-buildpack.git
$ heroku config:set FOO=BAR
Setting config vars and restarting secure-dawn-7547... done, v5
FOO: BAR
$ mate README.txt
jamesbayer:env-heroku jamesbayer$ git add .
jamesbayer:env-heroku jamesbayer$ git commit -am 'initial commit'
[master (root-commit) ae9249d] initial commit
1 file changed, 1 insertion(+)
create mode 100644 README.txt
$ git push origin master
Fetching repository, done.
Counting objects: 5, done.
Writing objects: 100% (3/3), 289 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
-----> Fetching custom git buildpack... done
-----> Null app detected
-----> build dir
env1: /tmp/build_c030b9fc-c0a4-400c-9af9-7701a2379eac
env2: /app/tmp/cache
env3: /tmp/d20140429-377-1vj42sk
-----> current env
GIT_DIR=.
SHELL=/bin/bash
SSH_CLIENT=10.191.111.43 38992 28293
DEPLOY=production
GROUP=production
USER=u21044
LOG_TOKEN=PRIVATE_TOKEN_HERE
LOGPLEX_URL=https://east.logplex.io/logs
DYNO=receive.8294
PATH=:/tmp/codon/vendor/bin:/usr/ruby1.9.2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin
MAIL=/var/mail/u21044
PWD=/app/tmp/repo.git
STACK=cedar
REQUEST_ID=PRIVATE_REQUEST_ID_HERE
HOME=/app
SHLVL=2
LOGNAME=u21044
SSH_CONNECTION=10.191.111.43 38992 172.17.26.14 28293
_=/usr/bin/env
-----> env-var dir listing
total 16
drwx------ 2 u21044 21044 4096 Apr 29 00:44 .
drwx------ 6 u21044 21044 4096 Apr 29 00:44 ..
-rw------- 1 u21044 21044 44 Apr 29 00:44 BUILDPACK_URL
-rw------- 1 u21044 21044 3 Apr 29 00:44 FOO
-----> Done with compile
-----> Discovering process types
Procfile declares types -> (none)
-----> Compressing... done, 0K
-----> Launching... done, v6
http://secure-dawn-7547.herokuapp.com/ deployed to Heroku
To git@heroku.com:secure-dawn-7547.git
15867a5..4e5ec7f master -> master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment