-
Notifications
You must be signed in to change notification settings - Fork 1
/
charmcraft.yaml
56 lines (54 loc) · 1.76 KB
/
charmcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Learn more about charmcraft.yaml configuration at:
# https://juju.is/docs/sdk/charmcraft-config
type: "charm"
bases:
- build-on:
- name: ubuntu
channel: "20.04"
architectures: ["amd64"]
run-on:
- name: ubuntu
channel: "22.04"
architectures:
- amd64
- name: ubuntu
channel: "20.04"
architectures:
- amd64
- name: ubuntu
channel: "18.04"
architectures:
- amd64
parts:
charm:
source: .
build-packages:
# Needed by cryptography
- libffi-dev
- rustc
- cargo
- libssl-dev
charm-binary-python-packages:
# Updated versions needed for working nicely with
# jinja2/markupsafe
- setuptools
- pip<=22.0.4 # tmp fix due https://github.com/pyparsing/pyparsing/issues/400
# Needed as prerequisites for other required packages.
# Explicitly included here to avoid doing source-based builds
# which take time and require installing extra dev packages.
- setuptools-rust
- cryptography # note: seems to require a source build on Bionic,
# which in turn requires setuptools-rust to be installed
# before attempting to install this.
- bcrypt
- pynacl # note: no binary on bionic, but this does help focal
# Include any of the requirements.txt packages which have wheels
#- charmhelpers # currently tarball-only
- ops
- click
#- fabric # currently tarball-only
#- python-openstackclient # pulls cryptography dependency before
# setuptools-rust can be installed
prime:
- files
- copyright