From 9df5ec251a199bf502c3c66a03691f1db71bd5f4 Mon Sep 17 00:00:00 2001 From: Chandan Kumar Date: Tue, 18 Jun 2024 12:45:42 +0530 Subject: [PATCH] Replace tcib base with meta content provider https://github.com/openstack-k8s-operators/ci-framework/pull/1892 adds Meta content provider job to test opendev and github changes together. This pr replaces tcib content provider with meta content provider allowing users to test the content from different sources. Signed-off-by: Chandan Kumar --- zuul.d/job.yaml | 31 ++++++++++++------------------- zuul.d/projects.yaml | 24 +++++++++++++++++++----- 2 files changed, 31 insertions(+), 24 deletions(-) diff --git a/zuul.d/job.yaml b/zuul.d/job.yaml index c6d96abb..3c3c1e4a 100644 --- a/zuul.d/job.yaml +++ b/zuul.d/job.yaml @@ -1,12 +1,10 @@ --- - job: - name: tcib-build-containers - parent: cifmw-tcib-base - nodeset: centos-stream-9-vexxhost - vars: - cifmw_build_containers_registry_namespace: podified-antelope-centos9 - cifmw_build_containers_image_tag: "{{ cifmw_repo_setup_full_hash }}" - irrelevant-files: &if + name: tcib-podified-multinode-edpm-deployment-crc + parent: podified-multinode-edpm-deployment-crc + dependencies: + - openstack-meta-content-provider + irrelevant-files: &irrelevant_files - HACKING.rst - AUTHORS - .gitignore @@ -20,29 +18,24 @@ - .coveragerc - LICENSE - OWNERS* - -- job: - name: tcib-podified-multinode-edpm-deployment-crc - parent: podified-multinode-edpm-deployment-crc - irrelevant-files: *if vars: &edpm_vars - cifmw_update_containers_registry: "{{ content_provider_registry_ip }}:5001" - cifmw_update_containers_org: "podified-antelope-centos9" - cifmw_update_containers_tag: "{{ content_provider_dlrn_md5_hash }}" - cifmw_update_containers_openstack: true cifmw_run_test_role: test_operator cifmw_run_tempest: true - cifmw_test_operator_tempest_registry: "{{ content_provider_registry_ip }}:5001" + cifmw_test_operator_tempest_registry: "{{ content_provider_os_registry_url | split('/') | first }}" + cifmw_test_operator_tempest_namespace: "{{ content_provider_os_registry_url | split('/') | last }}" cifmw_test_operator_tempest_image_tag: "{{ content_provider_dlrn_md5_hash }}" cifmw_test_operator_tempest_include_list: | tempest.scenario.test_network_basic_ops.TestNetworkBasicOps cifmw_run_tobiko: true - cifmw_test_operator_tobiko_registry: "{{ content_provider_registry_ip }}:5001" + cifmw_test_operator_tobiko_registry: "{{ cifmw_test_operator_tempest_registry }}" + cifmw_test_operator_tobiko_namespace: "{{ cifmw_test_operator_tempest_namespace }}" cifmw_test_operator_tobiko_image_tag: "{{ content_provider_dlrn_md5_hash }}" cifmw_test_operator_tobiko_testenv: "sanity" - job: name: tcib-crc-podified-edpm-baremetal parent: cifmw-crc-podified-edpm-baremetal - irrelevant-files: *if + dependencies: + - openstack-meta-content-provider + irrelevant-files: *irrelevant_files vars: *edpm_vars diff --git a/zuul.d/projects.yaml b/zuul.d/projects.yaml index 0ff019be..7f527411 100644 --- a/zuul.d/projects.yaml +++ b/zuul.d/projects.yaml @@ -3,8 +3,22 @@ name: openstack-k8s-operators/tcib github-check: jobs: - - tcib-build-containers - - tcib-crc-podified-edpm-baremetal: &content_provider - dependencies: - - tcib-build-containers - - tcib-podified-multinode-edpm-deployment-crc: *content_provider + - openstack-meta-content-provider: + irrelevant-files: &if + - HACKING.rst + - AUTHORS + - .gitignore + - ^README.md$ + - .*/*.md + - .ci-operator.yaml + - .pre-commit-config.yaml + - .pylintrc + - .stestr.conf + - .github/workflows + - .coveragerc + - LICENSE + - OWNERS* + - tcib-crc-podified-edpm-baremetal: + irrelevant-files: *if + - tcib-podified-multinode-edpm-deployment-crc: + irrelevant-files: *if