Skip to content

Commit 6409f4e

Browse files
committed
add CAS E2E test for 1.34 branch
1 parent ebdf56e commit 6409f4e

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

config/jobs/kubernetes/sig-autoscaling/azure/cluster-autoscaler-azure-presubmits.yaml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,61 @@ presubmits:
110110
limits:
111111
cpu: 4
112112
memory: "9Gi"
113+
- name: pull-cluster-autoscaler-e2e-azure-1-34
114+
cluster: eks-prow-build-cluster
115+
annotations:
116+
testgrid-dashboards: sig-autoscaling-cluster-autoscaler
117+
testgrid-tab-name: cloudprovider-azure-1.34
118+
always_run: false
119+
optional: true
120+
run_if_changed: 'cluster-autoscaler\/cloudprovider\/azure'
121+
labels:
122+
preset-dind-enabled: "true"
123+
preset-kind-volume-mounts: "true"
124+
preset-azure-community: "true"
125+
decorate: true
126+
decoration_config:
127+
timeout: 5h
128+
path_alias: k8s.io/autoscaler
129+
branches:
130+
- cluster-autoscaler-release-1.34
131+
extra_refs:
132+
- org: kubernetes-sigs
133+
repo: cluster-api-provider-azure
134+
base_ref: release-1.21
135+
path_alias: sigs.k8s.io/cluster-api-provider-azure
136+
workdir: true
137+
spec:
138+
serviceAccountName: azure
139+
containers:
140+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250925-95b5a2c7a5-1.33
141+
command:
142+
- runner.sh
143+
- ./scripts/ci-entrypoint.sh
144+
args:
145+
- bash
146+
- -c
147+
- |
148+
cd ${GOPATH}/src/k8s.io/autoscaler/cluster-autoscaler/cloudprovider/azure/test
149+
make test-e2e TAG=$(git rev-parse --short HEAD)
150+
env:
151+
# CAPZ config
152+
- name: ADDITIONAL_ASO_CRDS
153+
value: authorization.azure.com/*;managedidentity.azure.com/* # needed for this CLUSTER_TEMPLATE
154+
- name: KUBERNETES_VERSION
155+
value: "1.33" # TODO update when 1.34 is available in AKS
156+
- name: CLUSTER_TEMPLATE
157+
value: ${GOPATH}/src/k8s.io/autoscaler/cluster-autoscaler/cloudprovider/azure/test/templates/cluster-template-prow-aks-aso-cluster-autoscaler.yaml
158+
# docker-in-docker needs privileged mode
159+
securityContext:
160+
privileged: true
161+
resources:
162+
requests:
163+
cpu: 4
164+
memory: "9Gi"
165+
limits:
166+
cpu: 4
167+
memory: "9Gi"
113168
- name: pull-cluster-autoscaler-e2e-azure-1-33
114169
cluster: eks-prow-build-cluster
115170
annotations:

0 commit comments

Comments
 (0)