Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 71 additions & 0 deletions zuul.d/jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 7 additions & 0 deletions zuul.d/projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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