Skip to content

Commit

Permalink
Allow running e2e tests as presubmits on GitHub #5918
Browse files Browse the repository at this point in the history
  • Loading branch information
uroy-personal committed Oct 6, 2023
1 parent 44d581f commit ffc4ccb
Showing 1 changed file with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,3 +157,42 @@ presubmits:
requests:
cpu: 2
memory: 6Gi

- name: pull-kubernetes-e2e-autoscaling-vpa-full
annotations:
testgrid-dashboards: sig-autoscaling-vpa
testgrid-tab-name: autoscaling-vpa-full-presubmits
optional: true
decorate: true
decoration_config:
timeout: 120m
run_if_changed: '^vertical-pod-autoscaler\/'
path_alias: k8s.io/kubernetes
extra_refs:
- org: kubernetes
repo: autoscaler
base_ref: master
path_alias: k8s.io/autoscaler
workdir: true
labels:
preset-service-account: "true"
preset-k8s-ssh: "true"
preset-dind-enabled: "true"
spec:
containers:
- command:
- runner.sh
- /workspace/scenarios/kubernetes_e2e.py
args:
- --check-leaked-resources
- --extract=ci/latest
- --gcp-node-image=gci
- --gcp-zone=us-west1-b
- --provider=gce
- --test=false
- --test-cmd=../vertical-pod-autoscaler/hack/run-e2e.sh
- --test-cmd-args=full-vpa
- --timeout=100m
image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20230727-ea685f8747-master
securityContext:
privileged: true

0 comments on commit ffc4ccb

Please sign in to comment.