This repository was archived by the owner on Apr 10, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/main/java/com/csviri/jenvtest Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ class JUnitExtensionTest {
41
41
42
42
### Download binaries
43
43
44
- [ ` setup-envtest ` ] ( https://pkg.go.dev/sigs.k8s.io/controller-runtime/tools/setup-envtest#section-readme ) can be used
45
- to download binaries.
44
+ Binaries are downloaded automatically under $JENVTEST_DIR/k8s/[ target-platform-and-version] .
46
45
47
- by executing ` setup-envtest use --bin-dir ~/.jenvtest ` will download the latest required binaries to the default
48
- directory.
46
+ Also [ ` setup-envtest ` ] ( https://pkg.go.dev/sigs.k8s.io/controller-runtime/tools/setup-envtest#section-readme ) can be used
47
+ to download binaries manually. By executing ` setup-envtest use --bin-dir ~/.jenvtest ` will download the latest required
48
+ binaries to the default directory.
Original file line number Diff line number Diff line change 5
5
6
6
public class APIServerConfig {
7
7
8
- public static final String CONFIG_ROOT_ENV_VAR = "JENVTEST_DIR" ;
8
+ public static final String JENVTEST_DIR_ENV_VAR = "JENVTEST_DIR" ;
9
9
public static final String DIRECTORY_NAME = ".jenvtest" ;
10
10
11
11
/**
@@ -27,7 +27,7 @@ public class APIServerConfig {
27
27
private boolean downloadBinaries = true ;
28
28
29
29
public APIServerConfig () {
30
- var jenvtestDirFromEnvVar = System .getenv (CONFIG_ROOT_ENV_VAR );
30
+ var jenvtestDirFromEnvVar = System .getenv (JENVTEST_DIR_ENV_VAR );
31
31
if (jenvtestDirFromEnvVar != null ) {
32
32
this .jenvtestDir = jenvtestDirFromEnvVar ;
33
33
} else {
You can’t perform that action at this time.
0 commit comments