Skip to content

Commit

Permalink
Merge pull request #21008 from BenTheElder/make-test-plz
Browse files Browse the repository at this point in the history
start running make test on all Kubernetes PRs, drop caching to match bazel test …
  • Loading branch information
k8s-ci-robot authored Feb 25, 2021
2 parents 83ea510 + 67a2283 commit 71b2f7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
15 changes: 4 additions & 11 deletions config/jobs/kubernetes/sig-testing/make-test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
presubmits:
kubernetes/kubernetes:
- name: pull-kubernetes-make-test
- name: pull-kubernetes-unit
annotations:
testgrid-dashboards: sig-testing-misc
decorate: true
Expand All @@ -10,22 +10,15 @@ presubmits:
labels:
preset-service-account: "true"
optional: true
always_run: false
always_run: true
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210224-a27864c-master
command:
- runner.sh
- bash
args:
- -c
- |
# Restore the cache
time curl https://storage.googleapis.com/kubernetes-jenkins/cache/poc/k8s-test-cache.tar.gz -o cache.tar.gz
mkdir -p _output/local/go/
time tar -xzf cache.tar.gz -C _output/local/go
# Run tests as usual
time make test KUBE_TIMEOUT=--timeout=240s
# TODO: stop depending on custom timeout
- make test KUBE_RACE=-race KUBE_TIMEOUT=--timeout=240s
# TODO: direct copy from pull-kubernetes-bazel-test, tune these
resources:
limits:
Expand Down
1 change: 1 addition & 0 deletions gubernator/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- pull-kubernetes-integration
- pull-kubernetes-node-e2e
- pull-kubernetes-typecheck
- pull-kubernetes-unit
- pull-kubernetes-verify
- pull-kubernetes-verify-govet-levee
recursive_artifacts: false

0 comments on commit 71b2f7d

Please sign in to comment.