Commit Graph

5756 Commits

Author SHA1 Message Date
CJ Cullen
3a16a9c39e Merge pull request #4161 from pierredup/patch-1
Typo
2015-02-05 10:36:08 -08:00
Zach Loafman
f904484b38 Merge pull request #4173 from zmerlynn/fix_jenkins_3
Revert jenkins/e2e.sh back to 606b517a, minus -tap
2015-02-05 10:30:00 -08:00
Zach Loafman
c15595fdf7 Revert jenkins/e2e.sh back to 606b517a, minus -tap 2015-02-05 10:25:59 -08:00
Brendan Burns
8b25b43039 Merge pull request #4117 from wojtek-t/validate_docker_version
Check Docker version in Kubelet /healthz handler
2015-02-05 10:06:33 -08:00
Zach Loafman
253752d830 Merge pull request #4171 from zmerlynn/fix_jenkins_2
Add more logging
2015-02-05 10:02:35 -08:00
Zach Loafman
dad85ef4f1 Add more logging 2015-02-05 10:01:45 -08:00
Zach Loafman
afeaf8fc6f Merge pull request #4168 from zmerlynn/fix_jenkins
Fix jenkins/hack/e2e.sh, log errors better
2015-02-05 09:17:50 -08:00
Zach Loafman
0b456e40bf Fix jenkins/hack/e2e.sh, log errors better 2015-02-05 09:16:11 -08:00
Filipe Brandenburger
827dcbc623 Merge pull request #4145 from zmerlynn/contort_shell_under_go_tests
Pervert e2e shell tests to run under Ginkgo
2015-02-05 08:30:41 -08:00
Zach Loafman
2f33c06c21 Remove cluster/test-network.sh
To fix this, it would be an alias for:

  hack/ginkgo-e2e.sh -t TestNetwork

... which may not work on binary distributions, because it's relying
on test assets, so it probably shouldn't live in cluster/ ...
2015-02-05 08:14:39 -08:00
Zach Loafman
f21a25e7fc Add hack/ginkgo-e2e.sh to kubernetes-test.tgz 2015-02-05 08:06:50 -08:00
Zach Loafman
bace7593d0 Enable ginkgo.v (console output is missing spec without it) 2015-02-05 07:24:05 -08:00
Zach Loafman
688f96cd33 Run shell tests under Ginkgo, changing all reporting to JUnit
* Add a test/e2e/shell.go that slurps up everything in hack/e2e-suite
and runs it as a bash test, borrowing all the code from hack/e2e.go.

* Rip out all the crap in hack/e2e.go that deal with multiple tests

* Move hack/e2e-suite/goe2e.sh to hack/ginkgo-e2e.sh so that it
doesn't get slurped up.
2015-02-05 07:24:05 -08:00
Brian Grant
bb6b332a8b Merge pull request #3099 from proppy/git-sync
contrib: add git-sync container
2015-02-05 07:10:24 -08:00
Brian Grant
50b1034b6c Merge pull request #4122 from pmorie/comment
Clarify commenting in endpoints_controller
2015-02-05 07:09:56 -08:00
Brian Grant
2c9e620d43 Merge pull request #4102 from brendandburns/rc
Make the replication controller more resilient to event expiration in watch.
2015-02-05 07:08:35 -08:00
Brian Grant
42fec8ec4e Merge pull request #4110 from jimmidyson/proxy-tweaks
kubectl proxy: make static prefix configurable
2015-02-05 07:08:07 -08:00
Brian Grant
251348122c Merge pull request #4136 from yujuhong/fixvalidationtests
Fix tests in validation_test
2015-02-05 07:07:16 -08:00
Brian Grant
4e0ef6fda4 Merge pull request #4150 from nikhiljindal/cleanOperationAPI
Deleting the API objects related to /operations
2015-02-05 07:07:02 -08:00
Brian Grant
9f377b196e Merge pull request #4154 from brendandburns/docs
Remove kubecfg from all getting started docs.
2015-02-05 07:06:48 -08:00
Zach Loafman
bb8f35ce17 Merge pull request #4156 from filbranden/e2e_standalone_scripts
Make e2e shell tests work standalone
2015-02-05 07:02:25 -08:00
Pierre du Plessis
8ded7be5fb Typo 2015-02-05 15:10:32 +02:00
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
Brendan Burns
93776b1363 Remove kubecfg from all getting started docs. 2015-02-04 23:20:11 -08:00
nikhiljindal
19f7ecf31b Deleting the API objects related to /operations 2015-02-04 20:50:45 -08:00
Brian Grant
5de2e916e5 Merge pull request #4148 from nikhiljindal/swagger
Adding swagger files which got left out of last PR
2015-02-04 18:43:26 -08:00
nikhiljindal
68271eb689 Adding swagger files which got left out of last PR 2015-02-04 18:28:13 -08:00
Wojciech Tyczynski
1a3419f970 Fix the min allowed Docker version. 2015-02-05 02:34:04 +01:00
Tim Hockin
5fb9009f89 Merge pull request #4076 from brendandburns/fixer
Wait until containers actually finish running before trying to clean up
2015-02-04 17:31:40 -08:00
Brendan Burns
cfe5b14114 Wait until containers actually finish running before trying to clean up
volumes or pods.
2015-02-04 17:28:41 -08:00
Wojciech Tyczynski
524cdba101 Fix hack/test-cmd.sh test. 2015-02-05 01:58:26 +01:00
Satnam Singh
6c814c4af4 Merge pull request #4139 from filbranden/e2e_liveness_namespace
Use a custom namespace for running liveness e2e test cases.
2015-02-04 16:16:32 -08:00
Filipe Brandenburger
bf0977396f Merge pull request #4137 from satnam6502/kubeup
Report the found minions during validation of cluster
2015-02-04 16:06:55 -08:00
Filipe Brandenburger
e9591382a7 Use a custom namespace for running liveness e2e test cases.
This will allow us greated isolation between test case runs without the
need to include randomized uuids to many of the fields in the pods,
services and rcs creation requests.

