Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More zuul jobs, and generate JUnitXML reports for KUTTL #309

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions kuttl-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,16 @@
# ASSUMPTIONS:
#
# 1. Latest version of kuttl is installed at /usr/local/bin/kubectl-kuttl
# - wget https://github.com/kudobuilder/kuttl/releases/download/v0.11.1/kubectl-kuttl_0.11.1_linux_x86_64
# - mv kubectl-kuttl_0.11.1_linux_x86_64 /usr/local/bin/kubectl-kuttl
# - chmod 755 /usr/local/bin/kubectl-kuttl
# 2. An OCP 4.10+ CRC cluster with Podified Operators has been deployed
# 3. CLI user has access to $KUBECONFIG
# 4. The environment variable INSTALL_YAMLS is set to the the path of the
# install_yamls repo

apiVersion: kuttl.dev/v1beta1
kind: TestSuite
reportFormat: JSON
reportName: kuttl-test-swift
reportFormat: xml
reportName: kuttl-report-swift
reportGranularity: test
namespace: swift-kuttl-tests
timeout: 600
parallel: 1
Expand Down
27 changes: 27 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
- job:
name: swift-operator-kuttl
parent: cifmw-base-multinode-kuttl
attempts: 1
required-projects:
- github.com/openstack-k8s-operators/swift-operator
irrelevant-files:
- .*/*.md
- ^\..*$
- ^LICENSE$
- ^OWNERS$
- ^OWNERS_ALIASES$
- ^PROJECT$
- ^README.md$
- tests?\/functional
vars:
cifmw_kuttl_tests_operator_list:
- swift

- job:
name: swift-operator-tempest
parent: podified-multinode-hci-deployment-crc-1comp-backends
vars:
cifmw_test_operator_concurrency: 3
cifmw_test_operator_tempest_include_list: |
^tempest.api.object_storage.
14 changes: 14 additions & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
- project:
name: openstack-k8s-operators/swift-operator
github-check:
jobs:
- openstack-k8s-operators-content-provider
- swift-operator-kuttl:
dependencies:
- openstack-k8s-operators-content-provider
voting: false
- swift-operator-tempest:
dependencies:
- openstack-k8s-operators-content-provider
voting: false