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

DM-42660: Use Butler repository list from environment var #126

Merged
merged 2 commits into from
Jan 26, 2024

Conversation

dhirving
Copy link
Contributor

@dhirving dhirving commented Jan 25, 2024

Instead of always requiring a file to exist containing the list of Butler repositories, optionally read it from an environment variable. Equivalent functionality will be added to daf_butler itself shortly, but I don't want to wait another week to get this deployed.

Also fixed a small bug where unzip would interactively prompt to overwrite files if the service crashes on startup, preventing you from seeing the error message from the crash in the logs.

@dhirving dhirving force-pushed the tickets/DM-42660 branch 2 times, most recently from 716e98e to 23b44dc Compare January 25, 2024 23:28
Instead of always requiring a file to exist containing the list of Butler repositories, optionally read it from an environment variable.
It seems to be possible for a datalinker container to get in a state where it is trying to start up, but fails because it is trying to download TAP metadata for a second time and unzip interactively prompts to overwrite.  Add the allow-overwrite flag so it can get past this state.
@dhirving dhirving marked this pull request as ready for review January 26, 2024 16:47
@dhirving dhirving requested a review from rra January 26, 2024 16:47
Copy link
Member

@rra rra left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for fixing that part of the config as well!

@dhirving dhirving merged commit e7c97af into main Jan 26, 2024
3 checks passed
@dhirving dhirving deleted the tickets/DM-42660 branch January 26, 2024 16:53
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