Skip to content

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

Merged
merged 2 commits into from
Jun 11, 2025

Conversation

guptadev21
Copy link
Member

@guptadev21 guptadev21 self-assigned this May 19, 2025
@guptadev21 guptadev21 requested review from a team as code owners May 19, 2025 02:15
@guptadev21 guptadev21 added the type/feature ✨ A new feature that currently doesn't exist in the product label May 19, 2025
Copy link

github-actions bot commented May 19, 2025

🤖 Pull Request Artifacts (#15587754117) 🎉

@guptadev21 guptadev21 force-pushed the feat/registry-blobstorage branch from 615eac1 to 74de440 Compare May 27, 2025 06:02
@guptadev21 guptadev21 force-pushed the feat/registry-blobstorage branch 2 times, most recently from dde2dc4 to 481dd5f Compare June 3, 2025 10:24
@ankitrgadiya ankitrgadiya requested a review from Copilot June 6, 2025 08:22
Copilot

This comment was marked as outdated.

@guptadev21 guptadev21 force-pushed the feat/registry-blobstorage branch from 481dd5f to 9602b50 Compare June 6, 2025 08:43
@guptadev21 guptadev21 requested a review from Copilot June 9, 2025 11:23
Copy link
Contributor

@Copilot Copilot AI left a 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 includes dataDirectory.
@click.option(

@ankitrgadiya ankitrgadiya merged commit f133ca1 into devel Jun 11, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature ✨ A new feature that currently doesn't exist in the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants