Skip to content

Commit 1fe2734

Browse files
committed
Use the unified operator and S2I content provider job for watcher
This pr drops watcher-s2i-content-provider job definition in favor of unified s2i content provider job which will build s2i image and operator changes together. All jobs now depends on unified content provider job dropping s2i and k8s content provider job. Below depends-on adds the unified content provider job. The unified content provider job is also tested against opendev/watcher patches. Here is the testresult: https://review.opendev.org/c/openstack/watcher/+/1015294/2#message-ad0dd84d05d9bd39eb65368ae0b86d3e1a403516 Depends-On: openstack-k8s-operators/s2i-openstack-containers#297 Depends-On: openstack-k8s-operators/ci-framework#4326 Signed-off-by: Chandan <chkumar@redhat.com>
1 parent 6b8433a commit 1fe2734

1 file changed

Lines changed: 13 additions & 36 deletions

File tree

‎.zuul.yaml‎

Lines changed: 13 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
- job:
5454
name: watcher-operator-kuttl
5555
nodeset: centos-9-medium-crc-cloud-ocp-4-18-1-3xl
56-
dependencies: ["openstack-k8s-operators-content-provider"]
56+
dependencies: ["openstack-s2i-content-provider"]
5757
parent: cifmw-multinode-kuttl-operator-target
5858
description: |
5959
A zuul job to run watcher operator kuttl tests.
@@ -87,23 +87,6 @@
8787
asciidoc_available: true
8888
doc_available: false
8989

90-
- job:
91-
name: watcher-s2i-content-provider
92-
parent: s2i-openstack-container-content-provider
93-
description: |
94-
Build s2i watcher images for watcher-operator-validation-master.
95-
required-projects:
96-
- name: openstack-k8s-operators/s2i-openstack-containers
97-
override-checkout: main
98-
vars:
99-
s2i_ci_images:
100-
- watcher/watcher-base
101-
- nova/nova-api
102-
- nova/nova-compute
103-
- nova/nova-conductor
104-
- nova/nova-novncproxy
105-
- nova/nova-scheduler
106-
10790
- job:
10891
name: watcher-operator-validation-master
10992
parent: watcher-operator-validation-base
@@ -399,25 +382,21 @@
399382
name: opendev-master-watcher-operator-pipeline
400383
github-check:
401384
jobs:
402-
# Operator images only. Watcher service images come from s2i.
403-
- openstack-k8s-operators-content-provider:
385+
- openstack-s2i-content-provider:
404386
vars:
405-
cifmw_install_yamls_sdk_version: v1.41.1
406-
cifmw_operator_build_operators:
407-
- name: watcher-operator
408-
src: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/watcher-operator"
409-
- name: openstack-operator
410-
src: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/openstack-operator"
411-
image_base: watcher
412-
- watcher-s2i-content-provider
387+
s2i_ci_images: &s2i_images
388+
- watcher/watcher-base
389+
- nova/nova-api
390+
- nova/nova-compute
391+
- nova/nova-conductor
392+
- nova/nova-novncproxy
393+
- nova/nova-scheduler
413394
- watcher-operator-validation-master:
414395
dependencies:
415-
- openstack-k8s-operators-content-provider
416-
- watcher-s2i-content-provider
396+
- openstack-s2i-content-provider
417397
- watcher-operator-validation-master-ceph:
418398
dependencies:
419-
- openstack-k8s-operators-content-provider
420-
- watcher-s2i-content-provider
399+
- openstack-s2i-content-provider
421400

422401
- project-template:
423402
name: opendev-watcher-edpm-pipeline
@@ -430,7 +409,7 @@
430409
containers (auto-detect would find no sources.txt match).
431410
openstack-check:
432411
jobs:
433-
- watcher-s2i-content-provider:
412+
- openstack-s2i-content-provider:
434413
branches: master
435414
override-checkout: main
436415
files:
@@ -461,9 +440,7 @@
461440
- github.com/openstack-k8s-operators/watcher-operator
462441
- github.com/openstack-k8s-operators/s2i-openstack-containers
463442
dependencies:
464-
- watcher-s2i-content-provider
465-
vars:
466-
content_provider_registry_ip: '{{ s2i_content_provider_registry_ip }}'
443+
- openstack-s2i-content-provider
467444

468445
- project-template:
469446
name: watcher-operator-s2i-component-jobs

0 commit comments

Comments
 (0)