sunbeam-charms/tests/machine/smoke.yaml.j2
Guillaume Boutry 77810e3826
[sunbeam-clusterd] Enable functional tests of certificates interface
Necessary changes have landed in the snap, enable the functional tests.

Change-Id: Iceb9b517a8329197deaa5b556370e94a825a2493
2024-07-01 10:02:53 +02:00

47 lines
1.0 KiB
Django/Jinja

variables:
constraints: &constraints cores=1 mem=1G virt-type=virtual-machine
machines:
'0':
constraints: *constraints
base: ubuntu@22.04
applications:
sunbeam-machine:
{% if sunbeam_machine is defined and sunbeam_machine is sameas true -%}
charm: ../../../sunbeam-machine.charm
{% else -%}
charm: ch:sunbeam-machine
channel: 2024.1/edge
{% endif -%}
base: ubuntu@22.04
constraints: *constraints
scale: 1
to:
- '0'
sunbeam-clusterd:
{% if sunbeam_clusterd is defined and sunbeam_clusterd is sameas true -%}
charm: ../../../sunbeam-clusterd.charm
{% else -%}
charm: ch:sunbeam-clusterd
channel: 2024.1/edge
{% endif -%}
base: ubuntu@22.04
constraints: *constraints
scale: 1
to:
- '0'
tls-operator:
charm: self-signed-certificates
channel: latest/beta
base: ubuntu@22.04
scale: 1
options:
ca-common-name: internal-ca
to:
- '0'
relations:
- - tls-operator:certificates
- sunbeam-clusterd:certificates