Skip to content

Commit 00f040e

Browse files
Merge pull request #224 from openstack-k8s-operators/more-zuul-and-junitxml
More zuul jobs, and generate JUnitXML reports for KUTTL
2 parents 0df223b + 8a02e6e commit 00f040e

File tree

3 files changed

+44
-5
lines changed

3 files changed

+44
-5
lines changed

kuttl-test.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,16 @@
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
1512
# install_yamls repo
1613

1714
apiVersion: kuttl.dev/v1beta1
1815
kind: TestSuite
19-
reportFormat: JSON
20-
reportName: kuttl-test-barbican
16+
reportFormat: xml
17+
reportName: kuttl-report-barbican
18+
reportGranularity: test
2119
namespace: barbican-kuttl-tests
2220
timeout: 180
2321
parallel: 1

zuul.d/jobs.yaml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
- job:
3+
name: barbican-operator-kuttl
4+
parent: cifmw-base-multinode-kuttl
5+
attempts: 1
6+
required-projects:
7+
- github.com/openstack-k8s-operators/barbican-operator
8+
irrelevant-files:
9+
- .*/*.md
10+
- ^\..*$
11+
- ^LICENSE$
12+
- ^OWNERS$
13+
- ^OWNERS_ALIASES$
14+
- ^PROJECT$
15+
- ^README.md$
16+
- tests?\/functional
17+
vars:
18+
cifmw_kuttl_tests_operator_list:
19+
- barbican
20+
21+
- job:
22+
name: barbican-operator-tempest
23+
parent: podified-multinode-edpm-deployment-crc-2comp
24+
vars:
25+
cifmw_test_operator_concurrency: 3
26+
cifmw_test_operator_tempest_include_list: |
27+
^barbican_tempest_plugin.tests.(api|rbac)\.

zuul.d/projects.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
- project:
3+
name: openstack-k8s-operators/barbican-operator
4+
github-check:
5+
jobs:
6+
- openstack-k8s-operators-content-provider
7+
- barbican-operator-kuttl:
8+
dependencies:
9+
- openstack-k8s-operators-content-provider
10+
voting: false
11+
- barbican-operator-tempest:
12+
dependencies:
13+
- openstack-k8s-operators-content-provider
14+
voting: false

0 commit comments

Comments
 (0)