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

Pre-heroku-24 cleanup #721

Merged
merged 3 commits into from
May 30, 2024
Merged

Pre-heroku-24 cleanup #721

merged 3 commits into from
May 30, 2024

Conversation

dzuelke
Copy link
Contributor

@dzuelke dzuelke commented May 30, 2024

Just three little fixes:

  • explicitly set COMPOSER_NO_INTERACTION=1 inside boot scripts (this is only relevant when testing them locally, as the buildpack sets this during builds and runtime)
  • use python3 throughout for invocation of Python, since that's what most environments now have
  • adjust "fail build if buildpack ran twice" test to use the actual currently tested branch twice, and not heroku/php once, which might not succeed a build on e.g. a new stack

dzuelke added 3 commits May 30, 2024 15:34
This is typically set in the outside environment e.g. on dynos, but when testing this locally, being in the wrong working dir (without a composer.json) would cause Composer to prompt for a path, and then the boot hangs forever.
Ubuntu 24 only has that binary now. For boot, this is really for weird cases only where there is no 'realpath' (used to be the case on macOS years ago).
It uses heroku/php once and then the 'current' buildpack, instead of the 'current' buildpack twice.

That won't work if there are changes such as... a new stack :)
@dzuelke dzuelke requested a review from a team as a code owner May 30, 2024 13:38
@dzuelke dzuelke merged commit b2e067b into main May 30, 2024
3 checks passed
@dzuelke dzuelke deleted the pre-heroku-24-cleanup branch May 30, 2024 13:41
This was referenced May 30, 2024
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