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

[RFE] Include SNAP revision that was used at given charm release #160

Open
phvalguima opened this issue Apr 4, 2024 · 3 comments
Open

Comments

@phvalguima
Copy link
Contributor

Can we extend the text in, for example: https://github.com/canonical/mysql-operator/releases/tag/rev220

To also contain the snap revision that was used for a given deployment. This way a given user, e.g. support teams, can quickly relate charm <> snap. I believe we can pull that information at the end of integration testing.

We should also should check if the snap is set as "held".

Copy link

github-actions bot commented Apr 4, 2024

@carlcsaposs-canonical
Copy link
Contributor

The snap revision is controlled by the charm code & not in a standardized format

I have some concerns with separation of responsibilities/creating "magical" implicit dependencies

Example of complexity: how do you handle snap revisions on different architectures? Different charms can handle that differently


To me, this seems like something that (if implemented) should be implemented at the charmcraft level so it can be standardized across all charms & made consistent with OCI image revisions on k8s charms

@carlcsaposs-canonical
Copy link
Contributor

For documentation: Right now, the current approach is to get the commit that matches the revision (from github release or git tag) and then browse the source code for the snap revision

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