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

Bullet Train Update: 1.7.10 #31

Merged
merged 5 commits into from
May 30, 2024
Merged

Conversation

jagthedrummer
Copy link
Contributor

Update of the Bullet Train Starter Repo to version 1.7.10

Please note: You should thorougly review this PR.

🎉 There are no conflicts detected in this PR!

Auto-generated by .github/workflows/update-bullet-train.yml

jagthedrummer and others added 5 commits May 30, 2024 14:53
* Getting started on splitting up bin/configure

* a little polish

* checks for postgres and redis

* more splitting of bin/configure

* a little more progress

* Commit changes after updating configs

* Add some scripts for adding 'deploy to __' buttons, also some clean up

* Should add the deploy buttons after we've set up a repo

* A little more polish

* some polish

* Fix the heroku button text

* dang linter

* robustify postgres detection

* Make it more clear wich subscript we're currently running

* handle the case where redis-cli isn't installed

* dang linter

* A little polish

* Replace the old script with the new one

* Fix some comments
* Fix Heroku deploys for yarn 4

Heroku recommends having the `heroku/nodejs` buildpack before
`heroku/ruby`. So I updated `app.json` to to that.

But the `heroku/nodejs` buildpack tries to run `yarn build`
automatically. But our build steps shell out to bundler, and since
`heroku/ruby` comes after `heroku/nodjs` bundler isn't yet available.

Adding a `heroku-postbuild` script makes it so that Heroku runs _that_
script instead of running the normal `build` script. Which prevents the
lack of ruby/bundler from being a problem during the setup phase for the
`heroku/nodejs` buildpack.

Then to ensure that `yarn build` is run, I've added that to the end of
the `release` phase in `Procfile`.

* Don't need to manually call 'yarn build'

* Update the message about heroku-postbuild
Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com>
# Conflicts:
#	Gemfile.lock
@jagthedrummer jagthedrummer merged commit c9e427b into main May 30, 2024
9 checks passed
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.

1 participant