Skip to content

Commit 9e4c395

Browse files
raukadahopenshift-merge-bot[bot]
authored andcommitted
Add epoxy related jobs and project template
This pr adds: - tcib containers config file to build watcher and tempest all container - opendev-epoxy-watcher-operator-pipeline project template to run in github-check. Signed-off-by: Chandan Kumar (raukadah) <[email protected]>
1 parent 99f8081 commit 9e4c395

File tree

3 files changed

+77
-0
lines changed

3 files changed

+77
-0
lines changed

.zuul.yaml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
merge-mode: rebase
66
templates:
77
- opendev-master-watcher-operator-pipeline
8+
- opendev-epoxy-watcher-operator-pipeline
89
github-check:
910
jobs:
1011
- noop
@@ -142,6 +143,61 @@
142143
asciidoc_available: true
143144
doc_available: false
144145

146+
##########################################################
147+
# #
148+
# Epoxy Zuul Jobs #
149+
# #
150+
##########################################################
151+
- job:
152+
name: openstack-meta-content-provider-epoxy
153+
description: |
154+
A zuul job building content from OpenDev epoxy release.
155+
parent: openstack-meta-content-provider
156+
pre-run:
157+
- ci/playbooks/copy_container_files.yaml
158+
vars:
159+
cifmw_operator_build_meta_build: false
160+
cifmw_bop_openstack_release: epoxy
161+
cifmw_bop_dlrn_baseurl: "https://trunk.rdoproject.org/centos9-epoxy"
162+
cifmw_repo_setup_branch: epoxy
163+
cifmw_build_containers_registry_namespace: podified-epoxy-centos9
164+
cifmw_build_containers_config_file: "{{ ansible_user_dir }}/containers.yaml"
165+
cifmw_repo_setup_promotion: podified-ci-testing
166+
cifmw_build_containers_force: true
167+
cifmw_build_containers_image_tag: watcher_latest
168+
169+
- job:
170+
name: watcher-operator-validation-epoxy
171+
parent: watcher-operator-validation-base
172+
dependencies: ["openstack-meta-content-provider-epoxy"]
173+
description: |
174+
A zuul job to validate the watcher operator and its service deployment.
175+
It will deploy podified and EDPM using current-podified antelope content.
176+
During watcher deployment, It will fetch epoxy current hash and pull
177+
openstack watcher services containers from meta content provider.
178+
It will test current-podified control plane EDPM deployment with openstack watcher
179+
master content. It deploys watcher using TLSe, and creates the certificates to use.
180+
extra-vars:
181+
# Override zuul meta content provider provided content_provider_dlrn_md5_hash
182+
# var. As returned dlrn md5 hash comes from master release but job is using
183+
# antelope content.
184+
content_provider_dlrn_md5_hash: ''
185+
vars:
186+
# Donot use openstack services containers from meta content provider master
187+
# job.
188+
cifmw_update_containers_openstack: false
189+
# current dlrn hash changes frequently. In meta content provider, containers
190+
# are tagged with watcher_latest, let's use the same here.
191+
fetch_dlrn_hash: false
192+
watcher_services_tag: watcher_latest
193+
deploy_watcher_service_extra_vars:
194+
watcher_cr_file: "ci/watcher_v1beta1_watcher_tlse.yaml"
195+
# tempest vars
196+
cifmw_test_operator_tempest_registry: "{{ content_provider_os_registry_url | split('/') | first }}"
197+
cifmw_test_operator_tempest_namespace: "{{ content_provider_os_registry_url | split('/') | last }}"
198+
cifmw_test_operator_tempest_image_tag: watcher_latest
199+
200+
145201
##########################################################
146202
# #
147203
# Master Zuul Jobs #
@@ -200,6 +256,13 @@
200256
- watcher-operator-validation-master
201257
- watcher-operator-validation-ocp4-16
202258

259+
- project-template:
260+
name: opendev-epoxy-watcher-operator-pipeline
261+
github-check:
262+
jobs:
263+
- openstack-meta-content-provider-epoxy
264+
- watcher-operator-validation-epoxy
265+
203266
- project-template:
204267
name: opendev-watcher-edpm-pipeline
205268
openstack-check:

ci/files/containers.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
container_images:
2+
- imagename: quay.io/podified-master-centos9/openstack-watcher-api:current-podified
3+
- imagename: quay.io/podified-master-centos9/openstack-watcher-applier:current-podified
4+
- imagename: quay.io/podified-master-centos9/openstack-watcher-decision-engine:current-podified
5+
- imagename: quay.io/podified-master-centos9/openstack-tempest-all:current-podified
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
- name: Copy watcher containers.yaml file
3+
hosts: all
4+
tasks:
5+
- name: Copy containers.yaml file
6+
ansible.builtin.copy:
7+
src: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/watcher-operator/ci/files/containers.yaml"
8+
dest: "{{ ansible_user_dir }}/containers.yaml"
9+
remote_src: true

0 commit comments

Comments
 (0)