Skip to content

Commit e25fdbc

Browse files
Merge pull request #1352 from openstack-k8s-operators/more-zuul-and-junitxml
More zuul and generate JUnitXML reports for KUTTL
2 parents 0030652 + 2f62daa commit e25fdbc

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-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

zuul.d/jobs.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@
77
# This var is specific to ci-framework docs directory using sphinx
88
doc_available: false
99

10+
- job:
11+
name: openstack-operator-kuttl
12+
parent: cifmw-base-multinode-kuttl
13+
dependencies: ["openstack-k8s-operators-content-provider"]
14+
attempts: 1
15+
required-projects:
16+
- github.com/openstack-k8s-operators/openstack-operator
17+
irrelevant-files:
18+
- .*/*.md
19+
- ^\..*$
20+
- ^LICENSE$
21+
- ^OWNERS$
22+
- ^OWNERS_ALIASES$
23+
- ^PROJECT$
24+
- ^README.md$
25+
- tests?\/functional
26+
vars:
27+
cifmw_kuttl_tests_operator_list:
28+
- openstack
29+
1030
- job:
1131
name: openstack-operator-tempest-multinode
1232
parent: podified-multinode-edpm-deployment-crc-3comp

zuul.d/projects.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@
88
jobs:
99
- openstack-operator-tempest-multinode
1010
- openstack-operator-docs-preview
11+
- openstack-operator-kuttl:
12+
voting: false

0 commit comments

Comments
 (0)