-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update to buildpack API 0.10, invoke processes via bash #205
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
joshwlewis
changed the title
Update to buildpack API 0.10, update to libcnb 0.18, invoke via bash
Update to buildpack API 0.10, invoke processes via bash
Feb 17, 2024
edmorley
reviewed
Feb 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you! It will be great to have the Procfile CNB using modern libcnb for the first time in a while!
edmorley
approved these changes
Feb 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Closed
This was referenced Feb 23, 2024
Merged
This was referenced Feb 28, 2024
edmorley
added a commit
to heroku/libcnb.rs
that referenced
this pull request
Feb 28, 2024
…801) Procfile CNB v3.0.0 was just released with an intentional change to the way that `command` vs `args` are handled in the CNB process type definition. (Before the `Procfile` file entry would be set as the process `command`, but now it's set as `args`.) That change improves the overall UX of running images that use the Procfile CNB, but is breaking in some lesser used scenarios that happened to be tested via the `starting_containers` test in this repo. See: - heroku/buildpacks-procfile#205 (comment) - heroku/buildpacks-procfile@v2.0.2...v3.0.0#diff-782521a81713992d3a07e85975d367cfac60afc78583133551efcddc2026bd3eL19-R20 The tests have been updated to account for the new behaviour, and an additional test added for the "overriding command only" scenario (that wasn't possible to easily test before due to the way the Procfile CNB was previously implemented). Fixes #800. GUS-W-15139634.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR:
[[targets]]
directive tobuildpack.toml
to support requirement in Buildpack API 0.10[[stacks]]
directive frombuildpack.toml
, which has been deprecated in Buildpack API 0.10direct = true
from launch processes (removed from Buildpack API 0.9) and wraps them withbash -c
so that procfile entries that rely on bash still work.Supersedes #150 and #197.
Fixes #151.
GUS-W-13119392.