Hi team,
I am trying to build and publish the trilio
charms to our charmhub trilio-charmers
.
I made some changes to add support for Yoga
with Jammy
.
But the charms need to be built separately for the previous series Xenial
and Focal
due to incompatible dependencies.
The charm is built with 2 different build-on
bases ( 20.04 and 22.04 ),
one can run-on both xenial
and focal
and the other can run-on focal
only.
Below is what the bases look like in the charmcraft.yaml
:
bases:
- build-on:
- name: ubuntu
channel: "20.04"
architectures:
- amd64
run-on:
- name: ubuntu
channel: "18.04"
architectures: [amd64, s390x, ppc64el, arm64]
- name: ubuntu
channel: "20.04"
architectures: [amd64, s390x, ppc64el, arm64]
- build-on:
- name: ubuntu
channel: "22.04"
architectures:
- amd64
run-on:
- name: ubuntu
channel: "22.04"
architectures: [amd64, s390x, ppc64el, arm64]
With the above changes, now I have 2 separate charms packed for the same source. What is the standard way to upload these 2 charms ? Do I need to create different charms on charmhub per series ? Or did I not follow the right path to build it ?