diff --git a/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml b/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml index a6189cd649e50..79c9707ea2b4f 100644 --- a/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml +++ b/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19__amd64-nightly.yaml @@ -2029,6 +2029,26 @@ tests: test: - chain: openshift-e2e-test-qe-destructive workflow: cucushift-installer-rehearse-azure-stack-upi +- as: baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + capabilities: + - intranet + cron: 23 22 7,23 * * + steps: + cluster_profile: equinix-ocp-hcp + env: + DEVSCRIPTS_CONFIG: | + IP_STACK=v4v6 + NETWORK_TYPE=OVNKubernetes + NUM_WORKERS=3 + WORKER_VCPU=32 + WORKER_MEMORY=65536 + VM_EXTRADISKS=true + VM_EXTRADISKS_LIST="vda vdb" + VM_EXTRADISKS_SIZE=256G + HYPERSHIFT_NODE_COUNT: "1" + HYPERSHIFT_NODE_MEMORY: "16" + IP_STACK: v4v6 + workflow: cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift - as: baremetalds-ipi-ovn-lvms-f14 capabilities: - intranet diff --git a/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__amd64-nightly.yaml b/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__amd64-nightly.yaml index 0f7efcdd8b21f..2fd6dca562381 100644 --- a/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__amd64-nightly.yaml +++ b/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20__amd64-nightly.yaml @@ -2227,6 +2227,26 @@ tests: test: - chain: openshift-e2e-test-qe-destructive workflow: cucushift-installer-rehearse-azure-stack-upi +- as: baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + capabilities: + - intranet + cron: 23 22 7,23 * * + steps: + cluster_profile: equinix-ocp-hcp + env: + DEVSCRIPTS_CONFIG: | + IP_STACK=v4v6 + NETWORK_TYPE=OVNKubernetes + NUM_WORKERS=3 + WORKER_VCPU=32 + WORKER_MEMORY=65536 + VM_EXTRADISKS=true + VM_EXTRADISKS_LIST="vda vdb" + VM_EXTRADISKS_SIZE=256G + HYPERSHIFT_NODE_COUNT: "1" + HYPERSHIFT_NODE_MEMORY: "16" + IP_STACK: v4v6 + workflow: cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift - as: baremetalds-ipi-ovn-lvms-f14 capabilities: - intranet diff --git a/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.21__amd64-nightly.yaml b/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.21__amd64-nightly.yaml index cdc74ec0b378d..68c6f29211fed 100644 --- a/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.21__amd64-nightly.yaml +++ b/ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.21__amd64-nightly.yaml @@ -2446,6 +2446,26 @@ tests: test: - chain: openshift-e2e-test-qe-destructive workflow: cucushift-installer-rehearse-azure-stack-upi +- as: baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + capabilities: + - intranet + cron: 23 22 7,23 * * + steps: + cluster_profile: equinix-ocp-hcp + env: + DEVSCRIPTS_CONFIG: | + IP_STACK=v4v6 + NETWORK_TYPE=OVNKubernetes + NUM_WORKERS=3 + WORKER_VCPU=32 + WORKER_MEMORY=65536 + VM_EXTRADISKS=true + VM_EXTRADISKS_LIST="vda vdb" + VM_EXTRADISKS_SIZE=256G + HYPERSHIFT_NODE_COUNT: "1" + HYPERSHIFT_NODE_MEMORY: "16" + IP_STACK: v4v6 + workflow: cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift - as: baremetalds-ipi-ovn-lvms-f14 capabilities: - intranet diff --git a/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19-periodics.yaml b/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19-periodics.yaml index da0b445b33402..87d0cbded12e0 100644 --- a/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19-periodics.yaml +++ b/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.19-periodics.yaml @@ -28168,6 +28168,89 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build05 + cron: 23 22 7,23 * * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.19 + org: openshift + repo: openshift-tests-private + labels: + capability/intranet: intranet + ci-operator.openshift.io/cloud: equinix-ocp-metal + ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-hcp + ci-operator.openshift.io/variant: amd64-nightly + ci.openshift.io/generator: prowgen + job-release: "4.19" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --oauth-token-path=/usr/local/github-credentials/oauth + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + - --variant=amd64-nightly + command: + - ci-operator + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /usr/local/github-credentials + name: github-credentials-openshift-ci-robot-private-git-cloner + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: github-credentials-openshift-ci-robot-private-git-cloner + secret: + secretName: github-credentials-openshift-ci-robot-private-git-cloner + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator - agent: kubernetes cluster: build05 cron: 7 13 11,27 * * diff --git a/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20-periodics.yaml b/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20-periodics.yaml index 6adca529a3725..ac3b80390871b 100644 --- a/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20-periodics.yaml +++ b/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.20-periodics.yaml @@ -29039,6 +29039,89 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build05 + cron: 23 22 7,23 * * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.20 + org: openshift + repo: openshift-tests-private + labels: + capability/intranet: intranet + ci-operator.openshift.io/cloud: equinix-ocp-metal + ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-hcp + ci-operator.openshift.io/variant: amd64-nightly + ci.openshift.io/generator: prowgen + job-release: "4.20" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-openshift-tests-private-release-4.20-amd64-nightly-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --oauth-token-path=/usr/local/github-credentials/oauth + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + - --variant=amd64-nightly + command: + - ci-operator + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /usr/local/github-credentials + name: github-credentials-openshift-ci-robot-private-git-cloner + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: github-credentials-openshift-ci-robot-private-git-cloner + secret: + secretName: github-credentials-openshift-ci-robot-private-git-cloner + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator - agent: kubernetes cluster: build05 cron: 45 14 12 * * diff --git a/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.21-periodics.yaml b/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.21-periodics.yaml index e0291ff26262d..b8b51be93169b 100644 --- a/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.21-periodics.yaml +++ b/ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.21-periodics.yaml @@ -32629,6 +32629,89 @@ periodics: - name: result-aggregator secret: secretName: result-aggregator +- agent: kubernetes + cluster: build05 + cron: 23 22 7,23 * * + decorate: true + decoration_config: + skip_cloning: true + extra_refs: + - base_ref: release-4.21 + org: openshift + repo: openshift-tests-private + labels: + capability/intranet: intranet + ci-operator.openshift.io/cloud: equinix-ocp-metal + ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-hcp + ci-operator.openshift.io/variant: amd64-nightly + ci.openshift.io/generator: prowgen + job-release: "4.21" + pj-rehearse.openshift.io/can-be-rehearsed: "true" + name: periodic-ci-openshift-openshift-tests-private-release-4.21-amd64-nightly-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + spec: + containers: + - args: + - --gcs-upload-secret=/secrets/gcs/service-account.json + - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson + - --lease-server-credentials-file=/etc/boskos/credentials + - --oauth-token-path=/usr/local/github-credentials/oauth + - --report-credentials-file=/etc/report/credentials + - --secret-dir=/secrets/ci-pull-credentials + - --target=baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-f14 + - --variant=amd64-nightly + command: + - ci-operator + image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest + imagePullPolicy: Always + name: "" + resources: + requests: + cpu: 10m + volumeMounts: + - mountPath: /etc/boskos + name: boskos + readOnly: true + - mountPath: /secrets/ci-pull-credentials + name: ci-pull-credentials + readOnly: true + - mountPath: /secrets/gcs + name: gcs-credentials + readOnly: true + - mountPath: /usr/local/github-credentials + name: github-credentials-openshift-ci-robot-private-git-cloner + readOnly: true + - mountPath: /secrets/manifest-tool + name: manifest-tool-local-pusher + readOnly: true + - mountPath: /etc/pull-secret + name: pull-secret + readOnly: true + - mountPath: /etc/report + name: result-aggregator + readOnly: true + serviceAccountName: ci-operator + volumes: + - name: boskos + secret: + items: + - key: credentials + path: credentials + secretName: boskos-credentials + - name: ci-pull-credentials + secret: + secretName: ci-pull-credentials + - name: github-credentials-openshift-ci-robot-private-git-cloner + secret: + secretName: github-credentials-openshift-ci-robot-private-git-cloner + - name: manifest-tool-local-pusher + secret: + secretName: manifest-tool-local-pusher + - name: pull-secret + secret: + secretName: registry-pull-credentials + - name: result-aggregator + secret: + secretName: result-aggregator - agent: kubernetes cluster: build05 cron: 49 6 1 * * diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/OWNERS b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/OWNERS new file mode 100644 index 0000000000000..5f62ae6d3695f --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/OWNERS @@ -0,0 +1,14 @@ +approvers: +- LiangquanLi930 +- heliubj18 +- gaol +- jimma +- xiuwang +- zhfeng +reviewers: +- LiangquanLi930 +- heliubj18 +- gaol +- jimma +- xiuwang +- zhfeng \ No newline at end of file diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-workflow.metadata.json b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-workflow.metadata.json new file mode 100644 index 0000000000000..c3b52ebf36a5d --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-workflow.metadata.json @@ -0,0 +1,21 @@ +{ + "path": "cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-workflow.yaml", + "owners": { + "approvers": [ + "LiangquanLi930", + "heliubj18", + "gaol", + "jimma", + "xiuwang", + "zhfeng" + ], + "reviewers": [ + "LiangquanLi930", + "heliubj18", + "gaol", + "jimma", + "xiuwang", + "zhfeng" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-workflow.yaml b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-workflow.yaml new file mode 100644 index 0000000000000..0763c6cbc4966 --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-workflow.yaml @@ -0,0 +1,38 @@ +workflow: + as: cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift + steps: + pre: + - chain: cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision + - ref: cucushift-installer-reportportal-marker + post: + - chain: cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision + - ref: send-results-to-reportportal + env: + CLUSTERTYPE: host_384gb_el9 + METALLB_OPERATOR_SUB_SOURCE: redhat-operators-v4-20 + LOCAL_STORAGE_OPERATOR_SUB_SOURCE: redhat-operators-v4-20 + REDHAT_OPERATORS_INDEX_TAG: v4.20 + LVM_OPERATOR_SUB_SOURCE: lvm-catalogsource + LVM_SUB_TARGET_NAMESPACES: openshift-lvm-storage + LVM_OPERATOR_SUB_INSTALL_NAMESPACE: openshift-lvm-storage + ETCD_STORAGE_CLASS: lvms-vg1 + ENABLE_ICSP: "true" + ODF_OPERATOR_SUB_CHANNEL: stable-4.20 + ODF_OPERATOR_SUB_SOURCE: redhat-operators-v4-20 + DEVSCRIPTS_CONFIG: | + IP_STACK=v4v6 + NETWORK_TYPE=OVNKubernetes + NUM_WORKERS=4 + WORKER_VCPU=16 + WORKER_MEMORY=65536 + VM_EXTRADISKS=true + VM_EXTRADISKS_LIST=vda + VM_EXTRADISKS_SIZE=1024G + EXTRA_NETWORK_CONFIG: | + EXTRA_NETWORK_NAMES="nmstate1 nmstate2" + NMSTATE1_NETWORK_SUBNET_V4="192.168.221.0/24" + NMSTATE1_NETWORK_SUBNET_V6="fd2e:6f44:5dd8:ca56::/120" + NMSTATE2_NETWORK_SUBNET_V4="192.168.222.0/24" + NMSTATE2_NETWORK_SUBNET_V6="fd2e:6f44:5dd8:cc56::/120" + documentation: |- + This is the workflow to trigger Prow's rehearsal test when submitting installer steps/chain/workflow diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/OWNERS b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/OWNERS new file mode 100644 index 0000000000000..027adf5dc0d32 --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/OWNERS @@ -0,0 +1,14 @@ +approvers: +- LiangquanLi930 +- heliubj18 +- gaol +- jimma +- xiuwang +- zhfeng +reviewers: +- LiangquanLi930 +- heliubj18 +- gaol +- jimma +- xiuwang +- zhfeng diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision-chain.metadata.json b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision-chain.metadata.json new file mode 100644 index 0000000000000..76c6e5dd6c401 --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision-chain.metadata.json @@ -0,0 +1,21 @@ +{ + "path": "cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision-chain.yaml", + "owners": { + "approvers": [ + "LiangquanLi930", + "heliubj18", + "gaol", + "jimma", + "xiuwang", + "zhfeng" + ], + "reviewers": [ + "LiangquanLi930", + "heliubj18", + "gaol", + "jimma", + "xiuwang", + "zhfeng" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision-chain.yaml b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision-chain.yaml new file mode 100644 index 0000000000000..8efbcde6004c6 --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/deprovision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision-chain.yaml @@ -0,0 +1,8 @@ +chain: + as: cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-deprovision + steps: + - chain: hypershift-dump + - chain: hypershift-kubevirt-destroy + - chain: cucushift-installer-rehearse-baremetalds-ipi-ofcir-deprovision + documentation: |- + Destroy cluster diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/OWNERS b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/OWNERS new file mode 100644 index 0000000000000..027adf5dc0d32 --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/OWNERS @@ -0,0 +1,14 @@ +approvers: +- LiangquanLi930 +- heliubj18 +- gaol +- jimma +- xiuwang +- zhfeng +reviewers: +- LiangquanLi930 +- heliubj18 +- gaol +- jimma +- xiuwang +- zhfeng diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision-chain.metadata.json b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision-chain.metadata.json new file mode 100644 index 0000000000000..ae9129bb4691d --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision-chain.metadata.json @@ -0,0 +1,21 @@ +{ + "path": "cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision-chain.yaml", + "owners": { + "approvers": [ + "LiangquanLi930", + "heliubj18", + "gaol", + "jimma", + "xiuwang", + "zhfeng" + ], + "reviewers": [ + "LiangquanLi930", + "heliubj18", + "gaol", + "jimma", + "xiuwang", + "zhfeng" + ] + } +} \ No newline at end of file diff --git a/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision-chain.yaml b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision-chain.yaml new file mode 100644 index 0000000000000..1c729b3d2b239 --- /dev/null +++ b/ci-operator/step-registry/cucushift/installer/rehearse/baremetalds/ipi/ovn/dualstack/kubevirt/hypershift/provision/cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision-chain.yaml @@ -0,0 +1,16 @@ +chain: + as: cucushift-installer-rehearse-baremetalds-ipi-ovn-dualstack-kubevirt-hypershift-provision + steps: + - ref: baremetalds-devscripts-conf-extranetwork + - chain: cucushift-installer-rehearse-baremetalds-ipi-ovn-ipv4-kubevirt-provision + - chain: hypershift-kubevirt-baremetalds-lvm + - chain: hypershift-kubevirt-baremetalds-odf + - chain: hypershift-kubevirt-baremetalds-metallb + - ref: hypershift-install + - ref: hypershift-agent-create-config-dns + - ref: hypershift-kubevirt-create + - ref: hypershift-kubevirt-baremetalds-proxy + - ref: hypershift-kubevirt-health-check + + documentation: |- + Create an IPI cluster on BM with KubeVirt-HostedCluster for QE e2e tests. diff --git a/ci-operator/step-registry/hypershift/kubevirt/baremetalds/metallb/hypershift-kubevirt-baremetalds-metallb-commands.sh b/ci-operator/step-registry/hypershift/kubevirt/baremetalds/metallb/hypershift-kubevirt-baremetalds-metallb-commands.sh index 6921b0afe9454..e9ccbebbef748 100644 --- a/ci-operator/step-registry/hypershift/kubevirt/baremetalds/metallb/hypershift-kubevirt-baremetalds-metallb-commands.sh +++ b/ci-operator/step-registry/hypershift/kubevirt/baremetalds/metallb/hypershift-kubevirt-baremetalds-metallb-commands.sh @@ -5,6 +5,14 @@ set -o errexit set -o pipefail set -x +# Source ds-vars.conf if available to get IP_STACK from management cluster +IP_STACK=${IP_STACK:-v4} +if [ -f "${SHARED_DIR}/ds-vars.conf" ]; then + # shellcheck source=/dev/null + source "${SHARED_DIR}/ds-vars.conf" + IP_STACK=${DS_IP_STACK:-v4} +fi + oc create -f - < "${SHARED_DIR}/hypershift_create_cluster_render.yaml" + ${RENDER_COMMAND} > "${SHARED_DIR}/hypershift_create_cluster_render.yaml" oc apply -f "${SHARED_DIR}/hypershift_create_cluster_render.yaml" else @@ -210,16 +227,12 @@ else --pull-secret ${PULL_SECRET_PATH} \ --generate-ssh \ --control-plane-availability-policy ${CONTROL_PLANE_AVAILABILITY} \ - --infra-availability-policy ${INFRA_AVAILABILITY} \ - --service-cidr 172.32.0.0/16 \ - --cluster-cidr 10.136.0.0/14 $(support_np_skew)" + --infra-availability-policy ${INFRA_AVAILABILITY} $(support_np_skew)" fi - - echo "Waiting for cluster to become available" oc wait --timeout=30m --for=condition=Available --namespace=${CLUSTER_NAMESPACE_PREFIX} "hostedcluster/${CLUSTER_NAME}" echo "Cluster became available, creating kubeconfig" $HCP_CLI create kubeconfig --namespace="${CLUSTER_NAMESPACE_PREFIX}" --name="${CLUSTER_NAME}" >"${SHARED_DIR}/nested_kubeconfig" -echo "${CLUSTER_NAME}" > "${SHARED_DIR}/cluster-name" +echo "${CLUSTER_NAME}" > "${SHARED_DIR}/cluster-name" \ No newline at end of file diff --git a/ci-operator/step-registry/hypershift/kubevirt/create/hypershift-kubevirt-create-ref.yaml b/ci-operator/step-registry/hypershift/kubevirt/create/hypershift-kubevirt-create-ref.yaml index b17500164451a..0baf6dd9cc88d 100644 --- a/ci-operator/step-registry/hypershift/kubevirt/create/hypershift-kubevirt-create-ref.yaml +++ b/ci-operator/step-registry/hypershift/kubevirt/create/hypershift-kubevirt-create-ref.yaml @@ -36,7 +36,7 @@ ref: - name: ATTACH_DEFAULT_NETWORK default: "" documentation: |- - if true, config additional network for hostedcluster and attach-default-network true; + if true, config additional network for hostedcluster and attach-default-network true; if false, config additional network for hostedcluster and attach-default-network false if the default empty string will skip all additional network config. - name: ETCD_STORAGE_CLASS @@ -61,6 +61,11 @@ ref: - name: EXTRA_ARGS default: "" documentation: "Extra args to pass to the create cluster kubevirt command" + - name: IP_STACK + default: v4 + documentation: |- + Configures the IP_STACK for the devscripts cluster. The possible values are v4, v6 or + v4v6 for dual stack. The default is v4. commands: hypershift-kubevirt-create-commands.sh resources: requests: