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

Be consistent and safe in our bash options. #184

Merged
merged 4 commits into from
Dec 14, 2023
Merged

Conversation

jeremyestein
Copy link
Contributor

@jeremyestein jeremyestein commented Dec 13, 2023

The pipefail option was clearly intended but was not being applied in a lot of cases. Use the same options everywhere as I can't see a reason not to.

The postgres init script initially failed when the pipefail option was added, due to a bug in the DB creation code. This code was in fact unnecessary, since the PG docker image has an env var for setting the DB name.

Copy link
Contributor

@stefpiatek stefpiatek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@jeremyestein jeremyestein merged commit 228d46e into main Dec 14, 2023
7 checks passed
@jeremyestein jeremyestein deleted the jeremy/bash-opts branch December 14, 2023 17:33
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