charm-vault/charmcraft.yaml
Felipe Reyes c91c6b0bb1 Add charmcraft 3 support
Update the charmcraft.yaml file to use base and platforms, only
allowing noble support.

- Update osci.yaml to use the charmcraft 3.x/beta
- Drop non-noble tests

Change-Id: Ied2b97aaf399593af2faee43753e9eaf1d1b1df6
2024-06-26 07:02:48 +01:00

33 lines
625 B
YAML

type: charm
parts:
charm:
source: src/
plugin: reactive
reactive-charm-build-arguments:
- --binary-wheels-from-source
- --verbose
build-snaps:
- charm/latest/edge
build-packages:
- libpq-dev
- libpython3-dev
build-environment:
- CHARM_INTERFACES_DIR: /root/project/interfaces/
- CHARM_LAYERS_DIR: /root/project/layers/
base: ubuntu@24.04
platforms:
amd64:
build-on: amd64
build-for: amd64
arm64:
build-on: arm64
build-for: arm64
ppc64el:
build-on: ppc64el
build-for: ppc64el
s390x:
build-on: s390x
build-for: s390x