charm-nova-compute-nvidia-vgpu/charmcraft.yaml
Aurelien Lourot b171413830 Build charm on all architectures
Change-Id: I88a3b0531e1b78085c0c0666d06a427949efaf46
2022-02-24 16:41:41 +01:00

36 lines
708 B
YAML

type: charm
parts:
charm:
after:
- update-certificates
charm-python-packages:
# NOTE(lourot): see
# * https://github.com/canonical/charmcraft/issues/551
- setuptools
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
bases:
- build-on:
- name: ubuntu
channel: "20.04"
architectures:
- amd64
- s390x
- ppc64el
- arm64
run-on:
- name: ubuntu
channel: "20.04"
- name: ubuntu
channel: "21.10"