Closed jdkandersson closed 6 months ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2816.
This message was autogenerated
This will be on latest/edge
later today and I'll be including it in the next 3.0 hotfix
Bug Description
It seems that, after packing a charm, then adding a new integration in
charmcraft.yaml
and then re-packing the charm the created charm doesn't have the newly added integration. After running charmcraft clean, the newly added integration does appear.To Reproduce
Follow this tutorial from https://juju.is/docs/sdk/write-your-first-kubernetes-charm-using-the-paas-app-charmer#heading--enable-juju-config-sample-flask-languagelanguage and the step for adding the mysql integration should fail without running a clean before another pack.
Environment
Using the
latest/edge
of charmcraft and rockcraft on Ubuntu 22.04 using theflask-framework
extension where everything for the charm is defined incharmcraft.yaml
charmcraft.yaml
Relevant log output