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

[Feature Request] Is it possible to push/pull the function to an OCI compatible registry? #85

Open
heww opened this issue Mar 15, 2023 · 2 comments
Assignees
Labels
investigation Needs investigation

Comments

@heww
Copy link

heww commented Mar 15, 2023

Acceptance Criteria

  • scale fn oci-push exists
    • Before pushing, Scale transforms the Scale Function and Signature into an OCI
    • The OCI is pushed to the destination registry
  • scale fn oci-pull exists
    • The OCI is pulled from the source registry
    • After pulling, Scale transforms the OCI back to a regular Scale Function and Signature

Questions

  • How could we pass function params and get the appropriate output from the registry?
    • The OCI just describes a root file system and doesn't care about the file contents.
    • We could include both a signature and a function in a .tar.gz file that gets pushed to the registry.
  • Would the OCI include the runner?
    • Nope, we'd just build an unpacking step.
@ShivanshVij
Copy link
Member

The more we talk about this internally, the more it seems like that could make sense.

There are downsides to this approach (namely that we can't modify/transform your code at the registry layer, all modifications have to happen locally before you push to the registry).

At the same time, we gain access to the myriad of OCI-compliant registries.

It's a nuanced issue, and I think the best thing to do is wait until the Signatures V1 release (which is coming soon, join our discord!) and then once we have enough users of that we can have a proper community meeting to make a decision on this.

@Handfish
Copy link

Handfish commented Jan 5, 2024

+1 to wanting OCI-compatible registry support. It would allow to easier adoption in a corporate setting. I would even prefer to run modifications locally.

@trezy trezy added the investigation Needs investigation label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation Needs investigation
Projects
None yet
Development

No branches or pull requests

5 participants