forked from kubeflow/kubeflow
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to support running E2E tests on minikube.
* Parameterize the E2E workflow with a parameter that controls the platform we are running on. * Related to kubeflow/testing#6 * Add environment variable to configure KUBECONFIG. * Split test_deploy into separate functions to deploy the kubeflow APP and get GKE credentials * This allows us to handle credentials and the kubeconfig file consistently for GKE and minikube; on subsequent steps we just set KUBECONFIG to point to the config. * Refactor the workflow to be a DAG. * Update the TFServing workflow to use the new version of test_deploy which uses a separate step to get credentials and store them in .kube_config. * The name for the test_runner step needs to be unique so that we will create different test cases in gubernator for the different platforms. * Parameterize the E2E workflow by a platform parameter that controls whether we use minikube or gke. * Always store kube config on an NFS share. * Fix lint and add a style .yapf file to autoformat files copied for tf-operator.
- Loading branch information
Showing
12 changed files
with
371 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[style] | ||
based_on_style = google | ||
indent_width: 2 | ||
continuation_indent_width: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,10 @@ Some preliminary instructions for how to cut a release. | |
|
||
## Authenticate to GCP | ||
|
||
If you're new to using GKE or are new to the release team, you'll need to authenticate to GCP first. [Install the `gcloud` tool](https://cloud.google.com/sdk/gcloud/) and then execute the following commands, substituting your release team account for `your-team-[email protected]`: | ||
If you're new to using GKE or are new to the release team, you'll need to authenticate to GCP first. [Install the `gcloud` tool](https://cloud.google.com/sdk/gcloud/) and then execute the following commands, substituting your Kubeflow release team account for `your-account@yourdomain.org` (if you aren't a member of `release-team@kubeflow.org`, ask to be added): | ||
|
||
``` | ||
gcloud config set account your-team-account@kubeflow.org | ||
gcloud config set account your-account@yourdomain.org | ||
gcloud auth | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.