News for hackers. Stuff that matters.
Re:Build, test and deploy a Go application to Heroku by pearkes on Thursday August 29, 2013 @08:23AM (#6295391)
If you're like me and make golang apps with private packages on GitHub, you're going to have a bad time deploying to Heroku.

This is because the heroku buildpack for go has to `go get github.com/user/private-repo` the necessary packages. Public repos work fine for this, but private repos need credentials. There's a few reasons this isn't easy on Heroku.

I ended up working around it[1] but am still not happy with the security implications.

[1] https://github.com/kr/heroku-buildpack-go/issues/17#issuecom...

Re:Build, test and deploy a Go application to Heroku by pjvds on Thursday August 29, 2013 @08:52AM (#6295501)
This is an interesting scenario. I've resolved this by running the entire build pipeline on wercker and only deploy the binary on Heroku by using the null buildpack. I'll write up a post on this in the coming days.
Re:Build, test and deploy a Go application to Heroku by miesie on Thursday August 29, 2013 @08:59AM (#6295529)
btw you can find the Heroku null buildpack to launch binaries on Heroku here:

https://github.com/ryandotsmith/null-buildpack