Skip to content

Commit

Permalink
Try adding a presubmit job on community infra
Browse files Browse the repository at this point in the history
  • Loading branch information
rifelpet committed Jul 6, 2024
1 parent 9a11bc8 commit ff39426
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 1 deletion.
10 changes: 10 additions & 0 deletions config/jobs/kubernetes/kops/build_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1915,6 +1915,16 @@ def generate_presubmits_e2e():
tab_name='e2e-aws-calico',
always_run=True,
),
presubmit_test(
distro='u2404',
build_cluster='k8s-infra-kops-prow-build',
k8s_version='stable',
kops_channel='alpha',
name='pull-kops-e2e-k8s-aws-calico-k8s-infra',
networking='calico',
tab_name='e2e-aws-calico-k8s-infra',
always_run=True,
),
presubmit_test(
distro='al2023',
k8s_version='stable',
Expand Down
69 changes: 68 additions & 1 deletion config/jobs/kubernetes/kops/kops-presubmits-e2e.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Test jobs generated by build_jobs.py (do not manually edit)
# 40 jobs
# 41 jobs
presubmits:
kubernetes/kops:

Expand Down Expand Up @@ -210,6 +210,73 @@ presubmits:
testgrid-days-of-results: '90'
testgrid-tab-name: e2e-aws-calico

# {"cloud": "aws", "distro": "u2404", "extra_flags": "--discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "networking": "calico"}
- name: pull-kops-e2e-k8s-aws-calico-k8s-infra
cluster: k8s-infra-kops-prow-build
branches:
- master
always_run: true
optional: false
skip_report: false
labels:
preset-service-account: "true"
preset-aws-ssh: "true"
preset-aws-credential: "true"
preset-dind-enabled: "true"
decorate: true
decoration_config:
timeout: 90m
path_alias: k8s.io/kops
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240705-131cd74733-master
imagePullPolicy: Always
command:
- runner.sh
args:
- bash
- -c
- |
make test-e2e-install
kubetest2 kops \
-v 2 \
--up --build --down \
--cloud-provider=aws \
--create-args="--image='099720109477/ubuntu/images/hvm-ssd-gp3/ubuntu-noble-24.04-amd64-server-20240701.1' --channel=alpha --networking=calico --discovery-store=s3://k8s-kops-prow/discovery" \
--kubernetes-version=https://dl.k8s.io/release/stable.txt \
--kops-binary-path=/home/prow/go/src/k8s.io/kops/.build/dist/linux/amd64/kops \
--test=kops \
-- \
--test-args="-test.timeout=60m" \
--test-package-marker=stable.txt \
--parallel=25
securityContext:
privileged: true
env:
- name: KUBE_SSH_KEY_PATH
value: /etc/aws-ssh/aws-ssh-private
- name: KUBE_SSH_USER
value: ubuntu
- name: GOPATH
value: /home/prow/go
resources:
limits:
cpu: "4"
memory: 6Gi
requests:
cpu: "4"
memory: 6Gi
annotations:
test.kops.k8s.io/cloud: aws
test.kops.k8s.io/distro: u2404
test.kops.k8s.io/extra_flags: --discovery-store=s3://k8s-kops-prow/discovery
test.kops.k8s.io/k8s_version: stable
test.kops.k8s.io/kops_channel: alpha
test.kops.k8s.io/networking: calico
testgrid-dashboards: kops-presubmits, presubmits-kops, sig-cluster-lifecycle-kops
testgrid-days-of-results: '90'
testgrid-tab-name: e2e-aws-calico-k8s-infra

# {"cloud": "aws", "distro": "al2023", "extra_flags": "--node-size=r5d.xlarge --master-size=r5d.xlarge --set=cluster.spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --set=cluster.spec.networking.amazonVPC.env=MINIMUM_IP_TARGET=80 --set=cluster.spec.networking.amazonVPC.env=WARM_IP_TARGET=10 --set=spec.kubeAPIServer.logLevel=4 --set=spec.kubeAPIServer.auditLogMaxSize=2000000000 --set=spec.kubeAPIServer.enableAggregatorRouting=true --set=spec.kubeAPIServer.auditLogPath=/var/log/kube-apiserver-audit.log --discovery-store=s3://k8s-kops-prow/discovery", "k8s_version": "stable", "kops_channel": "alpha", "networking": "amazonvpc"}
- name: pull-kops-e2e-k8s-aws-amazonvpc
cluster: default
Expand Down

0 comments on commit ff39426

Please sign in to comment.