Commit Graph

5414 Commits

Author SHA1 Message Date
nikhiljindal
dc92d3c7a2 Cleaning up the operations code in client 2015-01-28 21:04:16 -08:00
Brian Grant
fcb1cd30ff Merge pull request #3891 from nikhiljindal/Operation
Deleting OperationHandler for handling /operation endpoint on server
2015-01-28 17:01:37 -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
Alex Mohr
dff727c50b Merge pull request #3875 from vmarmol/metadata
Using metadata library for GCE metadata fetch.
2015-01-28 16:38:43 -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
Brendan Burns
919b2d20e0 Merge pull request #3904 from mrunalp/cleanup/net_pod_infra
Replace "net" by "pod infra" in docs, comments and format strings.
2015-01-28 15:55:25 -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
Filipe Brandenburger
7f3fec79a9 Merge pull request #3905 from satnam6502/apiserver
Parameterize API rate limits for apiserver
2015-01-28 15:40:14 -08:00
Jeff Lowdermlk
c912b831ce Update update-demo example and e2e test to use kubectl 2015-01-28 15:26:56 -08:00
Filipe Brandenburger
bd79d00e22 Generate JUnit XML for Jenkins from the Go e2e tests
Use ginkgo's native support for JUnit in order to generate the XML file.

This is a first step in better integration of our e2e tests with
Jenkins. In order to improve the logged information, we will probably
need to have more native ginkgo tests but this step allows us to see
what Jenkins can already do with this information and what we need to
tweak to improve it.

Tested by running the full e2e tests and inspecting the contents of
junit.xml on the top of the tree.

Textual output is still generated on the console to keep the current
goe2e.sh logs available until the full conversion of our Jenkins
instance to use the JUnit XML is completed.
2015-01-28 15:09:53 -08:00
Filipe Brandenburger
1c028de03a Initial adoption of ginkgo in e2e tests
In order to adopt ginkgo incrementally, let's start by replacing
test/e2e/driver.go with a call to ginkgo runner and convert each of the
other tests to a small Decscribe() snippet that simply calls the legacy
TestXYZ function.

From this basis we can take further incremental steps by converting
individual tests to native ginkgo format, using Fail() for all failure
cases, using By() for logs, enabling JUnit reports, etc.

Tested:
- cmd/e2e builds and `make check` passes.
- Running _output/bin/.../e2e on an alive cluster works.
- Running the full hack/e2e-test.sh works as expected.
2015-01-28 15:09:53 -08:00
Filipe Brandenburger
dd8ada849e Import ginkgo and gomega libraries into kubernetes
This commit uses `godep` to vendor these libraries into our project.

