Commit Graph

205 Commits (b6057adb410df2a6ceaa04a145b94d930cd3f284)

Author SHA1 Message Date
Tim Hockin 95f57dc886 Clean up e2e more
Don't early-terminate on test fail.
Log which tests failed at the end.
2014-10-16 11:08:39 -07:00
Tim Hockin 99bca68c7d Add local-up support 2014-10-16 08:36:47 -07:00
Tim Hockin 1c2f04b8b7 Add e2e test 2014-10-16 08:36:47 -07:00
Tim Hockin e907011111 Core support for ip-per-service 2014-10-16 08:36:47 -07:00
Eric Tune 6f577aa321 Merge pull request #1789 from lavalamp/eventing4
Add event creation library and implement in scheduler.
2014-10-15 15:55:26 -07:00
Joe Beda 1874926a70 Merge pull request #1815 from thockin/e2e
Better final print in e2e
2014-10-15 15:51:18 -07:00
Sam Ghods 4b220f8b0a kubectl: kubecfg rewrite for better modularity and improved UX 2014-10-15 15:29:54 -07:00
Tim Hockin ee1f2ddf7c Better final print in e2e 2014-10-15 14:31:15 -07:00
bgrant0607 e7573f63b3 Merge pull request #1812 from thockin/e2e
Allow e2e to only run some tests
2014-10-15 13:45:17 -07:00
Tim Hockin d6d92d13f0 Allow e2e to only run some tests 2014-10-15 13:08:25 -07:00
Daniel Smith 180e90f7eb Merge pull request #1790 from jbeda/1678-fix-e2e
Deal with the case where a pod goes away after we list it.
2014-10-15 12:01:28 -07:00
Daniel Smith 2987747a0f Merge pull request #1794 from brendandburns/e2e
Add a pod update e2e test in go. Also adjust validation logic a little.
2014-10-15 11:59:30 -07:00
Daniel Smith d4c750a878 Fix vet-go.sh and some things it complained about 2014-10-15 11:56:19 -07:00
Joe Beda 391335cbff Deal with the case where a pod goes away after we list it.
Fixes #1678
2014-10-15 11:20:17 -07:00
Tim Hockin 360f2e53b0 Revamp e2e basic test to use a smaller container. 2014-10-15 10:54:56 -07:00
Brendan Burns 8d38f8890e Add an e2e test in go. Also adjust validation logic a little to make it more reasonable.
Not integrated into existing e2e yet.
2014-10-14 16:43:00 -07:00
Joe Beda e1b9f1aae2 Handle empty array in update.sh
Fixes #1776
2014-10-14 13:07:22 -07:00
Joe Beda 96c1bc17ca Set shell options for reliability.
Tweak a few other small things in our shell scripts.
2014-10-10 12:33:36 -07:00
Joe Beda d43a6ec5a3 Standardize how we refer to the kubernetes root.
Now use $KUBE_ROOT as the variable pretty much everywhere.
2014-10-10 12:33:36 -07:00
Joe Beda 38d5906044 Clean up READMEs and broken stuff.
Move all support for clouds that are broken with this change into an `icebox` directory.  We'll move that stuff back out as we fix it up.
2014-10-10 12:33:36 -07:00
Filipe Brandenburger 60af857077 Merge pull request #1633 from thockin/vet
Add a script to run 'go vet'
2014-10-09 17:23:51 -07:00
Johan Euphrosine 784553c483 hack: add cluster in a pod manifest 2014-10-08 17:52:08 -07:00
Tim Hockin 61dcb91885 Add a script to run 'go vet' 2014-10-07 17:54:38 -07:00
Sam Ghods 868c6fe4b8 Increase logging levels in hack/local-up-cluster.sh 2014-10-07 00:07:05 -07:00
Sam Ghods 97dd16b913 Fix hack/local-up-cluster.sh to ensure apiserver comes up 2014-10-06 19:38:27 -07:00
Dawn Chen a86d496f9a Fix e2e tests. 2014-10-06 13:37:24 -07:00
David Reynolds 9fece09f26 Use -addr in start_etcd instead of -bind-addr 2014-09-30 19:33:28 -07:00
Joe Beda 81e91db697 Grab images as part of update e2e test 2014-09-26 14:31:12 -07:00
Joe Beda 7d6f5b45ea Merge pull request #1414 from brendandburns/fix
Clean up scripts to require a minimal gsutil version.
2014-09-25 09:54:36 -07:00
Tim Hockin d5f3d152d2 Merge pull request #1435 from brendandburns/e2e2
Add a new network for e2e tests, to isolate it from any other cluster.
2014-09-25 08:47:19 -07:00
Brendan Burns 511ec280b9 Add a new network for e2e tests, to isolate it from any other cluster. 2014-09-24 22:37:19 -07:00
Brendan Burns 431caa93df Merge pull request #1335 from dchen1107/exit1
Convert existing kubernetes system to use ContainerStatus, instead of
2014-09-24 21:37:24 -07:00
Dawn Chen 96686b3692 Update e2e test to reflect the change. 2014-09-24 16:42:10 -07:00
Brendan Burns 4a034b4e77 Clean up scripts to require a minimal gsutil version. 2014-09-24 14:27:16 -07:00
Daniel Smith 50eb2cf59c fix verify-gofmt's version detection 2014-09-24 14:25:21 -07:00
Dawn Chen 0e6ec3cbfc Convert existing kubernetes system to use ContainerStatus, instead of
docker.Container directly.

