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

Can this plugin load dependencies from OCI registry ? #1

Open
geowalrus4gh opened this issue Apr 12, 2023 · 2 comments
Open

Can this plugin load dependencies from OCI registry ? #1

geowalrus4gh opened this issue Apr 12, 2023 · 2 comments

Comments

@geowalrus4gh
Copy link

We are currently using

  1. Maven repository for application dependent module jars as artifacts
  2. Harbor for application jar as container image(which assembles module jars from maven repo)

Idea is to

  1. Develop and push application module jars to OCI registry as artifact images.
  2. A web application jar which assembles dependent (as given in pom.xml file) jars from the OCI registry.
  3. Push web application jar to OCI registry as container image.

This idea is to avoid maven repo and use Harbor OCI as only repository.
Can this idea implemented using this plugin ?

@azurepilot
Copy link
Contributor

I would also be interested to use maven in this "OCI way" ... so any hint would be appreciated!

@azurepilot
Copy link
Contributor

Meanwhile I played with this plug-in, found a bug and fixed it. (see my PR #3) However, I ask myself if this plugin works as intended by ORAS? The plug-in pushes a dir (or collection of files) "as is", i.e. without any manifest to the oci registry. The artifacts end up there with type "artifactType": "application/vnd.unknown.artifact.v1". Is that in the sense of OCI/ORAS?

Moreover, I still didn't find a way using this plugin to use / load jar artifacts from an oci registry? Please comment!

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

No branches or pull requests

2 participants