Commit Graph

11253 Commits

Author SHA1 Message Date
Jeff Lowdermilk
46bd6f298a Merge pull request #8237 from smarterclayton/continue_on_error
Make ContinueOnError actually work
2015-05-15 12:57:29 -07:00
Brendan Burns
a197b24fb7 Add a test for status message generation. Fix a bug in reason message handling. 2015-05-15 20:45:16 +01:00
Satnam Singh
afedb2d24a Merge pull request #8322 from thockin/dns
Base the kube2sky container on busybox
2015-05-15 12:05:37 -07:00
Jeff Grafton
86b023fdd6 Once again, use native Ginkgo test runner instead of cmd/e2e.
This commit deletes cmd/e2e and updates hack/ginkgo-e2e.sh to use the
'ginkgo' command instead. All logic from cmd/e2e/e2e.go and
test/e2e/driver.go have been combined into the new file
test/e2e/e2e_test.go.

The test tarball now includes a built version of the test/e2e test
binary, which includes all tests under test/e2e. This was accomplished
by updating the build scripts to use 'go test -c' when a target name
ended with '.test', and adding a dependency on test/e2e/e2e.test.

This prebuilt test binary is passed to the Ginkgo runner in
hack/ginkgo-e2e.sh. In a future change, we can add support to run
Ginkgo against the source tree if it is available.

This change is generally intended to have no externally visible changes,
aside from the following caveats:
 - The -t/--tests flag has been removed
 - Calling cmd/e2e/e2e directly obviously won't work, but that was never
   intended to be supported anyway
 - If the GINKGO_PARALLEL environment variable is set to y, then ginkgo
   will run test specs in parallel. (Currently defaults to n, since some
   tests are broken in this mode.)

Additionally, several tests which made poor assumptions about cwd or
used testContext before it had been set have been fixed.
2015-05-15 11:54:53 -07:00
Quinton Hoole
1ee33ac481 Merge pull request #8333 from ixdy/e2e-kubectl
e2e: don't try to clean up after rolling-update test
2015-05-15 11:46:04 -07:00
Jeff Lowdermilk
a5bc6bdaf3 Merge pull request #8166 from kargakis/labels-for-object
expose: Re-use labels in case none was specified
2015-05-15 11:35:52 -07:00
Prashanth B
0f98a1dd78 Merge pull request #8312 from wojtek-t/remove_gob
Remove gob reference as they are no longer needed after #8188
2015-05-15 11:26:20 -07:00
Clayton Coleman
a47716e66d Make ContinueOnError actually work
In resource.Builder ContinueOnError() should actually do so.

