Commit Graph

441 Commits

Author SHA1 Message Date
Filipe Brandenburger
7bb62cbfb3 Make e2e shell tests work standalone
Simply incorporate some of the boilerplate from hack/e2e.go into the
scripts in hack/e2e-suite.

Use environment variables with default values to allow overrides in
kubectl command line and to use a versioned package root.

Tested:
- Ran `go run hack/e2e.go -test` on a test cluster.
- Ran the test cases individually.
- Ran hack/e2e-suite/goe2e.sh -t Pods to confirm it takes arguments.
- Also fixed cluster/test-network.sh (which should be more and more irrelevant.)
2015-02-05 00:22:16 -08:00
Clayton Coleman
449f9d915e Make hack/local-up-cluster.sh work again for etcd 2 2015-02-04 17:45:53 -05:00
Brendan Burns
b3014e4360 Fix goe2e.sh (I hope) 2015-02-03 23:04:58 -08:00
Zach Loafman
acbadc8ade Merge pull request #3991 from zmerlynn/hermetic_jenkins_build
Clean out dead docker containers and docker images every Jenkins build
2015-02-03 14:56:59 -08:00
Brendan Burns
aa5a724f8d Merge pull request #4067 from jlowdermilk/verify-gendocs
Point to hack/run-gendocs.sh in verify-gendocs.sh error message.
2015-02-03 12:20:01 -08:00
Jeff Lowdermilk
c6c46753fd Point to hack/run-gendocs.sh in verify-gendocs.sh error message. 2015-02-03 11:53:30 -08:00
Jeff Lowdermilk
890615d93e Replace kubecfg with kubectl in e2e tests 2015-02-03 11:43:55 -08:00
Satnam Singh
6d5c56b2a7 Merge pull request #3995 from filbranden/e2e_pod_update_remove_external_json
Convert load of api/examples/pod.json into native Go definition of the api.Pod
2015-02-02 11:37:19 -08:00
Filipe Brandenburger
5b6eee294e Merge pull request #3993 from satnam6502/services
Fix services.sh to swap out broken kubecfg calls
2015-01-30 15:48:16 -08:00
Filipe Brandenburger
1d981f9345 Convert load of api/examples/pod.json into native Go definition of the api.Pod
This is another step in removing external dependencies of the Go e2e tests.

Remove references to this file on list of files required to run e2e tests.

Also use an unique name for the pod, so that failure in cleanup of a
previous run should not break a new run with a name conflict.

Tested by running cmd/e2e -t TestPodUpdate against an API server in GCE.
2015-01-30 15:25:56 -08:00
Satnam Singh
b7aa81ebc6 Fix services.sh to swap out broken kubectl calls 2015-01-30 15:22:39 -08:00
Zach Loafman
67c382b5f0 Clean out dead docker containers and docker images every Jenkins build
This will increase build times on Jenkins, but should make the build
times consistent and make them pull from sources every time versus
leftover artifacts. Also upping timeout. (Try to address recent
some aborted builds.)
2015-01-30 13:53:27 -08:00
Filipe Brandenburger
a74fce5bd7 Convert load of test/e2e/pod.json into native Go definition of the api.Pod
This is another step in removing external dependencies of the Go e2e tests.

Also remove other references to this file.

Tested by running cmd/e2e -t TestKubeletSendsEvent against an API server in GCE.
2015-01-30 13:21:09 -08:00
Satnam Singh
c29d89a534 Merge pull request #3357 from proppy/fix-podex
contrib/podex: fix ordering and manifest generation
2015-01-30 12:02:15 -08:00
Brendan Burns
a20ca78fb3 Update etcd to version 2.0.0 2015-01-29 17:53:53 -08:00
Tim Hockin
d01ea11a6e Merge pull request #3856 from smarterclayton/validation_logic_needs_cleanup
Validation of ObjectMeta is inconsistently applied
2015-01-29 14:12:44 -08:00
Clayton Coleman
053c2b2100 Fix grafana and heapster RC names 2015-01-29 16:26:39 -05:00
Tim Hockin
7603f88960 Merge pull request #3903 from brendandburns/e2e2
Add a simple script for running go e2e tests against existing clusters.
2015-01-29 11:51:36 -08:00
Brendan Burns
0ad036e0eb Put watch in a loop so that we grab all event logs, even if the watch hangs up. 2015-01-29 09:56:20 -08:00
Brendan Burns
ca6de16df7 Merge pull request #3915 from brendandburns/fixer
Fix update.sh
2015-01-28 20:02:58 -08:00
Brendan Burns
9f5ca3f6ac Fix update.sh 2015-01-28 20:00:47 -08:00
roberthbailey
9bfdfa0522 Merge pull request #3902 from satnam6502/killshell
Remove basic.sh and private.sh shell e2e tests
2015-01-28 16:51:22 -08:00
Brendan Burns
ca6576d060 Add a simple script for running go e2e tests against existing clusters.
Also add an even simpler script for testing the network setup.
2015-01-28 16:39:21 -08:00
Zach Loafman
668d8539b8 Merge pull request #3855 from filbranden/ginkgo1
Initial adoption of Ginkgo in Kubernetes e2e tests
2015-01-28 16:32:11 -08:00
Filipe Brandenburger
606b517a07 Enable Go e2e report_dir in Jenkins
Use the E2E_REPORT_DIR global environment variable to define the
location where the JUnit XML reports should be saved.

