From 4eba42280b7189fc6a324626a8a10b50f768db6a Mon Sep 17 00:00:00 2001 From: Liam Young Date: Mon, 18 Sep 2023 09:10:49 +0000 Subject: [PATCH] Add 'extra' test dep python-subunit 1.4.3+ requires 'extras' otherwise an error occures: "'run --slowest' is not a stestr command." Switch to using self-signed-certificates-operator as the self signed functionality has been removed from tls-certificates-operator charm *1 *1 https://github.com/canonical/tls-certificates-operator/commit/2cb418cd2e7bb1c28f584680ecd113b27efdc359 Change-Id: I47139a8d3203b4dc0953bc64491a9f58533d6a10 --- charms/ovn-relay-k8s/requirements.txt | 1 + charms/ovn-relay-k8s/test-requirements.txt | 2 ++ charms/ovn-relay-k8s/tests/bundles/smoke.yaml | 3 +-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/charms/ovn-relay-k8s/requirements.txt b/charms/ovn-relay-k8s/requirements.txt index 3b0b7b4a..9211d667 100644 --- a/charms/ovn-relay-k8s/requirements.txt +++ b/charms/ovn-relay-k8s/requirements.txt @@ -10,4 +10,5 @@ jsonschema lightkube lightkube-models ops + git+https://opendev.org/openstack/charm-ops-sunbeam#egg=ops_sunbeam diff --git a/charms/ovn-relay-k8s/test-requirements.txt b/charms/ovn-relay-k8s/test-requirements.txt index 0b8c885e..da3b04b7 100644 --- a/charms/ovn-relay-k8s/test-requirements.txt +++ b/charms/ovn-relay-k8s/test-requirements.txt @@ -8,3 +8,5 @@ coverage mock stestr ops +# Subunit 1.4.3+ requires extras +extras diff --git a/charms/ovn-relay-k8s/tests/bundles/smoke.yaml b/charms/ovn-relay-k8s/tests/bundles/smoke.yaml index 34ff9b10..a536819f 100644 --- a/charms/ovn-relay-k8s/tests/bundles/smoke.yaml +++ b/charms/ovn-relay-k8s/tests/bundles/smoke.yaml @@ -67,11 +67,10 @@ applications: resources: ovn-sb-db-server-image: ghcr.io/openstack-snaps/ovn-consolidated:23.03 tls-operator: - charm: tls-certificates-operator + charm: self-signed-certificates channel: edge scale: 1 options: - generate-self-signed-certificates: true ca-common-name: internal-ca relations: