Update on community packages
-
@girish
Ah, looking at output of 'cloudron versions add' in CloudronVersions.json, I see !There is background processing/expectations, pulling only the changlog content for that version.
Neat ! But opaque pending docs clarification.
Still not sure how it will work in practice with long changelog entries, but good discipline and neat handling.
-
@girish
Ah, looking at output of 'cloudron versions add' in CloudronVersions.json, I see !There is background processing/expectations, pulling only the changlog content for that version.
Neat ! But opaque pending docs clarification.
Still not sure how it will work in practice with long changelog entries, but good discipline and neat handling.
@timconsidine it's following the same format as our existing appstore apps. For example, one of our longtime packages - https://git.cloudron.io/packages/gitlab-app/-/blob/master/CHANGELOG?ref_type=heads
-
There's a conundrum rattling in my head.
cloudron buildprompts for a registry.
so supplied a Cloudron-hosted registry
and all works fine : builds, pushes, shown in registry listcloudron versions adddoes its work- but cloudron-hosted registries do not support public pulls
So test of installing community app fails.
- am I doing something wrong ?
- or effectively
cloudron versionsdoes not support cloudron-hosted registries ? - if so, this should be surfaced in docs
- if so, is it time to consider support for public pulls in cloudron-hosted registry package ?
Docs should also be clear that community app repo link should be open (publicly accessible), if it does not already do so.
-
Right, the cloudron registry app can only host private packages. We can possibly look into adding support to make it a public registry as well, but afaik this is complicated. We need private push and public pulls - this is not implemented out of the box by the opensource registry project.
-
There's a conundrum rattling in my head.
cloudron buildprompts for a registry.
so supplied a Cloudron-hosted registry
and all works fine : builds, pushes, shown in registry listcloudron versions adddoes its work- but cloudron-hosted registries do not support public pulls
So test of installing community app fails.
- am I doing something wrong ?
- or effectively
cloudron versionsdoes not support cloudron-hosted registries ? - if so, this should be surfaced in docs
- if so, is it time to consider support for public pulls in cloudron-hosted registry package ?
Docs should also be clear that community app repo link should be open (publicly accessible), if it does not already do so.
I think this:
Right, the cloudron registry app can only host private packages. We can possibly look into adding support to make it a public registry as well, but afaik this is complicated. We need private push and public pulls - this is not implemented out of the box by the opensource registry project.
Means this is correct:
or effectively cloudron versions does not support cloudron-hosted registries ?
Right?

-
I think this:
Right, the cloudron registry app can only host private packages. We can possibly look into adding support to make it a public registry as well, but afaik this is complicated. We need private push and public pulls - this is not implemented out of the box by the opensource registry project.
Means this is correct:
or effectively cloudron versions does not support cloudron-hosted registries ?
Right?

-
Through my CCAI --> CCAI-P --> CAG journey, I've used Docker Hub for public pulls, and my private registry for dev and non-community projects.
Maybe my bad, but I desperately hoped that Community apps would allow me one registry for minimum workflow / publish discrepancies. But seems not possible.
Not without dev work.

[made with cloudron custom mermaid app] -
It doesn't seem to make sense to separate the versions file from the source.
Since the architecture requires this for public pulls, it would make sense to have a homegrown vanilla implementation where this is taken care of.
In the case of the private registry, how could this be solved?
- Exposing a designated source file via a local webserver at a specific path, such as .well-known/ - possibly automated by a script scanning all repos for such files, then linking them to the hosted exposed spot
- A new addon for this purpose which accomplishes the above, which may be useful to use in other projects that need things for autodiscovery
- Runner type workflows that work to set something like this up from the source side?
- Cloudron provided hosting for such packages with self management capabilities?
- Docker image hints/artifacts that can serve as a versions file???
- Your turn..
-
@jdaviescoates Pretty much, yes.
But it can be used for sharing with friends / sharing with people you trust though. Just give them a docker registry app password and they can put it in their cloudrons and then install via the versions file.
@girish does sharing creds / creating users gives full registry access ? Or a user (virtual or real) can be limited to certain repos?
โ-
EDIT : the support for Community Apps is awesome.
Thank you again for doing this โnon-priorityโ enhancement.
Totally ok with CloudronVersions.json living in source repo such as git.cloudron.ioBut plan seems to break down without easy public docker image (2 registries is good for segregating but cumbersome in practice)
-
@girish does sharing creds / creating users gives full registry access ?
yes, this is why it works only for friends and trusted people.
Maybe I miss something, but cloudron docker registry app and community packages are completely different things/use cases.
-
community app is for sharing built images. You generally want to use a public registry like gcs, DO, dockerhub etc. If you want to use a private registry, this is possible if the end user adds the private registry on their server. The public cloud providers have registries which give tokens with read/write and all sorts of access control which can be used for this.
-
cloudron docker registry is just an app to store private docker images. sure, we can add a feature to make it support public images, but this is not on the roadmap. In general, selfhosting public docker registry is very expensive network wise and backup wise. GIven the size of docker images, you will quickly run out of network limits. This is why cloudron's own appstore images use dockerhub and is not selfhosted.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better ๐
Register Login