Skip to content

Commit

Permalink
start running make test on all PRs, drop caching to match bazel test …
Browse files Browse the repository at this point in the history
…-race
  • Loading branch information
BenTheElder committed Feb 24, 2021
1 parent a0a857f commit 38fa668
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions config/jobs/kubernetes/sig-testing/make-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 38fa668

Please sign in to comment.