From 44698af4c7408f6230b1062b7b2997d251ae0174 Mon Sep 17 00:00:00 2001 From: Guillaume Boutry Date: Tue, 30 Jan 2024 14:03:17 +0100 Subject: [PATCH] Add constraints on MySQL deployment and rebuild Add constraints because by default MySQL will take a percentage of total host resources if no constraints is set. Change-Id: I8c491a6e08fb085fbba689d598536d83ebe3e016 --- rebuild | 2 +- tests/caas/smoke.yaml.j2 | 1 + tests/ceph/smoke.yaml.j2 | 1 + tests/core/smoke.yaml.j2 | 1 + tests/misc/smoke.yaml.j2 | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/rebuild b/rebuild index ba420028..a8236818 100644 --- a/rebuild +++ b/rebuild @@ -1,3 +1,3 @@ # This file is used to trigger a build. # Change uuid to trigger a new build on every charms. -c3b9c7c9-2bd4-4df1-a1df-89c729b34eb6 +f0bf8cdb-0b7e-48f1-b669-765b8e4a011f diff --git a/tests/caas/smoke.yaml.j2 b/tests/caas/smoke.yaml.j2 index ba4a9e74..93253264 100644 --- a/tests/caas/smoke.yaml.j2 +++ b/tests/caas/smoke.yaml.j2 @@ -13,6 +13,7 @@ applications: channel: 8.0/stable scale: 1 trust: true + constraints: cpu-power=1000 mem=1G vault: charm: ch:vault-k8s channel: latest/edge diff --git a/tests/ceph/smoke.yaml.j2 b/tests/ceph/smoke.yaml.j2 index 4c47ac9d..5b4802f9 100644 --- a/tests/ceph/smoke.yaml.j2 +++ b/tests/ceph/smoke.yaml.j2 @@ -13,6 +13,7 @@ applications: channel: 8.0/stable scale: 1 trust: true + constraints: cpu-power=1000 mem=1G rabbitmq: charm: ch:rabbitmq-k8s channel: 3.12/edge diff --git a/tests/core/smoke.yaml.j2 b/tests/core/smoke.yaml.j2 index c587b84f..884cb9a1 100644 --- a/tests/core/smoke.yaml.j2 +++ b/tests/core/smoke.yaml.j2 @@ -13,6 +13,7 @@ applications: channel: 8.0/stable scale: 1 trust: true + constraints: cpu-power=1000 mem=1G tls-operator: charm: self-signed-certificates channel: latest/beta diff --git a/tests/misc/smoke.yaml.j2 b/tests/misc/smoke.yaml.j2 index e60bc1f4..71c29199 100644 --- a/tests/misc/smoke.yaml.j2 +++ b/tests/misc/smoke.yaml.j2 @@ -13,6 +13,7 @@ applications: channel: 8.0/stable scale: 1 trust: true + constraints: cpu-power=1000 mem=1G ldap-server: charm: ch:ldap-test-fixture-k8s channel: edge