Skip to content

Commit

Permalink
Merge pull request #479 from tosky/more-zuul-and-junitxml
Browse files Browse the repository at this point in the history
 More zuul jobs, and generate JUnitXML reports for KUTTL
  • Loading branch information
openshift-merge-bot[bot] authored Jan 15, 2025
2 parents fb4d394 + bd8c52f commit cbc7eaf
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 5 deletions.
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

0 comments on commit cbc7eaf

Please sign in to comment.