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

CNB: make the gems layer accessible to subsequent buildpacks #1033

Closed
wants to merge 2 commits into from

Conversation

kamaln7
Copy link

@kamaln7 kamaln7 commented Jul 8, 2020

The gems layer writes a couple of environment variables to #{layer.path}/env.build (ref 1, ref 2) but because the build option is not set on the layer, these environment variables are not made accessible to subsequent buildpacks.

This sets build: true on the gems layer to correct that.

@schneems
Copy link
Contributor

Thanks for the PR I'm running tests (plus added a test for this behavior) in #1037

schneems added a commit that referenced this pull request Jul 16, 2020
…1037)

* make gem_layer accessible to subsequent buildpacks

* changelog

* Test gem layer is exported

Co-authored-by: Kamal Nasser <kamal@digitalocean.com>
@schneems
Copy link
Contributor

thanks for the PR I merged my test of your code in!

@schneems schneems closed this Jul 16, 2020
@kamaln7
Copy link
Author

kamaln7 commented Jul 16, 2020

Thank you, @schneems!

krisrang added a commit to skyltmax/heroku-buildpack-ruby that referenced this pull request Oct 2, 2020
* upstream/master:
  [changelog skip] Bring back rake task (heroku#1038)
  CNB: make the gems layer accessible to subsequent buildpacks heroku#1033  (heroku#1037)
  [close heroku#934] Skip rake task if it does not exist (heroku#1036)
  [changelog skip] Move unreleased changelogs (heroku#1035)
  v218 for Monday release (heroku#1034)
  [close heroku#1029] Remove default bin/rake binstub (heroku#1031)
  Document v217 release in master (heroku#1030)
  [close heroku#1027][changelog skip] Fix frozen string error (heroku#1028)
  Handle binary binstubs (heroku#1021)
  v216 release for monday (heroku#1023)
  Revert "Merge pull request heroku#1014 from heroku/schneems/fu-binstubs"
  [close heroku#990] Warn on bad shebang line
  [close heroku#818] Disable spring
  [changelog skip][close heroku#977] Recommend recent Ruby in warning
  [changelog skip][close heroku#977] Recommend recent Ruby in warning
  [close heroku#1001] Put Yarn first on the path
  Update HEREDOC to 2.5 syntax to support indenting
  Switch to using /usr/bin/env bash
  [changelog skip] Fix CNB tests
  Allow Nolockfile to get to compile phase
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