drone/drone — pull request #164 by ewr (2014-03-05 22:11:42+00:00)
Title: Add ability to specify temp directory via DRONE_TMP environment variable

This pull request allows the administrator to change the directory where cached volumes are stored, which defaults to `/tmp/drone`, by setting the `DRONE_TMP` environment variable. While currently it's just used for caching, it would still be nice to have the option for those caches to survive a reboot.

Question: Should this setting also be used higher up in the file when asking `ioutil.TempDir` for a directory? I sort of think not, since you can't make the same argument that those directories should survive a restart.