Commit Graph

16 Commits (b8bec43635808dcfd5a7c1e3de788b4290eb9a55)

Author SHA1 Message Date
xichengliudui dd7acdcd55 make more of the shell pass lints 2019-02-18 22:50:03 -05:00
Matthias Bertschy 9b15af19b2 Update all script to use /usr/bin/env bash in shebang 2018-04-19 13:20:13 +02:00
Aditya Konarde 7f11d7954a Fix typo in e2e-node-test.sh
Correct 'Makfile' to 'Makefile
2017-09-19 18:10:21 +05:30
Tim Hockin faeef5c4ae Use make as the main build tool
This allows us to start building real dependencies into Makefile.

Leave old hack/* scripts in place but advise to use 'make'.  There are a few
rules that call things like 'go run' or 'build/*' that I left as-is for now.
2016-07-12 21:52:00 -07:00
Random-Liu 62337e7c44 Disable kubenet for local node e2e test. 2016-07-06 14:04:35 -07:00
David McMahon ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Phillip Wittrock e94e1c6e3d Node e2e Makefile support for running remote tests against kubernetes-node-e2e-images.
Also includes other improvements:
- Makefile rule to run tests against remote instance using existing host or image
- Makefile will reuse an instance created from an image if it was not torn down
- Runner starts gce instances in parallel with building source
- Runner uses instance ip instead of hostname so that it doesn't need to resolve
- Runner supports cleaning up files and processes on an instance without stopping / deleting it
- Runner runs tests using `ginkgo` binary to support running tests in parallel
2016-06-08 07:31:54 -07:00
Tim St. Clair fef89f1b39 Refresh sudo credentials before running node e2e 2016-06-02 13:16:26 -07:00
Wojciech Tyczynski febf158e0e Revert "Make Privileged pods node e2e use the framework" 2016-05-29 06:17:35 +02:00
Vishnu kannan 9f730d5345 Update node e2e "privileged pods" to use the framework.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-05-26 15:37:51 -07:00
pwittrock eae1961599 Node e2e export test artifacts to jenkins.
- Add junit test reported
- Write etcd.log, kubelet.log and kube-apiserver.log to files instead of stdout
- Scp artifacts to the jenkins WORKSPACE

Fixes #25966
2016-05-24 23:00:58 +00:00
Michael Taufen ee079c958a Remove call to setup_env from hack/e2e-node-test.sh
This messes with the GOPATH in a way that confuses ginkgo,
and doesn't appear to be necessary to run the tests

Removes likely unnecessary use of sudo, though it should be noted that
e2e_node_suite_test.go uses sudo to do something with locksmithd, so you
currently end up using it anyway.

Updates the error for not having ginkgo built to recommend the new vendor/
path for ginkgo, and to recommend using make instead of hack/build-go.sh

Should resolve #25682
2016-05-17 11:46:00 -07:00
Vishnu kannan fa476b8044 Framework support for node e2e.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-29 15:37:35 -07:00
Vishnu kannan 1e7e941dae Add an option to focus or skip tests in the node e2e makefile rule.
Signed-off-by: Vishnu kannan <vishnuk@google.com>
2016-04-07 10:22:22 -07:00
Eric Paris 082cdd5ad4 hack/e2e-node-test should not assume ginkgo installed
It should use the version we build.
2016-03-04 16:28:35 -05:00
Phillip Wittrock a3623c0c14 Refactor node e2e tests
- Add Makefile targets
- Start services in the test harness and connect locally
- Build test into binary and copy to remote host to start services
- Use tar to copy binaries to remote hosts to simplify design
2016-02-22 20:06:15 -08:00