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

Add Jenkins e2e script #3415

Merged
merged 1 commit into from
Jan 12, 2015
Merged

Conversation

zmerlynn
Copy link
Member

This commit adds and documents the e2e script that Jenkins runs

This commit adds and documents the e2e script that Jenkins runs

go run ./hack/e2e.go ${E2E_OPT} -v -down
go run ./hack/e2e.go ${E2E_OPT} -v -up
go run ./hack/e2e.go -v -ctl="version --match-server-version=false"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is "match-server-version=false" needed here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The kubernetes-e2e-gke job is version skewed, and hack/e2e.go adds --match-server-version before calling kubectl, so this is basically counteracting it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so this is testing a new client on an old cluster?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's one of the jobs, and it also has to explicitly change E2E_OPT. I'm
just logging the client/server versions here, so really just want something
that won't error out regardless.

On Mon, Jan 12, 2015, 14:54 Daniel Smith notifications@github.com wrote:

In hack/jenkins/e2e.sh
#3415 (diff)
:

+# sudo gcloud components update -q
+
+GITHASH=$(gsutil cat gs://kubernetes-release/ci/latest.txt)
+gsutil -m cp gs://kubernetes-release/ci/${GITHASH}/kubernetes.tar.gz gs://kubernetes-release/ci/${GITHASH}/kubernetes-test.tar.gz .
+md5sum kubernetes*.tar.gz
+tar -xzf kubernetes.tar.gz
+tar -xzf kubernetes-test.tar.gz
+cd kubernetes
+
+# This variable is only relevant on GKE-CI
+export CLUSTER_API_VERSION=$(echo ${GITHASH} | cut -c 2-)
+
+go run ./hack/e2e.go ${E2E_OPT} -v -down
+go run ./hack/e2e.go ${E2E_OPT} -v -up
+go run ./hack/e2e.go -v -ctl="version --match-server-version=false"

so this is testing a new client on an old cluster?


Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/pull/3415/files#r22830171
.

@lavalamp
Copy link
Member

LGTM

lavalamp added a commit that referenced this pull request Jan 12, 2015
@lavalamp lavalamp merged commit 14b7189 into kubernetes:master Jan 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants