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 #479

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-cinder
reportFormat: xml
reportName: kuttl-report-cinder
reportGranularity: test
namespace: cinder-kuttl-tests
timeout: 180
parallel: 1
Expand Down
42 changes: 42 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
- job:
name: cinder-operator-kuttl
parent: cifmw-base-multinode-kuttl
attempts: 1
required-projects:
- github.com/openstack-k8s-operators/cinder-operator
irrelevant-files:
- .*/*.md
- ^\..*$
- ^LICENSE$
- ^OWNERS$
- ^OWNERS_ALIASES$
- ^PROJECT$
- ^README.md$
- tests?\/functional
vars:
cifmw_kuttl_tests_operator_list:
- cinder

- job:
name: cinder-operator-tempest
parent: podified-multinode-hci-deployment-crc-1comp-backends
vars:
cifmw_test_operator_concurrency: 3
cifmw_test_operator_tempest_include_list: |
^tempest.api.volume.
^tempest.scenario.test_encrypted_cinder_volumes..*
^tempest.scenario.test_stamp_pattern..*
^tempest.scenario.test_volume_..*
^cinder_tempest_plugin..*
# plain/cryptsetup volume encryption tests are not supported
# with the ceph backend
cifmw_test_operator_tempest_exclude_list: |
test_encrypted_cinder_volumes_cryptsetup
cifmw_test_operator_tempest_tempestconf_config:
overrides: |
compute-feature-enabled.attach_encrypted_volume True
volume-feature-enabled.extend_attached_encrypted_volume True
volume-feature-enabled.extend_attached_volume True
volume-feature-enabled.volume_revert True
volume.storage_protocol 'ceph'
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/cinder-operator
github-check:
jobs:
- openstack-k8s-operators-content-provider
- cinder-operator-kuttl:
dependencies:
- openstack-k8s-operators-content-provider
voting: false
- cinder-operator-tempest:
dependencies:
- openstack-k8s-operators-content-provider
voting: false
Loading