Reorganized util.CheckErr() to make it display bulk errors more
effectively and be more reusable. Clarified that CheckErr is not
specific to kubectl in Godoc. Changed the "Error: " prefix to
"error: " to more closely match Unix conventions.
2015-05-15 14:26:14 -04:00
Jeff Grafton
fa77928c30 e2e: don't try to clean up after rolling-update test 2015-05-15 11:23:06 -07:00
Chao Xu
b5439d4486 Update examples/glusterfs to v1beta3;
Add desciption of Glusterfs endpoints in README.md;
Add validation for endpoints in examples_test.go
2015-05-15 11:13:32 -07:00
Quinton Hoole
b79d510668 Merge pull request #8331 from GoogleCloudPlatform/revert-8278-no-ro-nettest
Revert "Fix networking test"
Fixes #8326
2015-05-15 11:05:47 -07:00
Quinton Hoole
a2d24d3e07 Revert "Fix networking test" 2015-05-15 11:04:23 -07:00
Vish Kannan
d2e291e8fc Merge pull request #8254 from jayunit100/e2e_hostPath
E2E hostPath test
2015-05-15 10:50:58 -07:00
Clayton Coleman
de36967c7e Proxier should return typed errors 2015-05-15 13:50:05 -04:00
jayunit100
4812232966 E2E: Namespace soak test, confirms deletion happens within 100 seconds 2015-05-15 13:35:53 -04:00
Nikhil Jindal
bcdc5e3338 Merge pull request #8222 from caesarxuchao/walkthrough-example
Update k8s201.md to match PR#8011
2015-05-15 10:33:39 -07:00
Victor Marmol
df222ac47f Update cAdvisor godep.
- Registers factories in Start(). Allows waiting for Docker.
2015-05-15 10:21:16 -07:00
Prashanth B
1f0b4c5e2a Merge pull request #8232 from zmerlynn/i8196
Ensure basic DNS functionality before doing real work in configure-vm.sh
2015-05-15 10:19:35 -07:00
Tim Hockin
850e0e682e Base the kube2sky container on busybox 2015-05-15 08:49:52 -07:00
Victor Marmol
43e4654333 Merge pull request #8292 from yujuhong/rm_podinfo
Remove /podInfo endpoint on kubelet
2015-05-15 08:42:02 -07:00
Filip Grzadkowski
6ec9821a69 Merge pull request #8317 from piosz/load_generator
Disabled e2e load test on Jenkins
2015-05-15 17:38:20 +02:00
Victor Marmol
d3c6fb0d6a Merge pull request #8275 from dchen1107/clean
Install monit_watcher as a cron job (1m) to check if monit is running,
2015-05-15 08:02:55 -07:00
Victor Marmol
e7750fa0c7 Merge pull request #8274 from yujuhong/filter_terminated
kubelet: filter out terminated pods before rejecting pods
2015-05-15 08:02:44 -07:00
Robert Rati
30c7dbc7bd Correct logic for failing after % of containers fail. #7790 2015-05-15 10:06:30 -04:00
Brendan Burns
28591c661d Merge pull request #8226 from caesarxuchao/gce-pd-example-remove
remove examples/gce-pd
2015-05-15 15:02:40 +01:00
Filip Grzadkowski
1970e24bad Merge pull request #8310 from wojtek-t/rename_conversion_generator
Refactor conversion generator
2015-05-15 15:51:12 +02:00
Wojciech Tyczynski
71a09f6b1d Merge pull request #8309 from gmarek/fix_e2e
Fix kubectl e2e test
2015-05-15 15:48:12 +02:00
Piotr Szczesniak
9786f09426 Disabled e2e load test on Jenkins 2015-05-15 15:27:57 +02:00
Wojciech Tyczynski
108615d081 Refactor conversion generator 2015-05-15 15:11:18 +02:00
gmarek
d65f67a4d1 Fix kubectl e2e test 2015-05-15 15:02:53 +02:00
Wojciech Tyczynski
e1d9694558 Remove gob 2015-05-15 13:44:37 +02:00
kargakis
ac652d16e6 expose: Re-use labels in case none was specified 2015-05-15 11:54:41 +02:00
Ilya Yakovlev
5f992a4980 Update standalone.yaml 2015-05-15 12:09:13 +03:00
gmarek
27d660d0ac Add a resource specifying number of Pods that are allowed to run on Kubelet. 2015-05-15 10:57:46 +02:00
Marek Grabowski
f57f317830 Merge pull request #8306 from lvlv/master
Fix a potential bug in TestControllerBurstReplicas
2015-05-15 10:56:20 +02:00
Lv Lv
433a249610 Fix a potential bug in TestControllerBurstReplicas: manager.podStore.Store.Add(&pod) actually adds a pointer to a local copy of pod 2015-05-15 13:41:34 +08:00
BC Broussard
789364354a Fix misdirected links in Web UI 2015-05-14 21:16:36 -07:00
jayunit100
0a8577fced Test for hostPath which can eventually be refactored to also test emptyDir.
Add namespace support and remove requirement that host mount has to be type tmpfs
2015-05-14 23:09:21 -04:00
Robert Bailey
a91a7bfe77 Merge pull request #8265 from pmorie/e2e
Fix path construction bug in shell e2e
2015-05-14 19:37:15 -07:00
Victor Marmol
b00d844868 Merge pull request #8293 from BenTheElder/break_up_proxier
Move proxySocket out of proxier.go to proxysocket.go in pkg/proxy
2015-05-14 18:27:03 -07:00
Victor Marmol
c869f5d0cc Merge pull request #8282 from mbruzek/fixing-permissions
Fixing the permissions on python files.
2015-05-14 18:26:43 -07:00
Victor Marmol
296152ec6d Merge pull request #8281 from dchen1107/cleanup
OOM protected docker processes (-900)
2015-05-14 18:26:30 -07:00
Victor Marmol
7cc42209f5 Merge pull request #8278 from lavalamp/no-ro-nettest
Fix networking test
2015-05-14 18:26:15 -07:00
Victor Marmol
8d6dee9980 Merge pull request #8248 from pmorie/secrets-doc
Fix secrets example pod
2015-05-14 18:25:57 -07:00
Victor Marmol
8bc3e5121f Merge pull request #8188 from krousey/deep_copy
Changing the implementation of DeepCopy to use reflection
2015-05-14 18:25:30 -07:00
Yu-Ju Hong
4b40db3367 Remove /podInfo endpoint on kubelet
Kubelet sends pod status updates to the API server now. This endpoint is no
longer needed.
2015-05-14 17:51:26 -07:00
Chao Xu
2dcecf1f65 update example/liveness to v1beta3;
update the exec-liveness.yaml to reflect PR#8011
add a README
2015-05-14 16:41:42 -07:00
Victor Marmol
f701eba672 Merge pull request #8276 from antoineco/aws-update
refresh aws getting-started pages and templates
2015-05-14 16:38:08 -07:00
Paul Morie
3668f6ab5b Fix path construction bug in shell e2e 2015-05-14 19:37:24 -04:00
Brian Grant
268f1fd295 Merge pull request #8289 from krousey/api_conversion_doc
Advice to use default when no namespace is available.
2015-05-14 16:14:28 -07:00