8000 Automounts by DarrinFong · Pull Request #613 · boutiques/boutiques · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Automounts #613

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

Merged
merged 8 commits into from
Jun 5, 2020
Merged

Automounts #613

merged 8 commits into from
Jun 5, 2020

Conversation

DarrinFong
Copy link
Contributor

Related issues

#603

Purpose

bosh exec launch should mount all the input files present in the invocation, unless automount is disabled with option --no-automounts.

Current behaviour

User must manually mount files using -v, --volumes.

New behaviour

Inputs with property type: File will be added to list of mount_strings
This applies to list of files as well
Path must be absolute because relative paths are likely to break inside of container. Input value is used as both src and dsc (following docker's -v /src:/dsc).

Implementation Detail

Added automounts so all input files in invocation are mounted to container.
Added --no-automounts as an option to disable automounts of files.
/src and /dsc are taken from invocation and identical so we don't have to modify invocation values during execution.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.06%) to 94.065% when pulling 738f2b8 on DarrinFong:automounts_#603 into ed0672a on boutiques:develop.

@glatard glatard merged commit e9fcb8d into boutiques:develop Jun 5, 2020
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.

3 participants
0