
"cryptography" and "pydantic" depend on "maturin", which fails to install from source. "cryptography" was already added to the "charm-binary-python-packages" list, allowing prebuilt packages to be used. However, our uv.lock files contain a slightly older version so charmcraft attempts to install it from source and fails: ModuleNotFoundError: No module named 'puccinialin' This patch will fix the build failures by: * updating the uv.lock files (tox -e lock) * adding pydantic to the list of binary packages Cryptography 44.0.2 currently fails to install: https://pastebin.canonical.com/p/Z4ZZhqWwtV/plain/ Change-Id: Ibfe555df7f72b867ad92c3bb00bb6fa576d7b0fc
84 lines
1.8 KiB
YAML
84 lines
1.8 KiB
YAML
type: charm
|
|
name: designate-bind-k8s
|
|
summary: OpenStack designate-bind service
|
|
description:
|
|
"Domain Name Service (DNS) is an Internet service that maps IP addresses\
|
|
\ and fully qualified domain names (FQDN) to one another.\nIn this way, DNS alleviates\
|
|
\ the need to remember IP addresses. Computers that run DNS are called name servers.\
|
|
\ \nUbuntu ships with BIND (Berkley Internet Naming Daemon), the most common program\
|
|
\ used for maintaining a name server on Linux.\n"
|
|
assumes:
|
|
- k8s-api
|
|
- juju >= 3.1
|
|
links:
|
|
source:
|
|
- https://opendev.org/openstack/charm-designate-bind-k8s
|
|
issues:
|
|
- https://bugs.launchpad.net/charm-designate-bind-k8s
|
|
|
|
base: ubuntu@24.04
|
|
platforms:
|
|
amd64:
|
|
|
|
config:
|
|
options:
|
|
debug:
|
|
default: false
|
|
description: Enable debug logging.
|
|
type: boolean
|
|
|
|
containers:
|
|
designate-bind:
|
|
resource: designate-bind-image
|
|
|
|
resources:
|
|
designate-bind-image:
|
|
type: oci-image
|
|
description: OCI image for bind9
|
|
upstream-source: ubuntu/bind9:9.18-22.04_beta
|
|
|
|
requires:
|
|
logging:
|
|
interface: loki_push_api
|
|
optional: true
|
|
tracing:
|
|
interface: tracing
|
|
optional: true
|
|
limit: 1
|
|
|
|
provides:
|
|
dns-backend:
|
|
interface: bind-rndc
|
|
|
|
peers:
|
|
peers:
|
|
interface: bind-peer
|
|
|
|
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-1.80
|
|
- cargo-1.80
|
|
- pkg-config
|
|
charm-binary-python-packages:
|
|
- cryptography
|
|
- jsonschema
|
|
- jinja2
|
|
- pydantic
|
|
build-snaps: [astral-uv]
|
|
override-build: |
|
|
uv export --frozen --no-hashes --format=requirements-txt -o requirements.txt
|
|
craftctl default
|
|
charm-requirements: [requirements.txt]
|