Charmcraft supports the development of operators using the Charmed Operator Framework. It enables developers to build, upload and release operators on Charmhub and collaboration through charm libraries.
This new version was just released to latest/edge
, latest/beta
and 2.x/candidate
channels (leaving for next year latest/candidate
, and after suitable testing stable
). I’d appreciate any tests on this, please report here any issues you find.
Version 2.2.0 includes the following changes:
-
Support including collaborations when listing registered names (related issue)
-
Stopped showing repeated branches in Status command results (related issue)
-
Better messages to the user in several situations:
-
when pushing a charm library and the lib’s patch number is too high
-
on a login attempt when already having credentials (related issue)
-
improved the help for
--format
option in several commands (related issue)
-
-
Show (with value hidden) the authentication environment variable in system details in logs (related issue)
-
Support correctly local OCI images with empty
RepoDigests
key -
Lot of internal improvements: integration tests, code restructuring and simplification, and project cleanup in general.
Use Charmcraft to:
- Initialise a new charm and directory structure
- Pack your Charmed Operator into a charm for distribution
- Register your charm name on Charmhub
- Upload your charms to Charmhub
- Release your charms into channels
- Publish and fetch charm libraries
We recommend the Charmed Operator Framework for charm development, but Charmcraft will help you publish charms written in any language. The Charmed Operator Framework enables the development of operators in a simple and straightforward way, using standard Python structures to allow for clean, maintainable, and reusable code.
Happy charming!