![Aurelien Lourot](/assets/img/avatar_default.png)
Without this, the install hook will fail on bionic with ModuleNotFoundError: No module named 'importlib_resources' Change-Id: I889b1d0dad15e36a1e06b1436f3632ed6c6233ea
38 lines
754 B
YAML
38 lines
754 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: "18.04"
|
|
- name: ubuntu
|
|
channel: "20.04"
|
|
- name: ubuntu
|
|
channel: "21.10"
|