Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby buildpack failures after updating to workflow 2.13.0 #508

Open
nathansamson opened this issue Apr 10, 2017 · 3 comments
Open

Ruby buildpack failures after updating to workflow 2.13.0 #508

nathansamson opened this issue Apr 10, 2017 · 3 comments

Comments

@nathansamson
Copy link

This weekend we updated to workflow 2.13, mainly to fix the problem of a crashing builder every so often.

But this had the unintended side effect that deploying our rails app did not work anymore as it seems to ignore environment variables during building.
Let me explain:

We need the CURL_TIMEOUT environment variable to be set, as for some reason our european cluster has a very bad download time to Amazon S3 overseas, and will always faill with the default of 30s.
This should still work according to: https://github.com/heroku/heroku-buildpack-ruby/blob/master/lib/language_pack/fetcher.rb#L38

The only solution to get it working for is to manually set the BUILD_PACKURL to v149 (very well possible that v150 for example might also work, but I believe v149 is the one we used before the workflow update).

I can't really imagine this is a bug in deis builder as clearly the v149 buildpack respects my settings, but on the other hand I am not sure why the env variable wouldn't work anymore in the newer buildback...

Any ideas/suggestions?

@nathansamson nathansamson changed the title Rails buildpack failures after updating to workflow 2.13.0 Ruby buildpack failures after updating to workflow 2.13.0 Apr 10, 2017
@mboersma mboersma added this to the v2.14 milestone Apr 19, 2017
@mboersma
Copy link
Member

mboersma commented May 2, 2017

@nathansamson slugbuilder is now up to ruby buildpack v159 in master. I don't see a smoking gun in the diff between v149 and v159 though. Could you try v159 so we know for sure?

@mboersma mboersma modified the milestones: v2.15, v2.14 May 2, 2017
@vdice vdice removed this from the v2.15 milestone May 31, 2017
@szymonpk
Copy link

@nathansamson Have you managed to fix this, differently than forking buildpack? Where have you tried to set CURL_TIMEOUT? In builder deployment?

@Cryptophobia
Copy link

This issue was moved to teamhephy/builder#11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants