From be0155ba473c81b49ffbb4b4b53d8dac7870539a Mon Sep 17 00:00:00 2001 From: "Erik L. Arneson" Date: Tue, 1 Sep 2020 15:41:46 -0700 Subject: Developer guide: Adding kubetest2 --build instructions to e2e testing This change adds details on building with kubetest2 and without --legacy-mode. --- .../devel/sig-testing/e2e-tests-kubetest2.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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 `` with the path to your cloned repository: + +```sh +kubetest2 gce --build --repo-root +``` + ## Running the Tests The examples below all use the Google Cloud Compute Engine plugin -- cgit v1.2.3