We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64df232 commit f6920ffCopy full SHA for f6920ff
api/krusty/fnplugin_test.go
@@ -504,6 +504,13 @@ type: Opaque
504
505
func skipIfNoDocker(t *testing.T) {
506
t.Helper()
507
+
508
+ // Skip if KUSTOMIZE_DOCKER_E2E is set to false
509
+ if os.Getenv("KUSTOMIZE_DOCKER_E2E") == "false" {
510
+ t.Skip("skipping because KUSTOMIZE_DOCKER_E2E is set to false")
511
+ }
512
513
+ // Skip if docker binary is not found
514
if _, err := exec.LookPath("docker"); err != nil {
515
t.Skip("skipping because docker binary wasn't found in PATH")
516
}
0 commit comments