From bec026b49d94dbf5f0c694b7b40278bfa1337c59 Mon Sep 17 00:00:00 2001 From: Tim Allclair Date: Thu, 28 Feb 2019 11:02:30 -0800 Subject: Add documentation on running node e2e's with custom image configs --- contributors/devel/sig-node/e2e-node-tests.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'contributors/devel/sig-node/e2e-node-tests.md') diff --git a/contributors/devel/sig-node/e2e-node-tests.md b/contributors/devel/sig-node/e2e-node-tests.md index 4f3327cb..31c0459c 100644 --- a/contributors/devel/sig-node/e2e-node-tests.md +++ b/contributors/devel/sig-node/e2e-node-tests.md @@ -148,6 +148,30 @@ test in parallel against different instances of the same image. make test-e2e-node REMOTE=true INSTANCE_PREFIX="my-prefix" ``` +## Run tests using a custom image config + +This is useful if you want to test out different runtime configurations. First, make a local +(temporary) copy of the base image config from the test-infra repo: +https://github.com/kubernetes/test-infra/tree/master/jobs/e2e_node + +Make your desired modifications to the config, and update data paths to be absolute paths to the +relevant files on your local machine (e.g. prepend your home directory path to each). For example: + +```diff + images: + cos-stable: + image_regex: cos-stable-60-9592-84-0 + project: cos-cloud +- metadata: "user-data