From 4f1e1e20e4d8648edd2eb43d3bf7d502bb257e7b Mon Sep 17 00:00:00 2001 From: Luigi Toscano Date: Thu, 12 Dec 2024 14:48:49 +0100 Subject: [PATCH 1/2] Fix the JUnitXML reporting - fix the type (it is 'xml' lowercase, not uppercase); - tune the name a bit to highlight it is a report; - add the new reportGranularity parameter which is supported by kuttl 0.20.0 and will restore the pre-1.17 JUnitXML format (granularity by test case, instead of by step). Depends-On: https://github.com/openstack-k8s-operators/ci-framework/pull/2598 Signed-off-by: Luigi Toscano --- kuttl-test.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kuttl-test.yaml b/kuttl-test.yaml index e6b0e53c..7b5a0f68 100644 --- a/kuttl-test.yaml +++ b/kuttl-test.yaml @@ -16,8 +16,9 @@ apiVersion: kuttl.dev/v1beta1 kind: TestSuite -reportFormat: XML -reportName: kuttl-test-manila +reportFormat: xml +reportName: kuttl-report-manila +reportGranularity: test namespace: manila-kuttl-tests timeout: 180 parallel: 1 From be8242eb5fed1d2cfbea4e12df04dfb3d2145ccc Mon Sep 17 00:00:00 2001 From: Luigi Toscano Date: Thu, 12 Dec 2024 16:14:38 +0100 Subject: [PATCH 2/2] Fix the kuttl zuul job to also run on significant changes Previously the changes to kuttl-test.yaml itself were ignored. --- zuul.d/jobs.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index fda2a563..ef84e56f 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -5,6 +5,15 @@ attempts: 1 required-projects: - github.com/openstack-k8s-operators/manila-operator + irrelevant-files: &ir_files + - .*/*.md + - ^\..*$ + - ^LICENSE$ + - ^OWNERS$ + - ^OWNERS_ALIASES$ + - ^PROJECT$ + - ^README.md$ + - tests?\/functional vars: cifmw_kuttl_tests_env_vars: CEPH_HOSTNETWORK: true