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

Set bash options for scripts #5

Open
JimCircadian opened this issue Apr 26, 2022 · 1 comment
Open

Set bash options for scripts #5

JimCircadian opened this issue Apr 26, 2022 · 1 comment

Comments

@JimCircadian
Copy link
Member

We had a silent failure in the run_daily script after the clock rollover (which affects the daily downloading of open data)

Set the bash options to ensure that scripts fail properly (e.g. set -euo pipefail or similar)

@JimCircadian
Copy link
Member Author

JimCircadian commented Jan 18, 2023

Using set -e -o pipefail is the way to go. Though good in principle conda shell scripts are not immune to violating the unset variable option

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

No branches or pull requests

1 participant