Skip to content

Commit

Permalink
kOps: migrate specific scenarios to community infra
Browse files Browse the repository at this point in the history
Related to:
  - kubernetes/k8s.io#5127

Moving specific scenarios to k8s-infra-kops-prow-build

Signed-off-by: Arnaud Meukam <ameukam@gmail.com>
  • Loading branch information
ameukam committed Mar 7, 2024
1 parent e8b188e commit ea2af16
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 26 deletions.
43 changes: 43 additions & 0 deletions config/jobs/kubernetes/kops/build_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,7 @@ def generate_misc():
build_test(name_override="kops-scenario-gcr-mirror",
runs_per_day=24,
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
# Latest runs with a staging AWS CCM, not available in registry.k8s.io
k8s_version='1.28',
extra_dashboards=['kops-misc']),
Expand All @@ -502,6 +503,7 @@ def generate_misc():
build_test(name_override="kops-artifacts-sandbox",
runs_per_day=3,
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
k8s_version='stable',
extra_dashboards=['kops-misc'],
scenario='smoketest',
Expand All @@ -516,6 +518,7 @@ def generate_misc():
# Test Cilium against ci k8s test suite
build_test(name_override="kops-aws-cni-cilium-k8s-ci",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="ci",
networking="cilium",
Expand Down Expand Up @@ -545,6 +548,7 @@ def generate_misc():
# A special test for Calico CNI on Flatcar
build_test(name_override="kops-aws-cni-calico-flatcar",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="flatcararm64",
k8s_version="stable",
networking="calico",
Expand All @@ -554,6 +558,7 @@ def generate_misc():
# A special test for IPv6 using Calico CNI
build_test(name_override="kops-aws-cni-calico-ipv6",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
networking="calico",
Expand All @@ -568,6 +573,7 @@ def generate_misc():
# A special test for IPv6 using Cilium CNI
build_test(name_override="kops-aws-cni-cilium-ipv6",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
networking="cilium",
Expand All @@ -582,6 +588,7 @@ def generate_misc():
# A special test for IPv6 on Flatcar
build_test(name_override="kops-aws-ipv6-flatcar",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="flatcararm64",
k8s_version="stable",
runs_per_day=3,
Expand All @@ -594,6 +601,7 @@ def generate_misc():
# A special test for IPv6 using Calico on Flatcar
build_test(name_override="kops-aws-cni-calico-ipv6-flatcar",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="flatcararm64",
k8s_version="stable",
networking="calico",
Expand All @@ -608,6 +616,7 @@ def generate_misc():
# A special test for disabling IRSA
build_test(name_override="kops-scenario-no-irsa",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
runs_per_day=3,
Expand All @@ -618,6 +627,8 @@ def generate_misc():

# A special test for warm pool
build_test(name_override="kops-warm-pool",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
runs_per_day=3,
Expand All @@ -630,6 +641,7 @@ def generate_misc():
# A special test for private topology
build_test(name_override="kops-aws-private",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
runs_per_day=3,
Expand All @@ -640,6 +652,8 @@ def generate_misc():
extra_dashboards=['kops-misc']),

build_test(name_override="kops-scenario-terraform",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
runs_per_day=1,
Expand All @@ -650,6 +664,8 @@ def generate_misc():
],
extra_dashboards=['kops-misc']),
build_test(name_override="kops-scenario-ipv6-terraform",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
runs_per_day=1,
Expand All @@ -664,6 +680,8 @@ def generate_misc():
extra_dashboards=['kops-misc', 'kops-ipv6']),

build_test(name_override="kops-aws-ha-euwest1",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
networking="calico",
Expand All @@ -676,6 +694,8 @@ def generate_misc():
extra_dashboards=["kops-misc"]),

build_test(name_override="kops-aws-arm64-release",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
k8s_version="latest",
distro="u2204arm64",
networking="calico",
Expand All @@ -687,6 +707,8 @@ def generate_misc():
extra_dashboards=["kops-misc"]),

build_test(name_override="kops-aws-arm64-ci",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
k8s_version="ci",
distro="u2204arm64",
networking="calico",
Expand All @@ -698,6 +720,8 @@ def generate_misc():
extra_dashboards=["kops-misc"]),

build_test(name_override="kops-aws-arm64-conformance",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
k8s_version="ci",
distro="u2204arm64",
networking="calico",
Expand All @@ -711,6 +735,8 @@ def generate_misc():
extra_dashboards=["kops-misc"]),

build_test(name_override="kops-aws-amd64-conformance",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
k8s_version="ci",
distro='u2204',
networking="calico",
Expand All @@ -723,6 +749,7 @@ def generate_misc():
extra_dashboards=["kops-misc"]),

build_test(name_override="kops-aws-updown",
build_cluster="k8s-infra-kops-prow-build",
k8s_version="stable",
distro="u2204arm64",
networking="calico",
Expand All @@ -735,6 +762,7 @@ def generate_misc():

build_test(name_override="kops-aws-aws-load-balancer-controller",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
networking="cilium",
kops_channel="alpha",
k8s_version="stable",
Expand All @@ -744,6 +772,7 @@ def generate_misc():

build_test(name_override="kops-aws-keypair-rotation-ha",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
kops_channel="alpha",
k8s_version="stable",
runs_per_day=1,
Expand All @@ -754,6 +783,7 @@ def generate_misc():

build_test(name_override="kops-aws-metrics-server",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
networking="cilium",
kops_channel="alpha",
k8s_version="stable",
Expand All @@ -763,6 +793,7 @@ def generate_misc():

build_test(name_override="kops-aws-pod-identity-webhook",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
networking="cilium",
kops_channel="alpha",
k8s_version="stable",
Expand All @@ -781,6 +812,7 @@ def generate_misc():

build_test(name_override="kops-aws-external-dns",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
networking="cilium",
Expand All @@ -794,6 +826,7 @@ def generate_misc():

build_test(name_override="kops-aws-ipv6-external-dns",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
networking="cilium",
Expand All @@ -809,6 +842,7 @@ def generate_misc():

build_test(name_override="kops-aws-apiserver-nodes",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
runs_per_day=3,
Expand All @@ -817,6 +851,8 @@ def generate_misc():
feature_flags=['APIServerNodes']),

build_test(name_override="kops-aws-karpenter",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
networking="cilium",
Expand All @@ -831,6 +867,8 @@ def generate_misc():
skip_regex=r'\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|HostPort|two.untainted.nodes'), # pylint: disable=line-too-long

build_test(name_override="kops-aws-ipv6-karpenter",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="u2204arm64",
k8s_version="stable",
networking="cilium",
Expand All @@ -851,6 +889,7 @@ def generate_misc():
# https://github.com/kubernetes/kubernetes/issues/123255
build_test(name_override="kops-aws-k28-hostname-bug123255",
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="al2023",
k8s_version="1.28",
networking="cilium",
Expand All @@ -863,6 +902,8 @@ def generate_misc():
# Test the latest kops and CI build of Kubernetes (=almost master).
build_test(name_override="kops-aws-selinux",
# RHEL8 VM image is enforcing SELinux by default.
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="rhel8",
networking="cilium",
k8s_version="ci",
Expand Down Expand Up @@ -893,6 +934,8 @@ def generate_misc():
# This will need to merge with kops-aws-selinux when SELinuxMount gets enabled by default.
build_test(name_override="kops-aws-selinux-alpha",
# RHEL8 VM image is enforcing SELinux by default.
cloud="aws",
build_cluster="k8s-infra-kops-prow-build",
distro="rhel8",
networking="cilium",
k8s_version="ci",
Expand Down

0 comments on commit ea2af16

Please sign in to comment.