Skip to content

Commit

Permalink
Merge pull request #21666 from amwat/prebuilt
Browse files Browse the repository at this point in the history
Use pre-existing kubetest2 binaries in pull-kubernetes-e2e-gce-kubetest2
  • Loading branch information
k8s-ci-robot authored Jul 12, 2021
2 parents 161e384 + 595ef99 commit 1573a9a
Showing 1 changed file with 15 additions and 27 deletions.
42 changes: 15 additions & 27 deletions config/jobs/kubernetes/sig-cloud-provider/gcp/gcp-gce.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ presubmits:
testgrid-tab-name: pull-kubernetes-e2e-gce-kubetest2
spec:
containers:
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210709-09116fb-master
- image: gcr.io/k8s-testimages/kubekins-e2e:v20210709-09116fb-experimental
resources:
requests:
cpu: 4
Expand All @@ -136,32 +136,20 @@ presubmits:
command:
- runner.sh
args:
- "/bin/bash"
- "-c"
# Please note that the semicolon after the \ is necessary due to how
# parsing works out when embedding a bash script in a string like this
- set -o errexit;
set -o nounset;
set -o pipefail;
set -o xtrace;
REPO_ROOT=$PWD;
cd;
export GO111MODULE=on;
go get sigs.k8s.io/kubetest2@latest;
go get sigs.k8s.io/kubetest2/kubetest2-gce@latest;
go get sigs.k8s.io/kubetest2/kubetest2-tester-ginkgo@latest;
kubetest2 gce -v 2 \;
--repo-root $REPO_ROOT \;
--legacy-mode \;
--build \;
--up \;
--down \;
--enable-cache-mutation-detector \;
--test=ginkgo \;
-- \;
--skip-regex='\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]' \;
--parallel=30 \;
--use-built-binaries
- kubetest2
- gce
- -v=2
- --repo-root=$PWD
- --legacy-mode # indicate that we are using kubernetes/kubernetes as opposed to kubernetes/cloud-provider-gcp
- --build
- --up
- --down
- --enable-cache-mutation-detector # Panic if anything mutates a shared informer cache
- --test=ginkgo
- --
- --skip-regex='\[Slow\]|\[Serial\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]'
- --parallel=30
- --use-built-binaries # use the kubectl, e2e.test, and ginkgo binaries built during --build as opposed to from a GCS release tarball


- name: pull-kubernetes-e2e-gce-canary
Expand Down

0 comments on commit 1573a9a

Please sign in to comment.