← Back to issue list

`charmcraft release` doesn't use output text from the store.

View original Github issue

Metadata

Project
charmcraft
Number
#1435
Type
issue
State
open
Author
lengau
Labels
Created
2023-12-11 20:22:21+00:00
Updated
2025-08-15 15:18:17+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

### Bug Description See: https://matrix.to/#/!LhFxJIPEcCacgdMghH:ubuntu.com/$2wA7g19ZK3W-wrIyLxAB4ZUADQsSRmBTfaQVsIYkn5M The store commands aren't parsing the data from the store when responding with store info that was pushed ### To Reproduce Run `charmcraft release` on something with resources. Note that it just returns the resource info provided by the user https://github.com/canonical/charmcraft/blob/2d43204452b281f1c9d638ac505cb94fa12c1f71/charmcraft/commands/store.py#L762-L777 ### Environment n/a ### charmcraft.yaml ```shell n/a ``` ### Relevant log output ```shell # uploading the image
charmcraft upload-resource kafka-k8s kafka-image --image=sha256:74e809db37dadf6ad50d5e3420989757c77ba867b466d2e44e2bac68311e4e27
Uploading from local registry. 
Image uploaded, new remote digest: sha256:84fc01804541cbff283629f68730915d3649cde5bc4b853b1d347687e7ecb861. 
Revision 42 created of resource 'kafka-image' for charm 'kafka-k8s'. 

# uploading the charm
charmcraft release kafka-k8s --revision 48 --channel=3/edge/strimzi-oauth --resource=kafka-image:42
Revision 48 of 'kafka-k8s' released to 3/edge/strimzi-oauth (attaching resources: 'kafka-image' r42)

# deploying the charm 
juju deploy kafka-k8s --channel 3/edge/oauth-strimzi --revision 48 kafka
Located charm "kafka-k8s" in charm-hub, revision 48
Deploying "kafka" from charm-hub charm "kafka-k8s", revision 48 in channel 3/edge/oauth-strimzi on ubuntu@22.04/stable

# showing resources
juju resources kafka 
Resource Supplied by Revision
kafka-image store 41 ```

Evaluation history

No evaluation history available.