From 2b556893be485129fc5887694d763b02f3fc81d5 Mon Sep 17 00:00:00 2001 From: Daniel Pawlik Date: Wed, 3 Jul 2024 13:31:31 +0200 Subject: [PATCH] DNM Checking CRC Cloud with image based on OCP 4.16 rc4 This is early test PR that uses new way for deploying the CRC - crc-cloud [1] and image that is base on OCP 4.16 rc4 with small modifications [2]. In the future, that image would be created by the nodepool-builder, but right now it is just a PoC (Proof of concept). Also is worth to mention, that the base job includes few workarounds until the PR in the official projects are not merged [3][4][5] [1] https://github.com/crc-org/crc-cloud [2] https://softwarefactory-project.io/r/c/software-factory/sf-infra/+/31853 [3] https://github.com/crc-org/crc-cloud/pull/188 [4] https://github.com/crc-org/crc-cloud/pull/189 [5] https://github.com/crc-org/crc-cloud/pull/190 --- zuul.d/base.yaml | 85 +++++++++++++++++++++++++++++++++++++++++++++ zuul.d/nodeset.yaml | 17 +++++++++ 2 files changed, 102 insertions(+) diff --git a/zuul.d/base.yaml b/zuul.d/base.yaml index fe28c1457a..d1419978a4 100644 --- a/zuul.d/base.yaml +++ b/zuul.d/base.yaml @@ -308,3 +308,88 @@ - ci/playbooks/e2e-prepare.yml - ci/playbooks/dump_zuul_data.yml - ci/playbooks/pre-ci-bootstrap.yml + +- job: + name: cifmw-podified-multinode-edpm-base-crc-cloud + parent: base-crc-cloud + timeout: 10800 + attempts: 1 + nodeset: centos-9-medium-centos-9-crc-cloud-ocp-4-16-rc4-3xl + irrelevant-files: *ir_files + required-projects: &multinode_edpm_rp + - openstack-k8s-operators/ci-framework + - openstack-k8s-operators/dataplane-operator + - openstack-k8s-operators/install_yamls + - openstack-k8s-operators/infra-operator + - openstack-k8s-operators/openstack-baremetal-operator + - openstack-k8s-operators/openstack-must-gather + - openstack-k8s-operators/openstack-operator + - openstack-k8s-operators/repo-setup + - openstack-k8s-operators/edpm-ansible + roles: &multinode_edpm_roles + - zuul: github.com/openstack-k8s-operators/ci-framework + pre-run: &multinode_edpm_pre_run + - ci/playbooks/multinode-customizations.yml + - ci/playbooks/e2e-prepare.yml + - ci/playbooks/dump_zuul_data.yml + post-run: &multinode_edpm_post_run + - ci/playbooks/e2e-collect-logs.yml + - ci/playbooks/collect-logs.yml + - ci/playbooks/multinode-autohold.yml + vars: &multinode_edpm_vars + zuul_log_collection: true + registry_login_enabled: true + push_registry: quay.rdoproject.org + quay_login_secret_name: quay_nextgen_zuulgithubci + cifmw_artifacts_crc_sshkey: "~/.ssh/id_cifw" + cifmw_openshift_user: kubeadmin + cifmw_openshift_password: "123456789" + cifmw_openshift_api: api.crc.testing:6443 + cifmw_openshift_kubeconfig: "{{ ansible_user_dir }}/.crc/machines/crc/kubeconfig" + cifmw_openshift_skip_tls_verify: true + cifmw_use_libvirt: false + cifmw_zuul_target_host: controller + crc_ci_bootstrap_cloud_name: "{{ nodepool.cloud | replace('-nodepool-tripleo','') }}" + crc_ci_bootstrap_networking: + networks: + default: + mtu: "{{ ('ibm' in nodepool.cloud) | ternary('1440', '1500') }}" + router_net: "{{ ('ibm' in nodepool.cloud) | ternary('hostonly', 'public') }}" + range: 192.168.122.0/24 + internal-api: + vlan: 20 + range: 172.17.0.0/24 + storage: + vlan: 21 + range: 172.18.0.0/24 + tenant: + vlan: 22 + range: 172.19.0.0/24 + instances: + controller: + networks: + default: + ip: 192.168.122.11 + crc: + networks: + default: + ip: 192.168.122.10 + internal-api: + ip: 172.17.0.5 + storage: + ip: 172.18.0.5 + tenant: + ip: 172.19.0.5 + compute-0: + networks: + default: + ip: 192.168.122.100 + internal-api: + ip: 172.17.0.100 + config_nm: false + storage: + ip: 172.18.0.100 + config_nm: false + tenant: + ip: 172.19.0.100 + config_nm: false diff --git a/zuul.d/nodeset.yaml b/zuul.d/nodeset.yaml index 4845365a1a..3924cb0597 100644 --- a/zuul.d/nodeset.yaml +++ b/zuul.d/nodeset.yaml @@ -360,3 +360,20 @@ nodes: - name: controller label: centos-9-stream-crc-2-36-0-xl + +- nodeset: + name: centos-9-medium-centos-9-crc-cloud-ocp-4-16-rc4-3xl + nodes: + - name: controller + label: cloud-centos-9-stream-tripleo-medium + - name: compute-0 + label: cloud-centos-9-stream-tripleo + - name: crc + label: crc-cloud-ocp-4-16-0-rc4-3xl + groups: + - name: computes + nodes: + - compute-0 + - name: ocps + nodes: + - crc