From fb6ac99264946ab52423a1e31c02fc564253196d Mon Sep 17 00:00:00 2001 From: Luigi Toscano Date: Thu, 27 Aug 2026 16:10:17 +0200 Subject: [PATCH] WIP [s2i] glance/swift job --- zuul.d/jobs.yaml | 71 ++++++++++++++++++++++++++++++++++++++++++++ zuul.d/projects.yaml | 7 +++++ 2 files changed, 78 insertions(+) diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index bdac97843..70ca48105 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -36,3 +36,74 @@ cifmw_test_operator_tempest_concurrency: 3 cifmw_test_operator_tempest_include_list: | ^tempest.api.image. + +- job: + name: glance-s2i-content-provider + parent: s2i-openstack-container-content-provider + description: | + Build s2i glance service images for glance-s2i tempest jobs. + required-projects: + - name: openstack-k8s-operators/s2i-openstack-containers + override-checkout: main + vars: + s2i_ci_images: + - glance/glance-api + +- job: + name: s2i-tempest-base + parent: podified-multinode-edpm-deployment-crc-2comp + description: | + Validate speculatively-built s2i images against a live + OpenStack deployment. s2i-built images from the + content provider are applied to OpenStackVersion during + edpm_prepare via ci-framework set_containers before the control + plane is deployed. + + Scalar OpenStackVersion fields come from the s2i image map. + It is possible to extend it with additional mapping, + for example for cinder-volume and manila-share. + required-projects: + - name: openstack-k8s-operators/s2i-openstack-containers + override-checkout: main + vars: + # Operator CP owns content_provider_registry_ip (catalog + CRC + # insecure list). Append the s2i registry so CRC can pull both. + cifmw_crc_additional_insecure_registries: + - "{{ s2i_content_provider_registry_ip }}:5001" + cifmw_crc_additional_allowed_registries: + - "{{ s2i_content_provider_registry_ip }}:5001" + cifmw_set_containers_preserve_unlisted: true + # Zuul rejects vars that start with "_". Keep the mapping in one + # expression: scalar OpenStackVersion fields from the s2i provider, + # plus the additional mapping + cifmw_set_containers_images: >- + {{ + ( + s2i_content_provider_os_custom_container_images | dict2items | + json_query('[].{name: key, full_registry: value}') + ) + cifmw_set_containers_images_extra_mapping + }} + cifmw_set_containers_images_extra_mapping: [] + +- job: + name: glance-s2i-tempest-swift + parent: s2i-tempest-base + description: | + Validate speculatively-built s2i glance images with swift + against a live OpenStack deployment. + irrelevant-files: *common-irrelevant-files + vars: + cifmw_test_operator_tempest_concurrency: 3 + cifmw_test_operator_tempest_include_list: | + ^tempest.api.image..* + ^tempest.scenario.test_snapshot_pattern..* + ^glance_tempest_plugin..* + ^barbican_tempest_plugin.tests.scenario.test_certificate_validation..* + ^barbican_tempest_plugin.tests.scenario.test_image_signing.ImageSigningTest..* + ^tempest.scenario.test_unified_limits.ImageQuotaTest..* + cifmw_test_operator_tempest_tempestconf_config: + overrides: | + image_feature_enabled.import_image true + service_available.cinder false + image_signature_verification.enforced False + image_signature_verification.certificate_validation False diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index a38e21d85..a00995539 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -12,3 +12,10 @@ - glance-operator-tempest: dependencies: - openstack-k8s-operators-content-provider + - glance-s2i-content-provider: + voting: false + - glance-s2i-tempest-swift: + voting: false + dependencies: + - openstack-k8s-operators-content-provider + - glance-s2i-content-provider