From 1fe2734f5a136dfa9586da4eafcaeea15d6c4491 Mon Sep 17 00:00:00 2001 From: Chandan Date: Wed, 11 Nov 2026 18:08:21 +0530 Subject: [PATCH] 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: https://github.com/openstack-k8s-operators/s2i-openstack-containers/pull/297 Depends-On: https://github.com/openstack-k8s-operators/ci-framework/pull/4326 Signed-off-by: Chandan --- .zuul.yaml | 49 +++++++++++++------------------------------------ 1 file changed, 13 insertions(+), 36 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index b8f515c4..b3918597 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -53,7 +53,7 @@ - job: name: watcher-operator-kuttl nodeset: centos-9-medium-crc-cloud-ocp-4-18-1-3xl - dependencies: ["openstack-k8s-operators-content-provider"] + dependencies: ["openstack-s2i-content-provider"] parent: cifmw-multinode-kuttl-operator-target description: | A zuul job to run watcher operator kuttl tests. @@ -87,23 +87,6 @@ asciidoc_available: true doc_available: false -- job: - name: watcher-s2i-content-provider - parent: s2i-openstack-container-content-provider - description: | - Build s2i watcher images for watcher-operator-validation-master. - required-projects: - - name: openstack-k8s-operators/s2i-openstack-containers - override-checkout: main - vars: - s2i_ci_images: - - watcher/watcher-base - - nova/nova-api - - nova/nova-compute - - nova/nova-conductor - - nova/nova-novncproxy - - nova/nova-scheduler - - job: name: watcher-operator-validation-master parent: watcher-operator-validation-base @@ -399,25 +382,21 @@ name: opendev-master-watcher-operator-pipeline github-check: jobs: - # Operator images only. Watcher service images come from s2i. - - openstack-k8s-operators-content-provider: + - openstack-s2i-content-provider: vars: - cifmw_install_yamls_sdk_version: v1.41.1 - cifmw_operator_build_operators: - - name: watcher-operator - src: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/watcher-operator" - - name: openstack-operator - src: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/openstack-operator" - image_base: watcher - - watcher-s2i-content-provider + s2i_ci_images: &s2i_images + - watcher/watcher-base + - nova/nova-api + - nova/nova-compute + - nova/nova-conductor + - nova/nova-novncproxy + - nova/nova-scheduler - watcher-operator-validation-master: dependencies: - - openstack-k8s-operators-content-provider - - watcher-s2i-content-provider + - openstack-s2i-content-provider - watcher-operator-validation-master-ceph: dependencies: - - openstack-k8s-operators-content-provider - - watcher-s2i-content-provider + - openstack-s2i-content-provider - project-template: name: opendev-watcher-edpm-pipeline @@ -430,7 +409,7 @@ containers (auto-detect would find no sources.txt match). openstack-check: jobs: - - watcher-s2i-content-provider: + - openstack-s2i-content-provider: branches: master override-checkout: main files: @@ -461,9 +440,7 @@ - github.com/openstack-k8s-operators/watcher-operator - github.com/openstack-k8s-operators/s2i-openstack-containers dependencies: - - watcher-s2i-content-provider - vars: - content_provider_registry_ip: '{{ s2i_content_provider_registry_ip }}' + - openstack-s2i-content-provider - project-template: name: watcher-operator-s2i-component-jobs