Skip to content

Commit 81f5007

Browse files
committed
KUTTL: generate JUnitXML reports
- switch the type to XML (the accepted value 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); - remove the URL of kuttl, so that it is not tied to a specific release. Signed-off-by: Luigi Toscano <[email protected]>
1 parent 42a3c6a commit 81f5007

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

kuttl-test.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@
66
# ASSUMPTIONS:
77
#
88
# 1. Latest version of kuttl is installed at /usr/local/bin/kubectl-kuttl
9-
# - wget https://github.com/kudobuilder/kuttl/releases/download/v0.11.1/kubectl-kuttl_0.11.1_linux_x86_64
10-
# - mv kubectl-kuttl_0.11.1_linux_x86_64 /usr/local/bin/kubectl-kuttl
11-
# - chmod 755 /usr/local/bin/kubectl-kuttl
129
# 2. An OCP 4.10+ CRC cluster with Podified Operators has been deployed
1310
# 3. CLI user has access to $KUBECONFIG
1411
# 4. The environment variable INSTALL_YAMLS is set to the the path of the
@@ -32,8 +29,9 @@ commands:
3229
-n openstack-kuttl-tests \
3330
-o yaml | \
3431
oc apply -f -
35-
reportFormat: JSON
36-
reportName: kuttl-test-openstack
32+
reportFormat: xml
33+
reportName: kuttl-report-openstack
34+
reportGranularity: test
3735
namespace: openstack-kuttl-tests
3836
timeout: 1380
3937
parallel: 1

0 commit comments

Comments
 (0)