Open carlcsaposs-canonical opened 1 month ago
Thank you for reporting us your feedback!
The internal ticket has been created: https://warthogs.atlassian.net/browse/CRAFT-2922.
This message was autogenerated
from testing https://github.com/canonical/postgresql-k8s-operator/actions/runs/9577566037/job/26407018728?pr=490 it appears that the issue is fixed on 2.7 if no local image is present
thank you @lengau!
is it planned to deprecate the local image upload & remove it in a future charmcraft major version (to avoid mistakes)?
Bug Description
charmcraft upload-resource
with a multi-arch image (e.g. https://github.com/canonical/charmed-postgresql-rock/pkgs/container/charmed-postgresql/208426154?tag=14.11-22.04_edge) uploads the amd64 image (if running charmcraft on amd64 machine) to the Charmhub registryContext: https://warthogs.atlassian.net/browse/DPE-4280 https://matrix.to/#/!LhFxJIPEcCacgdMghH:ubuntu.com/$JMmA26BWFkqAKsCJ0tfAx4fpVOSndhej3-CYHwHyBpc?via=ubuntu.com&via=matrix.org
To Reproduce
ghcr.io/canonical/charmed-postgresql:14.11-22.04_edge@sha256:31cf150b4523481202c1ff9b7b5d7f0b36729edad89d61242d8f1eb56b2912c0
)juju deploy
charm on arm64 machineNote: if
juju deploy ./postgresql-k8s.charm --resource postgresql-image=ghcr.io/canonical/charmed-postgresql:14.11-22.04_edge@sha256:31cf150b4523481202c1ff9b7b5d7f0b36729edad89d61242d8f1eb56b2912c0
is used on amd64 or arm64, the charm deploys correctlyEnvironment
Ubuntu 22.04 amd64
charmcraft.yaml
Relevant log output