canonical / mongodb-k8s-operator

Operator charm for MongoDB
Apache License 2.0
13 stars 15 forks source link

Update build procedure in release workflow #300

Closed MiaAltieri closed 2 months ago

MiaAltieri commented 2 months ago

Problem

build step in release workflow is failing

Solution

Update it to match the functional build workflow from ci.yaml

carlcsaposs-canonical commented 2 months ago

instead, would recommend fixing build with https://github.com/canonical/opensearch-operator/blob/8649727fcd9447fe2ee6f49de4f3ed46acd6bae0/charmcraft.yaml#L26-L28 and https://github.com/canonical/opensearch-operator/blob/8649727fcd9447fe2ee6f49de4f3ed46acd6bae0/charmcraft.yaml#L31-L36

MiaAltieri commented 2 months ago

@carlcsaposs-canonical thanks for the suggestion - charmcraft can be udpated in a separate PR - since I need this merged asap

carlcsaposs-canonical commented 2 months ago

@carlcsaposs-canonical thanks for the suggestion - charmcraft can be udpated in a separate PR - since I need this merged asap

as far as I'm aware, cached builds are not allowed for releases

also, charmcraft specifically declares that its caching is not meant to be used on releases