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

Allow dots in paths in host_volumes parameter for AWS Batch #676

Merged
merged 1 commit into from
Aug 31, 2021

Conversation

oavdeev
Copy link
Collaborator

@oavdeev oavdeev commented Aug 31, 2021

What does this do

When we mount volumes from host, we need to specify volume "name". That name is really not used for anything except to refer to the volume within Batch Job Definition. We generate that name by sanitizing the original path (for a bit more debuggability). Turns out we don't sanitize enough since dots are not allowed in it. Before this fix, if you did @batch(host_volumes="/path/with/.dot") it would fail to execute on Batch.

@savingoyal savingoyal merged commit c1af4c7 into Netflix:master Aug 31, 2021
@oavdeev oavdeev deleted the allow-dots-mount-host branch September 1, 2021 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants