mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-11 17:12:51 +00:00
Add documentation and simplify framework
This commit is contained in:
@@ -638,14 +638,6 @@ func build(t *testing.T, binDir string) {
|
||||
if !assert.NoError(t, build.Run()) {
|
||||
t.FailNow()
|
||||
}
|
||||
build = exec.Command("go", "build", "-o",
|
||||
filepath.Join(binDir, "e2econtainerflags"))
|
||||
build.Dir = "e2econtainerflags"
|
||||
build.Stdout = os.Stdout
|
||||
build.Stderr = os.Stderr
|
||||
if !assert.NoError(t, build.Run()) {
|
||||
t.FailNow()
|
||||
}
|
||||
|
||||
build = exec.Command("go", "build", "-o", filepath.Join(binDir, "kyaml"))
|
||||
build.Dir = filepath.Join("..", "..", "..")
|
||||
@@ -666,12 +658,4 @@ func build(t *testing.T, binDir string) {
|
||||
if !assert.NoError(t, build.Run()) {
|
||||
t.FailNow()
|
||||
}
|
||||
build = exec.Command(
|
||||
"docker", "build", ".", "-t", "gcr.io/kustomize-functions/e2econtainerflags")
|
||||
build.Dir = "e2econtainerflags"
|
||||
build.Stdout = os.Stdout
|
||||
build.Stderr = os.Stderr
|
||||
if !assert.NoError(t, build.Run()) {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user