charm-ceph-nfs/charmcraft.yaml
Peter Sabaini 52fb257d66 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: Ic3b8525f6df049d68d959151fd5345cb55db6607
2024-07-24 18:40:33 +02:00

33 lines
568 B
YAML

type: charm
parts:
charm:
after:
- update-certificates
build-packages:
- git
update-certificates:
plugin: nil
# See https://github.com/canonical/charmcraft/issues/658
override-build: |
apt update
apt install -y ca-certificates
update-ca-certificates
base: ubuntu@24.04
build-base: ubuntu@24.04
platforms:
amd64:
build-on: amd64
build-for: amd64
arm64:
build-on: arm64
build-for: arm64
s390x:
build-on: s390x
build-for: s390x
ppc64el:
build-on: ppc64el
build-for: ppc64el