|
2 | 2 | - project: |
3 | 3 | name: openstack-k8s-operators/watcher-operator |
4 | 4 | default-branch: main |
| 5 | + templates: |
| 6 | + - opendev-master-watcher-operator-pipeline |
5 | 7 | github-check: |
6 | 8 | jobs: |
7 | 9 | - noop |
8 | 10 | - watcher-operator-doc-preview |
9 | | - - openstack-meta-content-provider: |
10 | | - vars: |
11 | | - cifmw_operator_build_meta_build: false |
12 | 11 | - watcher-operator-validation |
13 | 12 | - watcher-operator-kuttl |
14 | 13 |
|
15 | 14 | - job: |
16 | 15 | name: watcher-operator-base |
17 | 16 | parent: podified-multinode-edpm-deployment-crc-2comp |
18 | | - dependencies: ["openstack-meta-content-provider"] |
| 17 | + dependencies: ["openstack-meta-content-provider-master"] |
19 | 18 | description: | |
20 | 19 | A multinode EDPM Zuul job which has one ansible controller, one |
21 | 20 | extracted crc and two computes. It will be used for testing watcher-operator. |
22 | 21 | vars: |
23 | 22 | watcher_repo: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/watcher-operator" |
24 | 23 | watcher_hook: "{{ watcher_repo }}/ci/playbooks/deploy_watcher_service.yaml" |
25 | 24 | watcher_coo_hook: "{{ watcher_repo }}/ci/playbooks/deploy_cluster_observability_operator.yaml" |
| 25 | + run_tempest: false |
| 26 | + # Based on current testing, https://github.com/openstack-k8s-operators/watcher-operator/pull/47#issuecomment-2607474033 |
| 27 | + # We need decision engine and applier CRD to ready to run |
| 28 | + # whole test suite |
| 29 | + cifmw_test_operator_tempest_include_list: | |
| 30 | + watcher_tempest_plugin.tests.api.admin.test_api_discovery.TestApiDiscovery |
| 31 | + # Donot use openstack services containers from meta content provider master |
| 32 | + # job. |
| 33 | + cifmw_update_containers_openstack: false |
26 | 34 | # controlplane customization to deploy telemetry service |
27 | 35 | cifmw_edpm_prepare_timeout: 60 |
28 | 36 | cifmw_edpm_prepare_kustomizations: |
|
65 | 73 | parent: watcher-operator-base |
66 | 74 | description: | |
67 | 75 | A zuul job to validate the watcher operator and its service deployment. |
| 76 | + It will deploy podified and EDPM using current-podified antelope content. |
| 77 | + During watcher deployment, It will fetch master current-podified hash and pull |
| 78 | + openstack watcher services containers from meta content provider. |
| 79 | + It will test current-podified control plane EDPM deployment with openstack watcher |
| 80 | + master content. |
| 81 | + extra-vars: |
| 82 | + # Override zuul meta content provider provided content_provider_dlrn_md5_hash |
| 83 | + # var. As returned dlrn md5 hash comes from master release but job is using |
| 84 | + # antelope content. |
| 85 | + content_provider_dlrn_md5_hash: '' |
68 | 86 | vars: |
69 | | - run_tempest: false |
70 | | - # Based on current testing, https://github.com/openstack-k8s-operators/watcher-operator/pull/47#issuecomment-2607474033 |
71 | | - # We need decision engine and applier CRD to ready to run |
72 | | - # whole test suite |
73 | | - cifmw_test_operator_tempest_include_list: | |
74 | | - watcher_tempest_plugin.tests.api.admin.test_api_discovery.TestApiDiscovery |
| 87 | + # Donot use openstack services containers from meta content provider master |
| 88 | + # job. |
| 89 | + cifmw_update_containers_openstack: false |
75 | 90 |
|
76 | 91 | - job: |
77 | 92 | name: watcher-operator-kuttl |
| 93 | + dependencies: ["openstack-meta-content-provider-master"] |
78 | 94 | parent: cifmw-multinode-kuttl-operator-target |
79 | 95 | description: | |
80 | 96 | A zuul job to run watcher operator kuttl tests. |
| 97 | + It will pull operator images from meta content provider. There is no |
| 98 | + change in openstack services container images. |
81 | 99 | vars: |
82 | 100 | operator_name: watcher-operator |
83 | 101 | cifmw_install_yamls_whitelisted_vars: *install_yamls_whitelist |
84 | 102 | watcher_repo: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/watcher-operator" |
85 | 103 | watcher_hook: "{{ watcher_repo }}/ci/playbooks/deploy_watcher_service.yaml" |
86 | 104 | deploy_watcher_service: false |
| 105 | + # Do not fetch dlrn md5 hash |
| 106 | + fetch_dlrn_hash: false |
87 | 107 | # run the hook to install watcher at the end of the cifmw infra playbook. If we try to run it |
88 | 108 | # as a standalone plabyook, it tries to load the cifmw ci_script action |
89 | 109 | # plugin from the zuul executor and doesn't find it |
|
93 | 113 | source: "{{ watcher_hook }}" |
94 | 114 | extra_vars: |
95 | 115 | watcher_catalog_image: "{{ content_provider_registry_ip }}:5001/openstack-k8s-operators/watcher-operator-index:{{ zuul.patchset }}" |
| 116 | + extra-vars: |
| 117 | + # Override zuul meta content provider provided content_provider_dlrn_md5_hash |
| 118 | + # var. As returned dlrn md5 hash comes from master release but job is using |
| 119 | + # antelope content. |
| 120 | + content_provider_dlrn_md5_hash: '' |
| 121 | + # We also need to override the registry otherwise kuttl test will fail |
| 122 | + content_provider_os_registry_url: "quay.io/podified-master-centos9" |
96 | 123 |
|
97 | 124 | - job: |
98 | 125 | name: watcher-operator-doc-preview |
|
103 | 130 | vars: |
104 | 131 | asciidoc_available: true |
105 | 132 | doc_available: false |
| 133 | + |
| 134 | +########################################################## |
| 135 | +# # |
| 136 | +# Master Zuul Jobs # |
| 137 | +# # |
| 138 | +########################################################## |
| 139 | +- job: |
| 140 | + name: openstack-meta-content-provider-master |
| 141 | + description: | |
| 142 | + A zuul job building content from OpenDev master release. |
| 143 | + parent: openstack-meta-content-provider |
| 144 | + vars: |
| 145 | + cifmw_operator_build_meta_build: false |
| 146 | + cifmw_bop_openstack_release: master |
| 147 | + cifmw_bop_dlrn_baseurl: "https://trunk.rdoproject.org/centos9-master" |
| 148 | + cifmw_repo_setup_branch: master |
| 149 | + cifmw_build_containers_registry_namespace: podified-master-centos9 |
| 150 | + |
| 151 | +- job: |
| 152 | + name: watcher-operator-validation-master |
| 153 | + parent: watcher-operator-base |
| 154 | + description: | |
| 155 | + A Zuul job consuming content from openstack-meta-content-provider-master |
| 156 | + and deploying EDPM with master content. |
| 157 | + vars: |
| 158 | + cifmw_repo_setup_branch: master |
| 159 | + # To consume containers from meta content provider |
| 160 | + cifmw_update_containers_openstack: true |
| 161 | + cifmw_update_containers_org: podified-master-centos9 |
| 162 | + |
| 163 | +########################################################## |
| 164 | +# # |
| 165 | +# Project Template # |
| 166 | +# # |
| 167 | +########################################################## |
| 168 | + |
| 169 | +- project-template: |
| 170 | + name: opendev-master-watcher-operator-pipeline |
| 171 | + description: | |
| 172 | + Project template to run meta content provider and |
| 173 | + EDPM job with master opendev and github operator |
| 174 | + content. |
| 175 | + github-check: |
| 176 | + jobs: |
| 177 | + - openstack-meta-content-provider-master |
| 178 | + - watcher-operator-validation-master |
0 commit comments