Conflicts:
	pkg/kubelet/dockertools/docker.go
	pkg/registry/pod/rest.go
2014-09-24 11:16:46 -07:00
Filipe Brandenburger 30db3e281d Cleanup hack/test-integration.sh
Proper quoting, error checks, use $KUBE_* variables when applicable, trap to do
cleanup on all errors, call cleanup explicitly on successful exit.

Tested:
- Ran it manually to completion, test run successful.
- Interrupted it during the run, checked that $? was non-zero, etcd was killed.

Signed-off-by: Filipe Brandenburger <filbranden@google.com>
2014-09-23 09:37:29 -07:00
Eric Paris a96d16f8c0 Allow option to not build cmd/integration
In case it was built seperately (as in, on Fedora, we cannot use go
install as we do not have write permission to portions of the GOPATH)
2014-09-23 11:56:26 -04:00
Eric Paris 3a40db8f56 hack: Switch some $(dirname $0)../blah to use ${KUBE_*} vars
This doesn't fix anything broken. But we have config-go which exports
KUBE_REPO_ROOT and KUBE_TARGET.  Using those means the test scripts can
be more easily moved around the repo and still work.  Especially in
hack/test-integration.sh where we use hack/build-go.sh which is going
to use KUBE_TARGET to place the binary, then we use a different method
to find/execute the binary...
2014-09-23 10:10:55 -04:00
Tim Hockin cf86d66076 rename labels in kubcfg logic 2014-09-22 15:34:13 -07:00
Clayton Coleman 463a16af36 Add benchmarks for API tests 2014-09-19 17:17:54 -04:00
Clayton Coleman 54e0af8b96 Allow -race to be disabled in test-go.sh 2014-09-19 14:09:42 -04:00
Clayton Coleman 27bbd7df56 Increase the hack/test-go.sh timeout to account for more fuzzing
We fuzz v1beta1 and v1beta2 now, so fuzzer takes twice as long.
2014-09-18 14:17:32 -04:00
Jessica Forrester 2dc30aa932 Remove unused enable_cors flag and allow localhost without a port as an origin in local-up-cluster 2014-09-12 13:01:32 -04:00
Filipe Brandenburger fabf7c7f55 Fix the e2e scripts after PR 1284 which added a new file. 2014-09-11 15:32:11 -07:00
Daniel Smith 6757b402d5 Merge pull request #1133 from jwforres/enable_cors
Add option to enable a simple CORS implementation for the api server
2014-09-11 13:59:14 -07:00
Eric Paris d687156154 Try to document all environment variable used by config-go.sh 2014-09-10 17:16:27 -04:00
Eric Paris df5fe66636 KUBE_NO_GODEPS to not use in tree godeps
If this is set, and it normally shouldn't be, the config file will not
add the in tree Godeps to the GOPATH.  So all of them must be solved by
the KUBE_EXTRA_GOPATH
2014-09-10 16:51:23 -04:00
Eric Paris 35f03d4241 KUBE_EXTRA_GOPATH to append to the GOPATH
So you can add your own package to the GOPATH outside of the kube tree
2014-09-10 16:47:57 -04:00
Eric Paris e426dd78a1 function to turn list of targets to list of go packages 2014-09-10 13:16:45 -04:00