
Implement tracing relation for all the charms. Instrument most of ops.Object objects, including relation handlers, pebble handlers, and relation objects. Change-Id: I967ff858a63aa7d30094cf5a46491fce11195060 Signed-off-by: Guillaume Boutry <guillaume.boutry@canonical.com>
64 lines
1.0 KiB
YAML
64 lines
1.0 KiB
YAML
# This file configures Charmcraft.
|
|
# See https://juju.is/docs/sdk/charmcraft-config for guidance.
|
|
|
|
name: sunbeam-clusterd
|
|
|
|
type: charm
|
|
|
|
title: Sunbeam Clusterd
|
|
|
|
summary: A juju charm to run sunbeam clusterd
|
|
|
|
description: |
|
|
Manage sunbeam clusterd deployment
|
|
|
|
# (Required for 'charm' type)
|
|
bases:
|
|
- build-on:
|
|
- name: ubuntu
|
|
channel: "22.04"
|
|
run-on:
|
|
- name: ubuntu
|
|
channel: "22.04"
|
|
|
|
parts:
|
|
charm:
|
|
build-packages:
|
|
- git
|
|
- libffi-dev
|
|
- libssl-dev
|
|
- pkg-config
|
|
- rustc
|
|
- cargo
|
|
charm-binary-python-packages:
|
|
- cryptography
|
|
- jsonschema
|
|
- jinja2
|
|
|
|
peers:
|
|
peers:
|
|
interface: clusterd-peer
|
|
|
|
actions:
|
|
get-credentials:
|
|
description: |
|
|
Return information necessary to connect to clusterd.
|
|
|
|
config:
|
|
options:
|
|
snap-channel:
|
|
default: "2024.1/edge"
|
|
type: string
|
|
debug:
|
|
default: False
|
|
type: boolean
|
|
|
|
requires:
|
|
certificates:
|
|
interface: tls-certificates
|
|
optional: True
|
|
tracing:
|
|
interface: tracing
|
|
optional: true
|
|
limit: 1
|