Skip to content

Commit

Permalink
wmco: Reduce replicas count for vSphere tests
Browse files Browse the repository at this point in the history
This commit leverage the environment variables of the
ipi-conf workflow to set the control-plane and compute
replicas to 1 in all release branches so that the
test cluster runs with minimal resources to test
Windows workloads.
  • Loading branch information
jrvaldes committed Jan 4, 2025
1 parent 507c51a commit 222a735
Show file tree
Hide file tree
Showing 10 changed files with 123 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ tests:
as: vsphere-disconnected-e2e-operator
steps:
cluster_profile: vsphere-dis-2
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
leases:
- env: VSPHERE_BASTION_LEASED_RESOURCE
resource_type: vsphere-connected-2-quota-slice
Expand Down Expand Up @@ -139,13 +142,19 @@ tests:
as: vsphere-e2e-operator
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
- as: vsphere-e2e-ccm-install
cron: 0 9 * * 1
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: openshift-e2e-vsphere-ccm-ovn-hybrid-install
Expand Down Expand Up @@ -238,13 +247,19 @@ tests:
as: platform-none-vsphere-e2e-operator
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
- always_run: false
as: vsphere-proxy-e2e-operator
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port-proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
Expand Down Expand Up @@ -223,6 +226,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
Expand Down Expand Up @@ -215,6 +218,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,19 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
- as: vsphere-e2e-ccm-install
cron: 36 4 7 * *
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: openshift-e2e-vsphere-ccm-ovn-hybrid-install
Expand All @@ -137,6 +143,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- as: install
cli: latest
Expand Down Expand Up @@ -222,6 +231,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
Expand All @@ -230,6 +242,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port-proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,19 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
- as: vsphere-e2e-ccm-install
cron: 0 9 * * 1
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: openshift-e2e-vsphere-ccm-ovn-hybrid-install
Expand Down Expand Up @@ -222,6 +228,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
Expand All @@ -230,6 +239,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port-proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-dis-2
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
leases:
- env: VSPHERE_BASTION_LEASED_RESOURCE
resource_type: vsphere-connected-2-quota-slice
Expand Down Expand Up @@ -132,13 +135,19 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
- as: vsphere-e2e-ccm-install
cron: 29 8 6,27 * *
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: openshift-e2e-vsphere-ccm-ovn-hybrid-install
Expand Down Expand Up @@ -233,6 +242,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
Expand All @@ -241,6 +253,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port-proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-dis-2
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
leases:
- env: VSPHERE_BASTION_LEASED_RESOURCE
resource_type: vsphere-connected-2-quota-slice
Expand Down Expand Up @@ -132,13 +135,19 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
- as: vsphere-e2e-ccm-install
cron: 0 9 * * 1
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: openshift-e2e-vsphere-ccm-ovn-hybrid-install
Expand Down Expand Up @@ -233,6 +242,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
Expand All @@ -241,6 +253,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port-proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-dis-2
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
leases:
- env: VSPHERE_BASTION_LEASED_RESOURCE
resource_type: vsphere-connected-2-quota-slice
Expand Down Expand Up @@ -132,13 +135,19 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
- as: vsphere-e2e-ccm-install
cron: 0 9 * * 1
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: openshift-e2e-vsphere-ccm-ovn-hybrid-install
Expand Down Expand Up @@ -233,6 +242,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
Expand All @@ -241,6 +253,9 @@ tests:
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE)$
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port-proxy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ tests:
as: vsphere-disconnected-e2e-operator
steps:
cluster_profile: vsphere-dis-2
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
leases:
- env: VSPHERE_BASTION_LEASED_RESOURCE
resource_type: vsphere-connected-2-quota-slice
Expand Down Expand Up @@ -140,6 +143,9 @@ tests:
as: vsphere-e2e-operator
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port
Expand Down Expand Up @@ -232,13 +238,19 @@ tests:
as: platform-none-vsphere-e2e-operator
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test-byoh
workflow: windows-e2e-operator-test-platform-none-vsphere
- always_run: false
as: vsphere-proxy-e2e-operator
steps:
cluster_profile: vsphere-elastic
env:
COMPUTE_NODE_REPLICAS: "1"
CONTROL_PLANE_REPLICAS: "1"
test:
- ref: windows-e2e-operator-test
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port-proxy
Expand Down
Loading

0 comments on commit 222a735

Please sign in to comment.