Skip to content

Use custom emberjs buildpack #2657

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

Merged
merged 1 commit into from
Jul 26, 2020

Conversation

jtgeibel
Copy link
Member

@jtgeibel jtgeibel commented Jul 25, 2020

It appears that the buildpack we were grabbing from S3 is very stale.
That version pins heroku/nodejs-v98 which is also old (the current
version is v174).

This is causing deploys to fail and has already been reported
upstream. This commit pins to a custom built version based on
jtgeibel/heroku-buildpack-emberjs@34f4175.

I'm trying a staging deploy of this now, and will merge once that succeeds.

r? @ghost

@jtgeibel
Copy link
Member Author

Apparently this is not the correct way to include the buildpack. I should have read the usage section:

This buildpack has a binary component, so it needs to be compiled beforehand. It's easier just to use the buildpack with the prebuilt binary.

It appears that the buildpack we were grabbing from S3 is very stale.
That version pins `heroku/nodejs-v98` which is also old (the current
version is v174).

This is causing deploys to fail and has already been [reported]
upstream. This commit pins to a custom built version based on
jtgeibel/heroku-buildpack-emberjs@get-things-building.

[reported]: heroku/heroku-buildpack-emberjs#61
@jtgeibel jtgeibel force-pushed the update-emberjs-buildpack branch from 279caa2 to d83f0e1 Compare July 26, 2020 05:09
@jtgeibel
Copy link
Member Author

I've got deploys working again by updating the buildpack so that it compiles again, and manually building a new .tgz. I also had to build on an Ubuntu 16.04 system so that there are no dependencies on a newer libc.

We should switch back once upstream does a new release, but this unblocks our deploys for now.

@bors r+

@bors
Copy link
Contributor

bors commented Jul 26, 2020

📌 Commit d83f0e1 has been approved by jtgeibel

@bors
Copy link
Contributor

bors commented Jul 26, 2020

⌛ Testing commit d83f0e1 with merge d37efb6...

@bors
Copy link
Contributor

bors commented Jul 26, 2020

☀️ Test successful - checks-travis
Approved by: jtgeibel
Pushing d37efb6 to master...

@bors bors merged commit d37efb6 into rust-lang:master Jul 26, 2020
@jtgeibel jtgeibel changed the title Bump to the latest emberjs buildpack Use custom emberjs buildpack Jul 28, 2020
@jtgeibel jtgeibel deleted the update-emberjs-buildpack branch July 28, 2020 02:35
jtgeibel added a commit to jtgeibel/crates.io that referenced this pull request Sep 20, 2020
Since rust-lang#2657 we build the frontend twice during a deploy. It seems that
the nodejs buildpack (pulled in by the emberjs buildpack) is running
our build script so lets just depend on that directly because it is
actively supported by Heroku.
bors added a commit that referenced this pull request Sep 20, 2020
…itor

Use nodejs buildpack directly (instead of via the emberjs buildpack)

Since #2657 we build the frontend twice during a deploy. It seems that
the nodejs buildpack (pulled in by the emberjs buildpack) is running
our build script so lets just depend on that directly because it is
actively supported by Heroku.

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

Successfully merging this pull request may close these issues.

2 participants