charm-ceph-mon/charmcraft.yaml
Billy Olsen 037fc608f2
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
- Add noble/oracular to charmhelpers
- Drop non-noble tests

Change-Id: I2b50c719f66fcc5ab46f2fa2aaa9daec800ce50c
2024-06-21 13:40:12 -07:00

35 lines
653 B
YAML

type: charm
parts:
charm:
after:
- update-certificates
charm-python-packages:
# Use the updated version of setuptools (needed by jinja2).
- setuptools
build-packages:
- git
update-certificates:
# Ensure that certificates in the base image are up-to-date.
plugin: nil
override-build: |
apt update
apt install -y ca-certificates
update-ca-certificates
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