File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #
2+ # EXECUTION (from install_yamls repo root):
3+ #
4+ # make test_operator_kuttl
5+ #
6+ # ASSUMPTIONS:
7+ #
8+ # 1. Latest version of kuttl is installed at /usr/local/bin/kubectl-kuttl
9+ # 2. An OCP 4.10+ CRC cluster with Podified Operators has been deployed
10+ # 3. CLI user has access to $KUBECONFIG
11+ # 4. The environment variable INSTALL_YAMLS is set to the path of the
12+ # install_yamls repo
13+
14+ apiVersion : kuttl.dev/v1beta1
15+ kind : TestSuite
16+ reportFormat : xml
17+ reportName : kuttl-report-test-operator
18+ reportGranularity : test
19+ namespace : test-operator-kuttl-tests
20+ timeout : 180
21+ parallel : 1
22+ suppress :
23+ - events # Remove spammy event logs
Original file line number Diff line number Diff line change 1+ apiVersion : kuttl.dev/v1beta1
2+ kind : TestStep
3+ delete :
4+ - apiVersion : test.openstack.org/v1beta1
5+ kind : Tempest
6+ name : tempest-sample
7+ - apiVersion : test.openstack.org/v1beta1
8+ kind : Tobiko
9+ name : tobiko-sample
10+ - apiVersion : test.openstack.org/v1beta1
11+ kind : AnsibleTest
12+ name : ansibletest-sample
13+ - apiVersion : test.openstack.org/v1beta1
14+ kind : HorizonTest
15+ name : horizontest-sample
Original file line number Diff line number Diff line change 1+ #
2+ # Check for:
3+ #
4+ # No CRs
5+ # No Pods
6+ # No ConfigMaps
7+ # No Secrets
8+ #
9+ apiVersion : v1
10+ kind : ConfigMap
11+ metadata :
12+ name : openstack-config
13+ ---
14+ apiVersion : v1
15+ kind : Secret
16+ metadata :
17+ name : openstack-config-secret
18+ ---
19+ apiVersion : test.openstack.org/v1beta1
20+ kind : Tempest
21+ metadata :
22+ name : tempest-sample
23+ ---
24+ apiVersion : test.openstack.org/v1beta1
25+ kind : Tobiko
26+ metadata :
27+ name : tobiko-sample
28+ ---
29+ apiVersion : test.openstack.org/v1beta1
30+ kind : AnsibleTest
31+ metadata :
32+ name : ansibletest-sample
33+ ---
34+ apiVersion : test.openstack.org/v1beta1
35+ kind : HorizonTest
36+ metadata :
37+ name : horizontest-sample
38+ ---
39+ apiVersion : v1
40+ kind : Pod
41+ metadata :
42+ labels :
43+ job-name : tempest-sample
44+ ---
45+ apiVersion : v1
46+ kind : Pod
47+ metadata :
48+ labels :
49+ job-name : tobiko-sample
50+ ---
51+ apiVersion : v1
52+ kind : Pod
53+ metadata :
54+ labels :
55+ job-name : ansibletest-sample
56+ ---
57+ apiVersion : v1
58+ kind : Pod
59+ metadata :
60+ labels :
61+ job-name : horizontest-sample
Original file line number Diff line number Diff line change 1+ apiVersion : test.openstack.org/v1beta1
2+ kind : Tempest
3+ metadata :
4+ name : tempest-sample
5+ namespace : test-operator-kuttl-tests
6+ status :
7+ conditions :
8+ - type : InputReady
9+ status : " True"
10+ - type : ServiceConfigReady
11+ status : " True"
12+ ---
13+ apiVersion : v1
14+ kind : ConfigMap
15+ metadata :
16+ name : tempest-sample-config
17+ namespace : test-operator-kuttl-tests
Original file line number Diff line number Diff line change 1+ apiVersion : test.openstack.org/v1beta1
2+ kind : Tempest
3+ metadata :
4+ name : tempest-sample
5+ namespace : test-operator-kuttl-tests
6+ spec :
7+ containerImage : quay.io/podified-antelope-centos9/openstack-tempest:current-podified
8+ storageClass : local-storage
Original file line number Diff line number Diff line change 1+ ../../common/cleanup-all-tests.yaml
Original file line number Diff line number Diff line change 1+ ../../common/errors-cleanup.yaml
Original file line number Diff line number Diff line change 11---
2+ - job :
3+ name : test-operator-kuttl
4+ parent : cifmw-base-multinode-kuttl
5+ attempts : 1
6+ required-projects :
7+ - github.com/openstack-k8s-operators/test-operator
8+ irrelevant-files : &ir_files
9+ - .*/*.md
10+ - ^\..*$
11+ - ^LICENSE$
12+ - ^OWNERS$
13+ - ^OWNERS_ALIASES$
14+ - ^PROJECT$
15+ - ^README.md$
16+ - tests?\/functional
17+ - ^renovate.json$
18+ vars :
19+ cifmw_kuttl_tests_operator_list :
20+ - test_operator
21+
222- job :
323 name : podified-multinode-edpm-deployment-crc-test-operator
424 parent : podified-multinode-hci-deployment-crc-1comp-backends
Original file line number Diff line number Diff line change 66 - openstack-k8s-operators-content-provider :
77 vars :
88 cifmw_install_yamls_sdk_version : v1.41.1
9+ - test-operator-kuttl :
10+ dependencies :
11+ - openstack-k8s-operators-content-provider
912 - podified-multinode-edpm-deployment-crc-test-operator :
1013 dependencies :
1114 - openstack-k8s-operators-content-provider
You can’t perform that action at this time.
0 commit comments