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

[e2e node] gcloud is included even local #31597

Closed
wants to merge 1 commit into from

Conversation

resouer
Copy link
Contributor

@resouer resouer commented Aug 29, 2016

Even when running e2e node test locally, we still need gcloud on PATH, though it does not need to start any instances in cloud.

So I suggest add a node in doc at least, otherwise, people may feel confused (so I did).

cc @yujuhong


This change is Reviewable

@k8s-github-robot k8s-github-robot added size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. release-note-label-needed labels Aug 29, 2016
@k8s-bot
Copy link

k8s-bot commented Aug 29, 2016

GCE e2e build/test passed for commit 53c1c0c.

@yujuhong yujuhong added release-note-none Denotes a PR that doesn't merit a release note. and removed release-note-label-needed labels Aug 29, 2016
@yujuhong
Copy link
Contributor

@resouer why do we need gcloud for running tests locally? Can we fix the test so that it gcloud won't be required?

/cc @Random-Liu @dchen1107

@yujuhong yujuhong assigned yujuhong and unassigned bgrant0607 Aug 29, 2016
@Random-Liu
Copy link
Member

Because we changed to use gci by default for local development, and we need gcloud to get newest gci image.

However, the logic should be in remote run, not local run. I'll fix it.

@yujuhong
Copy link
Contributor

@Random-Liu sounds good. Let's close this PR.

@yujuhong yujuhong closed this Aug 29, 2016
@Random-Liu
Copy link
Member

@resouer Thanks a lot! Good catch~ :)

@resouer resouer deleted the e2e-guide branch August 30, 2016 08:56
@resouer resouer changed the title gcloud should be included even local [e2e node]gcloud should be included even local Aug 30, 2016
@resouer resouer changed the title [e2e node]gcloud should be included even local [e2e node] gcloud should be included even local Aug 30, 2016
@resouer resouer changed the title [e2e node] gcloud should be included even local [e2e node] gcloud is included even local Aug 30, 2016
k8s-github-robot pushed a commit that referenced this pull request Aug 30, 2016
Automatic merge from submit-queue

Node E2E: Move the image and host related logic to be remote run specific.

This PR addresses #31597, and better fixes #31588.

With this PR:
1) All remote logic is moved into remote mode.
2) All gci related logic is only called when `HOSTS` and `IMAGES` are not specified.
3) Run node e2e against other node e2e images will work again - `make test-e2e-node REMOET=true IMAGES=e2e-node-containervm-v20160321-image`.
4) List images will work again - `make test-e2e-node REMOTE=true LIST_IMAGES=true`.

Mark 1.4, because #31588 is marked as 1.4. And this makes the node e2e work as is described in the [doc ](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/e2e-node-tests.md#run-tests-using-different-images).

@yujuhong @vishh 
/cc @kubernetes/sig-node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants