-
Notifications
You must be signed in to change notification settings - Fork 0
feat(dockercache): add registry blob storage option #438
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
Conversation
🤖 Pull Request Artifacts (#15587754117) 🎉 |
615eac1
to
74de440
Compare
dde2dc4
to
481dd5f
Compare
481dd5f
to
9602b50
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds a configurable registry blob storage path for the Docker cache feature.
- Introduces a new
--data-directory
CLI option and corresponding parameter in the API payload - Updates the JSON schema to include
dataDirectory
with a default value - Adds
dataDirectory
to the example manifest and docstring
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
riocli/project/features/dockercache.py | Added --data-directory option, updated function signature, payload, and usage example |
riocli/jsonschema/schemas/project-schema.yaml | Defined dataDirectory property with default in the project schema |
riocli/apply/manifests/project.yaml | Included dataDirectory default in the example project manifest |
Comments suppressed due to low confidence (2)
riocli/project/features/dockercache.py:85
- [nitpick] The usage example path (
/tmp/rapyuta/volumes
) doesn’t match the CLI’s default (/opt/rapyuta/volumes/docker-cache/
). Update the example to reflect the intended default structure or clarify it’s just an arbitrary path.
--data-directory "/tmp/rapyuta/volumes"
riocli/project/features/dockercache.py:55
- You’ve added a new
--data-directory
option but there are no accompanying tests. Consider adding unit tests to verify that the flag is parsed correctly and the payload includesdataDirectory
.
@click.option(
Co-authored-by: Copilot <[email protected]>
resolves https://github.com/rapyuta-robotics/rapyuta_io/issues/742