Tested:
- Ran two instances of `e2e -t TestLivenessHttp -t TestLivenessExec`
  simultaneously and confirmed that pod names did not clash and that
  both of them completed successfully.
2015-02-04 16:05:54 -08:00
Satnam Singh
5691b535eb Report the found minions during validation of cluster 2015-02-04 15:58:04 -08:00
Brian Grant
5d2ea04bc2 Merge pull request #4133 from ddysher/0-fix-0
Use replication controller for redis master.
2015-02-04 15:54:12 -08:00
Brian Grant
849596c4a9 Merge pull request #4134 from nikhiljindal/swagger-ui
Updating swagger-ui code to the latest version and removing the 'Try it out' buttons
2015-02-04 15:51:32 -08:00
Yu-Ju Hong
283919e8b1 Fix tests in validation_test
Some tests expect the error cases to fail for a specific reason, but they could
fail for other reasons and still pass. This caused some changes to break the
tests without noticing the breakage. Example are the recent defaulting PR

This change fixes such tests and also updates some obsolete tests.
2015-02-04 15:44:46 -08:00
Deyuan Deng
f406a57c2c Use replication controller for redis master. 2015-02-04 18:23:36 -05:00
Nikhil Jindal
63c07ad58b Merge pull request #4129 from smarterclayton/add_user_agent
Add user agent string to all client requests
2015-02-04 15:05:31 -08:00
nikhiljindal
6684d962df Updating swagger-ui code to the latest version and removing the 'Try it out' buttons 2015-02-04 15:01:18 -08:00
Satnam Singh
9ec61ce355 Merge pull request #4004 from filbranden/e2e_podsvcenv_remove_embedded_json
Use api.Pod and api.Service objects instead of JSON snippets
2015-02-04 14:49:24 -08:00
Clayton Coleman
449f9d915e Make hack/local-up-cluster.sh work again for etcd 2 2015-02-04 17:45:53 -05:00
Clayton Coleman
0307d7ba98 Set a default user agent on all client.Client calls
Form:
  kube-controller-manager/v0.10.0 (linux/amd64) kubernetes/550b98e

  <basename(os.Argv)>/<gitVersion> (<GOOS>/<GOARCH>) kubernetes/<shortGitCommit>

Can be set by other clients
2015-02-04 17:45:53 -05:00
Brendan Burns
6e897524be Merge pull request #4093 from nelcy/master
Fix orphaned pod & volume cleanup order. Volumes need to be unmounted before pod cleanup.
2015-02-04 14:38:20 -08:00
Tim Hockin
e6e67e2662 Merge pull request #4124 from brendandburns/e2e2
Fix service generation and add tests I should have included in the first place.
2015-02-04 12:52:51 -08:00
Brendan Burns
550b98ebf4 Merge pull request #3931 from deads2k/deads-pull-more-info-from-request
pull more complete information from request
2015-02-04 12:23:20 -08:00
Brendan Burns
fa6ddf13e5 Fix service generation and add tests I should have included in the first place. 2015-02-04 12:14:53 -08:00
Paul Morie
3229a634a0 Clarify commenting in endpoints_controller 2015-02-04 15:14:05 -05:00
Wojciech Tyczynski
ead67108ce Use existing method to get Docker version. 2015-02-04 20:50:21 +01:00