Skip to content

Commit 357f911

Browse files
authored
Merge pull request kubernetes#35150 from hakman/presubmit_azure
kOps: Add presubmit for test running on Azure
2 parents fbde63b + 4553621 commit 357f911

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

config/jobs/kubernetes/kops/kops-presubmits.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,3 +492,54 @@ presubmits:
492492
testgrid-dashboards: kops-presubmits, presubmits-kops, sig-cluster-lifecycle-kops
493493
testgrid-days-of-results: '90'
494494
testgrid-tab-name: pull-kops-kubernetes-e2e-ubuntu-gce-build
495+
- name: pull-kops-e2e-kubernetes-azure
496+
branches:
497+
- master
498+
always_run: false
499+
labels:
500+
preset-service-account: "true"
501+
preset-kops-azure-cred-wi: "true"
502+
preset-dind-enabled: "true"
503+
cluster: k8s-infra-prow-build
504+
decorate: true
505+
decoration_config:
506+
timeout: 90m
507+
path_alias: k8s.io/kops
508+
spec:
509+
containers:
510+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20250714-70266d743a-master
511+
imagePullPolicy: Always
512+
command:
513+
- runner.sh
514+
args:
515+
- bash
516+
- -c
517+
- |
518+
make test-e2e-install
519+
kubetest2 kops \
520+
-v 2 \
521+
--up --build --down \
522+
--cloud-provider=azure \
523+
--cluster-name=e2e-test-azure.k8s \
524+
--env AZURE_STORAGE_ACCOUNT=stkopsstatestore \
525+
--env JOB_NAME=pull-kops-e2e-kubernetes-azure \
526+
--create-args "--azure-subscription-id=46678f10-4bbb-447e-98e8-d2829589f2d8 --networking=calico --node-count=2 --master-count=1" \
527+
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
528+
--kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
529+
--test=kops \
530+
-- \
531+
--test-package-marker=stable.txt \
532+
--parallel 25
533+
# docker-in-docker needs privileged mode
534+
securityContext:
535+
privileged: true
536+
resources:
537+
limits:
538+
cpu: "4"
539+
memory: "6Gi"
540+
requests:
541+
cpu: "4"
542+
memory: "6Gi"
543+
annotations:
544+
testgrid-dashboards: sig-cluster-lifecycle-kops, presubmits-kops, kops-presubmits
545+
testgrid-tab-name: e2e-azure

0 commit comments

Comments
 (0)