diff options
| author | Erik L. Arneson <erik@lionswaycontent.com> | 2020-09-01 15:41:46 -0700 |
|---|---|---|
| committer | Erik L. Arneson <erik@lionswaycontent.com> | 2020-09-01 15:41:46 -0700 |
| commit | be0155ba473c81b49ffbb4b4b53d8dac7870539a (patch) | |
| tree | 7e42bc885daaadc2de6b7a3615c41ee0401bc2d8 | |
| parent | 758f3086db04d4ec2f76de2551f4b7db47329986 (diff) | |
Developer guide: Adding kubetest2 --build instructions to e2e testing
This change adds details on building with kubetest2 and without --legacy-mode.
| -rw-r--r-- | contributors/devel/sig-testing/e2e-tests-kubetest2.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/contributors/devel/sig-testing/e2e-tests-kubetest2.md b/contributors/devel/sig-testing/e2e-tests-kubetest2.md index 144bceb4..2454c903 100644 --- a/contributors/devel/sig-testing/e2e-tests-kubetest2.md +++ b/contributors/devel/sig-testing/e2e-tests-kubetest2.md @@ -91,6 +91,26 @@ following command: kubetest2 gce --build --legacy-mode ``` +To build without the `--legacy-mode` option, you will need to clone +the +[`gcp-cloud-provider` repository](https://github.com/kubernetes/cloud-provider-gcp). +This repository is part of the +[cloud provider extraction effort](https://github.com/kubernetes/community/tree/master/sig-cloud-provider#cloud-provider-extraction-migration) +and the eventual home of some of the build scripts in the Kubernetes +source tree. Use this command to clone: + +```sh +git clone https://github.com/kubernetes/cloud-provider-gcp.git +``` + +You can now use the following command to build using the +`gcp-cloud-provider` repository. Replace `<path to +cloud-provider-gcp>` with the path to your cloned repository: + +```sh +kubetest2 gce --build --repo-root <path to cloud-provider-gcp> +``` + ## Running the Tests The examples below all use the Google Cloud Compute Engine plugin |