Modify the Jenkins e2e.sh script to export that variable pointing to the
top of the Jenkins build tree.

Tested by running `E2E_REPORT_DIR=${PWD}/.. hack/e2e-test.sh` and
confirmed ../junit.xml was generated and looked good.
2015-01-28 16:27:43 -08:00
Maxwell Forbes
5500b1a261 Merge pull request #3576 from jlowdermilk/examples
Update update-demo example to use kubectl
2015-01-28 15:43:18 -08:00
Jeff Lowdermlk
c912b831ce Update update-demo example and e2e test to use kubectl 2015-01-28 15:26:56 -08:00
Satnam Singh
7e6a4ec0f5 Remove basic.sh and private.sh shell e2e tests 2015-01-28 14:43:53 -08:00
Filipe Brandenburger
18880d9086 Merge pull request #3895 from brendandburns/e2e
introduce a timeout for the update test.
2015-01-28 14:42:21 -08:00
Brendan Burns
d13d2e8661 Add a hacky sleep in an attempt to deflake a test. 2015-01-28 14:19:19 -08:00
Brendan Burns
281b3c15ab introduce a timeout for the update test. 2015-01-28 14:10:51 -08:00
Tim Hockin
988d15943f Merge pull request #3787 from satnam6502/serve_hostname
Reduce size of serve_hostname image
2015-01-28 09:07:26 -08:00
Brendan Burns
abce3ecf26 Fix update.sh given the renaming of the network container. 2015-01-27 21:58:21 -08:00
Tim Hockin
a480794efc Tighten validation of Name and Namespace 2015-01-27 17:04:59 -05:00
Paul Morie
8917c669d1 Make it possible to test a single package w/o cover report 2015-01-25 21:26:36 -05:00
Satnam Singh
3841d1b5d1 Reduce size of serve_hostname image 2015-01-24 09:49:26 -08:00
Vishnu Kannan
2131ed5616 Fix monitoring.sh 2015-01-24 00:09:44 +00:00
Tim Hockin
9566467cdd Fix monitoring e2e to find kubectl 2015-01-23 12:36:03 -08:00
Vishnu Kannan
adbbfbf62f Improve monitoring e2e test. 2015-01-23 18:59:05 +00:00
Joe Beda
f3b0f285fa Fix min minions for e2e 2015-01-21 11:37:57 -08:00
Brian Grant
fc1e3854af Merge pull request #3684 from smreed/services-e2e-fix
Fixes endpoint propagation failure in services e2e
2015-01-21 10:37:26 -08:00
Steve Reed
0d79cfc581 Adds trailing semi-colon as per PR comment 2015-01-21 10:30:58 -08:00
Steve Reed
e3f7899be2 Extra echo in services.sh e2e test to get it to pass 2015-01-21 10:30:19 -08:00
Brian Grant
91533095e5 Merge pull request #3656 from jbeda/vagrant-e2e
Fix up a bunch of vagrant stuff to enable e2e
2015-01-21 07:26:13 -08:00
Satnam Singh
fc83ba704b Make basic end to end test robustly wait for hostIP 2015-01-20 19:30:13 -08:00
Joe Beda
a76b6dddad Turn of services.sh as it is broken.
See https://github.com/GoogleCloudPlatform/kubernetes/issues/3655.
2015-01-20 16:48:10 -08:00
Joe Beda
c5634e90ba Verify cluster size before e2e 2015-01-20 09:11:29 -08:00
Paul Morie
0c51f9df8d Make e2e -up recreate running clusters; remove kube-up retry 2015-01-18 12:19:07 -05:00
Satnam Singh
d8f07da775 Revert basic.sh and private.sh 2015-01-16 14:43:11 -08:00
Eric Tune
98bdd3f7c4 Test for and fix crash with nil client in kubelet.
Added test that fails before fix.
Fixed use of nil pointer.
2015-01-16 13:39:31 -08:00