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

Clean up storage functionality; filter non-model artifacts in registries #19

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

amisevsk
Copy link
Contributor

Description

  • Filter objects that are not jmm-created models from registries when pulling/listing. Previously, you could pull regular container images into the local store
  • Extract some common storage-related functionality to the storage package rather than duplicating it throughout other commands.

Move some common functionality around setting up local storage to the
storage package instead of copy-pasting it everywhere.
Update pull and models command to ignore OCI artifacts that are not
Models (e.g. container images)
pkg/lib/storage/util.go Show resolved Hide resolved
@amisevsk amisevsk merged commit 4206e25 into main Feb 15, 2024
1 check passed
@amisevsk amisevsk deleted the rework-storage branch February 15, 2024 18:07
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