Versioning Acorn Apps #740
Replies: 8 comments
-
I don't understand what you're asking for here. It's unclear to me what acorn should be exposing or enforcing. Can you give a more concrete example? |
Beta Was this translation helpful? Give feedback.
-
Users can specify any tag when build acorn image |
Beta Was this translation helpful? Give feedback.
-
@josedev-union are you asking for Acorn to support labels on the Acorn app itself? Something like the way Docker does with the label? |
Beta Was this translation helpful? Give feedback.
-
Yes, I thought of image tagging to necessarily include the app version, but it doesn't seem necessary to include it in the tag. |
Beta Was this translation helpful? Give feedback.
-
Acorn supports labels in the acornfile: https://docs.acorn.io/authoring/labels Does that meet your needs? |
Beta Was this translation helpful? Give feedback.
-
that is enough. Ofc, this can be up to user but I think it would be good to mention the best practice in the doc so developers can follow |
Beta Was this translation helpful? Give feedback.
-
Best practice would be an acorn image per mongodb version. This is the pattern we are following in our library of images: I'm going to go ahead and convert this issue to a discussion. |
Beta Was this translation helpful? Give feedback.
-
expecations
It would be good to have a new section in Acornfile or a dedicated file to include app metadata such as version.
use cases
suggestions
Considering the fact that acorn app is packaged in OCI image format, versioning acorn app should enforce the tag in image build and push, I think.
Beta Was this translation helpful? Give feedback.
All reactions