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

Support testing on minikube. #485

Merged
merged 6 commits into from
Mar 26, 2018
Merged

Conversation

jlewi
Copy link
Contributor

@jlewi jlewi commented Mar 21, 2018

  • When using minikube we don't want call configure_kubectl which calls
    gcloud container clusters get-credentials.

  • Instead we just need to call load_kube_config to load the kube config file.

  • Related to minikube testing testing#6


This change is Reviewable

* When using minikube we don't want call configure_kubectl which calls
  gcloud container clusters get-credentials.

* Instead we just need to call load_kube_config to load the kube config file.

* Related to kubeflow/testing#6
@coveralls
Copy link

Coverage Status

Coverage remained the same at 45.408% when pulling 0b01844 on jlewi:minikube_test into 181cb05 on kubeflow:master.

@coveralls
Copy link

coveralls commented Mar 21, 2018

Coverage Status

Coverage remained the same at 45.323% when pulling 803b399 on jlewi:minikube_test into b72f47e on kubeflow:master.

@lluunn
Copy link
Contributor

lluunn commented Mar 21, 2018

/lgtm

@jlewi
Copy link
Contributor Author

jlewi commented Mar 22, 2018

/approve

@jlewi
Copy link
Contributor Author

jlewi commented Mar 23, 2018

/retest

@k8s-ci-robot k8s-ci-robot removed the lgtm label Mar 23, 2018
@gaocegege
Copy link
Member

Hi Jeremy, I pushed a patch to fix code linting problems in the code #498 , I think you could rebase and run the test again.

# as part of GKE cluster creation and store the config in the NFS directory.
# This would make the handling of credentials
# and KUBECONFIG more consistent between GKE and minikube and eventually
# this could be extended to other K8s deployments.
Copy link
Member

Choose a reason for hiding this comment

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

************* Module py.test_runner
C:124, 0: Trailing whitespace (trailing-whitespace)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks.

@jlewi
Copy link
Contributor Author

jlewi commented Mar 23, 2018

/retest

@jlewi
Copy link
Contributor Author

jlewi commented Mar 23, 2018

/retest

1 similar comment
@jlewi
Copy link
Contributor Author

jlewi commented Mar 23, 2018

/retest

@gaocegege
Copy link
Member

I believe that we could pass the test now.

@jlewi
Copy link
Contributor Author

jlewi commented Mar 26, 2018

@lluunn Can you LGTM please?

@lluunn
Copy link
Contributor

lluunn commented Mar 26, 2018

/lgtm

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jlewi, lluunn

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 6214e56 into kubeflow:master Mar 26, 2018
jetmuffin pushed a commit to jetmuffin/tf-operator that referenced this pull request Jul 9, 2018
* Support testing on minikube.

* When using minikube we don't want call configure_kubectl which calls
  gcloud container clusters get-credentials.

* Instead we just need to call load_kube_config to load the kube config file.

* Related to kubeflow/testing#6

* Add a TODO.

* Fix lint issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants