Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use pre-existing kubetest2 binaries in pull-kubernetes-e2e-gce-kubetest2 #21666

Merged
merged 1 commit into from
Jul 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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