They are not yet in use but we plan to use them in `test/e2e` in a follow up commit.
2015-01-28 15:09:53 -08:00
Satnam Singh
7d9845fc83 Parameterize API rate limits for apiserver 2015-01-28 15:08:08 -08:00
Jeff Lowdermlk
6e98ce34ca Fix kubectl proxy
Port flag was being ignored. Fixed now.
2015-01-28 15:07:00 -08:00
Mrunal Patel
19e0605f5b Replace "net" by "pod infra" in docs and format strings. 2015-01-28 15:03:06 -08:00
Brian Grant
613aa42550 Merge pull request #3900 from brendandburns/api2
Change persistentDisk to gcePersistentDisk for v1beta3
2015-01-28 15:02:55 -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
Satnam Singh
c27bc2f38a Merge pull request #3896 from brendandburns/e2e2
Add a hacky sleep in an attempt to deflake a test.
2015-01-28 14:41:29 -08:00
Filipe Brandenburger
b0b883defc Merge pull request #3898 from satnam6502/throttle
Set Retry-After header before calling WriteHeader
2015-01-28 14:38:17 -08:00
Brendan Burns
6bcfe4f430 Change persistentDisk to gcePersistentDisk for v1beta3 2015-01-28 14:29:53 -08:00
Satnam Singh
5d5752374b Set Retry-After header before calling WriteHeader 2015-01-28 14:28:37 -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
Eric Tune
bba01c7a54 Merge pull request #3796 from derekwaynecarr/resource_quota
Admission Control: Resource Quota
2015-01-28 13:17:08 -08:00
nikhiljindal
521728e920 Deleting OperationHandler for handling /operation endpoint on server 2015-01-28 13:13:10 -08:00
Tim Hockin
804643a04b Merge pull request #3818 from mikedanese/probe-refactor
break api.Probe out of api.LivenessProbe
2015-01-28 12:41:35 -08:00
Brendan Burns
e07558bb2c Merge pull request #3887 from dchen1107/cleanup
Increase timeout for all testcases in file_test.go
2015-01-28 12:14:39 -08:00
derekwaynecarr
0ff20c84dd Rebase errors 2015-01-28 15:09:42 -05:00
derekwaynecarr
9674f08504 Added unit tests for incrementing usage 2015-01-28 15:03:19 -05:00
derekwaynecarr
4887d71c51 Implement resource quota admission plugin 2015-01-28 15:03:19 -05:00
derekwaynecarr
67b359ebf9 Add a resource quota controller to track usage state 2015-01-28 15:03:19 -05:00
derekwaynecarr
829fa69527 Introduce a ResourceQuota object 2015-01-28 15:03:19 -05:00
Dawn Chen
b0bcee7b40 Increase timeout for all testcases in file_test.go 2015-01-28 11:27:15 -08:00
Mike Danese
78f33e950a rename api.LivenessProbe to api.Probe and break out Actions 2015-01-28 11:20:44 -08:00
Tim Hockin
c8f61885df Merge pull request #3695 from mikedanese/ready
refactor pkg/health into more reusable pkg/probe
2015-01-28 11:00:32 -08:00
Brendan Burns
bd802c41ff Merge pull request #3863 from roberthbailey/get-kube
Add GKE as a provider to get-kube.sh.
2015-01-28 10:15:04 -08:00
Brendan Burns
2b0ba723fd Merge pull request #3870 from yujuhong/typos
Fix typos in ubuntu_single_node.md
2015-01-28 10:14:54 -08:00
Clayton Coleman
5117189e03 Merge pull request #3707 from nikhiljindal/preOperations
Removing support for asynchronous server requests
2015-01-28 13:02:52 -05:00
Clayton Coleman
4466aed3cc Merge pull request #3867 from deads2k/deads-partial-reststorage-registration
return all errors from RESTStorage registration
2015-01-28 13:02:39 -05:00
Brendan Burns
6d80aad57e Merge pull request #3877 from thockin/infra_name
More e2e damage from renaming "net" to "POD"
2015-01-28 10:00:50 -08:00
Tim Hockin
60119db5d5 More e2e damage from renaming "net" to "POD"
This stops the bleeding.  Will followup with a constant.
2015-01-28 09:58:19 -08:00
Victor Marmol
41bc0b301d Using metadata library for GCE metadata fetch.
Fixes #3343.
2015-01-28 09:20:25 -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
Tim Hockin
c1a4a43347 Merge pull request #3857 from brendandburns/sanity
Add monit support for restarting etcd to the master.
2015-01-28 09:06:55 -08:00
Tim Hockin
ac5512206d Merge pull request #3874 from pmorie/typo
Fix typo in kubelet
2015-01-28 09:05:26 -08:00
Paul Morie
962bdda0dc Fix typo in kubelet 2015-01-28 12:00:53 -05:00
Tim Hockin
80ff2128de Merge pull request #3844 from mikedanese/dockercfg-dirs
Check other dirs for .dockercfg
2015-01-28 08:50:08 -08:00
deads2k
6e1f680a57 return all errors from RESTStorage registration 2015-01-28 10:31:33 -05:00