Adds an optional golang runner to the conformance test image

Adds a go app which runs the e2e tests with ginkgo.

 - Supports all the existing env vars of the bash script
 - Improved flow control to avoid and better report issues
regarding the process PID
 - Adds flags for modifying where to find the test binary and
ginkgo binary so that you can run it locally
 - Adds 3 flags for specifying extra args before the double-dash,
extra args after the double-dash, and the seperator to use between
values in those env vars. This allows setting arbitrary, complex
values for use on the command such as flags which include spaces
or other characters.
This commit is contained in:
John Schnake
2019-06-20 22:34:10 -05:00
parent 8756e2c5e4
commit b3f5a086ab
22 changed files with 860 additions and 3 deletions

View File

@@ -264,6 +264,7 @@ kube::golang::test_targets() {
cmd/linkcheck
vendor/github.com/onsi/ginkgo/ginkgo
test/e2e/e2e.test
cluster/images/conformance/go-runner
)
echo "${targets[@]}"
}