mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 04:32:37 +00:00
Add kubernetes-test.tar.gz
Add test artifacts to the build. This lets you do: tar -xzf kubernetes.tar.gz tar -xzf kubernetes-test.tar.gz cd kubernetes go run ./hack/e2e.go -up -test -down without having a git checkout.
This commit is contained in:
@@ -56,7 +56,9 @@ func waitForPodRunning(c *client.Client, id string) {
|
||||
}
|
||||
}
|
||||
|
||||
// assetPath returns a path to the requested file; safe on all OSes.
|
||||
// assetPath returns a path to the requested file; safe on all
|
||||
// OSes. NOTE: If you use an asset in this test, you MUST add it to
|
||||
// the KUBE_TEST_PORTABLE array in hack/lib/golang.sh.
|
||||
func assetPath(pathElements ...string) string {
|
||||
return filepath.Join(*repoRoot, filepath.Join(pathElements...))
|
||||
}
|
||||
|
Reference in New Issue
Block a user