From 1f8f5164dc77ecb509141f1fa03909ca286e2b7a Mon Sep 17 00:00:00 2001 From: Zhecheng Li Date: Wed, 19 Jan 2022 17:26:33 +0800 Subject: [PATCH] Support pull-cloud-provider-azure-e2e tests on capz Signed-off-by: Zhecheng Li --- .../cloud-provider-azure-config.yaml | 51 ++++++++++++++++++ .../cloud-provider-azure-presubmit-0.7.yaml | 53 +++++++++++++++++++ .../cloud-provider-azure-presubmit-1.0.yaml | 53 +++++++++++++++++++ .../cloud-provider-azure-presubmit-1.1.yaml | 53 +++++++++++++++++++ .../cloud-provider-azure-presubmit-1.23.yaml | 53 +++++++++++++++++++ 5 files changed, 263 insertions(+) diff --git a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-config.yaml b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-config.yaml index 421dbcfe3832..6b5f3cf2eaa7 100644 --- a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-config.yaml +++ b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-config.yaml @@ -258,6 +258,57 @@ presubmits: testgrid-tab-name: pr-cloud-provider-azure-e2e-ccm-vmss description: "Runs Azure specific tests with cloud-provider-azure (https://github.com/kubernetes-sigs/cloud-provider-azure)." testgrid-num-columns-recent: '30' + - name: pull-cloud-provider-azure-e2e-capz + always_run: false + optional: true + decorate: true + decoration_config: + timeout: 5h + path_alias: sigs.k8s.io/cloud-provider-azure + branches: + - master + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + preset-azure-cred-only: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api-provider-azure + base_ref: release-1.0 + path_alias: sigs.k8s.io/cluster-api-provider-azure + workdir: true + - org: kubernetes + repo: kubernetes + base_ref: release-1.23 + path_alias: k8s.io/kubernetes + workdir: false + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211217-ea95cec1d4-1.23 + command: + - runner.sh + args: + - ./scripts/ci-entrypoint.sh + - bash + - -c + - >- + cp ./kubeconfig ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure/kubeconfig && + cd ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure && + make test-e2e-capz + securityContext: + privileged: true + env: + - name: TEST_CCM + value: "true" + - name: AZURE_LOADBALANCER_SKU + value: "standard" + - name: GINKGO_ARGS + value: --ginkgo.focus=\[Conformance\]|\[NodeConformance\] --ginkgo.skip=\[Slow\]|\[Serial\]|\[Flaky\] --test.parallel=30 + annotations: + testgrid-dashboards: provider-azure-cloud-provider-azure + testgrid-tab-name: pr-cloud-provider-azure-e2e-capz + description: "Runs Kubernetes conformance tests with cloud-provider-azure (https://github.com/kubernetes-sigs/cloud-provider-azure) using cluster-api-provider-azure." + testgrid-num-columns-recent: '30' - name: pull-cloud-provider-azure-e2e-ccm-capz always_run: true decorate: true diff --git a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-0.7.yaml b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-0.7.yaml index 09f8adcc86f6..46cca8529d5b 100644 --- a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-0.7.yaml +++ b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-0.7.yaml @@ -258,6 +258,59 @@ presubmits: testgrid-tab-name: pr-cloud-provider-azure-e2e-ccm-vmss-1-20 description: "Runs Azure specific tests with cloud-provider-azure release-0.7 (https://github.com/kubernetes-sigs/cloud-provider-azure)." testgrid-num-columns-recent: '30' + - name: pull-cloud-provider-azure-e2e-capz-1-20 + always_run: false + optional: true + decorate: true + decoration_config: + timeout: 5h + path_alias: sigs.k8s.io/cloud-provider-azure + branches: + - release-0.7 + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + preset-azure-cred-only: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api-provider-azure + base_ref: release-1.0 + path_alias: sigs.k8s.io/cluster-api-provider-azure + workdir: true + - org: kubernetes + repo: kubernetes + base_ref: release-1.20 + path_alias: k8s.io/kubernetes + workdir: false + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211208-9473f90198-1.20 + command: + - runner.sh + - ./scripts/ci-entrypoint.sh + args: + - bash + - -c + - >- + cp ./kubeconfig ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure/kubeconfig && + cd ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure && + make test-e2e-capz + securityContext: + privileged: true + env: + - name: TEST_CCM + value: "true" + - name: AZURE_LOADBALANCER_SKU + value: "standard" + - name: KUBERNETES_VERSION + value: 1.20.9 + - name: GINKGO_ARGS + value: --ginkgo.focus=\[Conformance\]|\[NodeConformance\] --ginkgo.skip=\[Slow\]|\[Serial\]|\[Flaky\] --test.parallel=30 + annotations: + testgrid-dashboards: provider-azure-cloud-provider-azure-1-20-presubmit + testgrid-tab-name: pr-cloud-provider-azure-e2e-capz-1-20 + description: "Runs Kubernetes conformance tests with cloud-provider-azure release-0.7 (https://github.com/kubernetes-sigs/cloud-provider-azure) using cluster-api-provider-azure." + testgrid-num-columns-recent: '30' - name: pull-cloud-provider-azure-e2e-ccm-capz-1-20 always_run: true optional: true diff --git a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.0.yaml b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.0.yaml index e87508e85c2b..5e3a0ace2358 100644 --- a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.0.yaml +++ b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.0.yaml @@ -258,6 +258,59 @@ presubmits: testgrid-tab-name: pr-cloud-provider-azure-e2e-ccm-vmss-1-21 description: "Runs Azure specific tests with cloud-provider-azure release-1.0 (https://github.com/kubernetes-sigs/cloud-provider-azure)." testgrid-num-columns-recent: '30' + - name: pull-cloud-provider-azure-e2e-capz-1-21 + always_run: false + optional: true + decorate: true + decoration_config: + timeout: 5h + path_alias: sigs.k8s.io/cloud-provider-azure + branches: + - release-1.0 + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + preset-azure-cred-only: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api-provider-azure + base_ref: release-1.0 + path_alias: sigs.k8s.io/cluster-api-provider-azure + workdir: true + - org: kubernetes + repo: kubernetes + base_ref: release-1.21 + path_alias: k8s.io/kubernetes + workdir: false + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211217-ea95cec1d4-1.21 + command: + - runner.sh + - ./scripts/ci-entrypoint.sh + args: + - bash + - -c + - >- + cp ./kubeconfig ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure/kubeconfig && + cd ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure && + make test-e2e-capz + securityContext: + privileged: true + env: + - name: TEST_CCM + value: "true" + - name: AZURE_LOADBALANCER_SKU + value: "standard" + - name: KUBERNETES_VERSION + value: 1.21.5 + - name: GINKGO_ARGS + value: --ginkgo.focus=\[Conformance\]|\[NodeConformance\] --ginkgo.skip=\[Slow\]|\[Serial\]|\[Flaky\] --test.parallel=30 + annotations: + testgrid-dashboards: provider-azure-cloud-provider-azure-1-21-presubmit + testgrid-tab-name: pr-cloud-provider-azure-e2e-capz-1-21 + description: "Runs Kubernetes conformance tests with cloud-provider-azure release-1.0 (https://github.com/kubernetes-sigs/cloud-provider-azure) using cluster-api-provider-azure." + testgrid-num-columns-recent: '30' - name: pull-cloud-provider-azure-e2e-ccm-capz-1-21 always_run: true optional: true diff --git a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.1.yaml b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.1.yaml index 128c8d215868..4c01c405a672 100644 --- a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.1.yaml +++ b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.1.yaml @@ -258,6 +258,59 @@ presubmits: testgrid-tab-name: pr-cloud-provider-azure-e2e-ccm-vmss-1-22 description: "Runs Azure specific tests with cloud-provider-azure release-1.1 (https://github.com/kubernetes-sigs/cloud-provider-azure)." testgrid-num-columns-recent: '30' + - name: pull-cloud-provider-azure-e2e-capz-1-22 + always_run: false + optional: true + decorate: true + decoration_config: + timeout: 5h + path_alias: sigs.k8s.io/cloud-provider-azure + branches: + - release-1.1 + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + preset-azure-cred-only: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api-provider-azure + base_ref: release-1.0 + path_alias: sigs.k8s.io/cluster-api-provider-azure + workdir: true + - org: kubernetes + repo: kubernetes + base_ref: release-1.22 + path_alias: k8s.io/kubernetes + workdir: false + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211217-ea95cec1d4-1.22 + command: + - runner.sh + - ./scripts/ci-entrypoint.sh + args: + - bash + - -c + - >- + cp ./kubeconfig ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure/kubeconfig && + cd ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure && + make test-e2e-capz + securityContext: + privileged: true + env: + - name: TEST_CCM + value: "true" + - name: AZURE_LOADBALANCER_SKU + value: "standard" + - name: KUBERNETES_VERSION + value: 1.22.2 + - name: GINKGO_ARGS + value: --ginkgo.focus=\[Conformance\]|\[NodeConformance\] --ginkgo.skip=\[Slow\]|\[Serial\]|\[Flaky\] --test.parallel=30 + annotations: + testgrid-dashboards: provider-azure-cloud-provider-azure-1-22-presubmit + testgrid-tab-name: pr-cloud-provider-azure-e2e-capz-1-22 + description: "Runs Kubernetes conformance tests with cloud-provider-azure release-1.1 (https://github.com/kubernetes-sigs/cloud-provider-azure) using cluster-api-provider-azure." + testgrid-num-columns-recent: '30' - name: pull-cloud-provider-azure-e2e-ccm-capz-1-22 always_run: true optional: true diff --git a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.23.yaml b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.23.yaml index 63d33c15a02d..bdd51b59cee2 100644 --- a/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.23.yaml +++ b/config/jobs/kubernetes-sigs/cloud-provider-azure/cloud-provider-azure-presubmit-1.23.yaml @@ -258,6 +258,59 @@ presubmits: testgrid-tab-name: pr-cloud-provider-azure-e2e-ccm-vmss-1-23 description: "Runs Azure specific tests with cloud-provider-azure release-1.23 (https://github.com/kubernetes-sigs/cloud-provider-azure)." testgrid-num-columns-recent: '30' + - name: pull-cloud-provider-azure-e2e-capz-1-23 + always_run: false + optional: true + decorate: true + decoration_config: + timeout: 5h + path_alias: sigs.k8s.io/cloud-provider-azure + branches: + - release-1.23 + labels: + preset-dind-enabled: "true" + preset-kind-volume-mounts: "true" + preset-azure-cred-only: "true" + extra_refs: + - org: kubernetes-sigs + repo: cluster-api-provider-azure + base_ref: release-1.0 + path_alias: sigs.k8s.io/cluster-api-provider-azure + workdir: true + - org: kubernetes + repo: kubernetes + base_ref: release-1.23 + path_alias: k8s.io/kubernetes + workdir: false + spec: + containers: + - image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20211217-ea95cec1d4-1.23 + command: + - runner.sh + - ./scripts/ci-entrypoint.sh + args: + - bash + - -c + - >- + cp ./kubeconfig ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure/kubeconfig && + cd ${GOPATH}/src/sigs.k8s.io/cloud-provider-azure && + make test-e2e-capz + securityContext: + privileged: true + env: + - name: TEST_CCM + value: "true" + - name: AZURE_LOADBALANCER_SKU + value: "standard" + - name: KUBERNETES_VERSION + value: 1.23.1 + - name: GINKGO_ARGS + value: --ginkgo.focus=\[Conformance\]|\[NodeConformance\] --ginkgo.skip=\[Slow\]|\[Serial\]|\[Flaky\] --test.parallel=30 + annotations: + testgrid-dashboards: provider-azure-cloud-provider-azure-1-23-presubmit + testgrid-tab-name: pr-cloud-provider-azure-e2e-capz-1-23 + description: "Runs Kubernetes conformance tests with cloud-provider-azure release-1.23 (https://github.com/kubernetes-sigs/cloud-provider-azure) using cluster-api-provider-azure." + testgrid-num-columns-recent: '30' - name: pull-cloud-provider-azure-e2e-ccm-capz-1-23 always_run: true optional: true