b1a2c20cc7
Rebase charm to ubuntu 22.04 to resolve build issues on 20.04 and reduce complexity of requirements management. Change-Id: Iaf8d9fe7fcc94edf8f21c877ad03dd4e7343c22c
27 lines
525 B
YAML
27 lines
525 B
YAML
# Learn more about charmcraft.yaml configuration at:
|
|
# https://juju.is/docs/sdk/charmcraft-config
|
|
type: "charm"
|
|
bases:
|
|
- build-on:
|
|
- name: "ubuntu"
|
|
channel: "22.04"
|
|
run-on:
|
|
- name: "ubuntu"
|
|
channel: "22.04"
|
|
parts:
|
|
update-certificates:
|
|
plugin: nil
|
|
override-build: |
|
|
apt update
|
|
apt install -y ca-certificates
|
|
update-ca-certificates
|
|
|
|
charm:
|
|
after: [update-certificates]
|
|
build-packages:
|
|
- git
|
|
- libffi-dev
|
|
- libssl-dev
|
|
- rustc
|
|
- cargo
|