Commit Graph

590 Commits

Author SHA1 Message Date
Prashanth Balasubramanian
1ae44c3a78 Delete target pools and forwarding rules in guestbook.sh, with -q 2015-03-11 14:51:50 -07:00
Zach Loafman
e780592315 Merge pull request #5264 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up (mulligan)
2015-03-11 11:46:45 -07:00
Zach Loafman
e6517e48eb Merge pull request #4321 from justinsb/e2e_simple
Create AWS provider branch for Jenkins build script, which doesn't assume artifacts are uploaded to GCS
2015-03-11 10:10:43 -07:00
Jeff Lowdermilk
7db006ab1a Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-10 14:23:34 -07:00
Brian Grant
a4d79bfb2c Merge pull request #5139 from ddysher/node-more-describe
Add more information to node describe
2015-03-10 11:26:51 -07:00
Brian Grant
d230c72e83 Merge pull request #5249 from erictune/fix-locally
Remove ignored flag.
2015-03-10 09:20:15 -07:00
Eric Tune
4d3211c60b Remove ignored flag.
When --apiservers is set, --etcd_servers is ignored.
Remove it.
2015-03-10 08:45:05 -07:00
Jeff Lowdermilk
a280e0da2d Revert "Standalone kubeconfig for gce kube-up" 2015-03-09 17:45:06 -07:00
Satnam Singh
89bc7bbea9 Merge pull request #5154 from jlowdermilk/kube-up
Standalone kubeconfig for gce kube-up
2015-03-09 16:22:51 -07:00
Jeff Lowdermilk
4173d369aa Generate standalone kubeconfig on kube-up, clear on kube-down.
Also tweaked the ginkgo tests to pull auth directly from a kubeconfig file
instead of the legacy kubernetes_auth file.
2015-03-09 16:02:00 -07:00
Deyuan Deng
58776da6a4 Add more information to node describe 2015-03-09 18:56:59 -04:00
Brendan Burns
9821c7f678 Delete any created load balancers in guestbook.sh 2015-03-09 13:38:45 -07:00
Clayton Coleman
42ff28c1a2 Merge pull request #5150 from vishh/issue_3628_1
Add json description to v1beta3 API.
2015-03-09 14:38:23 -04:00
Piotr Szczesniak
7c234d22ee Merge pull request #5177 from roberthbailey/guestbook-teardown
Always stop the guestbook example regardless of how the tests finishes.
2015-03-09 19:22:15 +01:00
Robert Bailey
451727aa19 Always stop the guestbook example regardless of how the tests finishes. This
should more reliably clean up the external load balancer.
2015-03-09 11:46:50 +01:00
Brendan Burns
2b7ae7fcd4 Fix coverage testing to work on OS X, where xargs is different. 2015-03-07 11:01:41 +01:00
Vishnu Kannan
17446061b0 Turn on "description:" verification for v1beta3 API. 2015-03-06 23:53:35 +00:00
Brendan Burns
ee351b3f9c Merge pull request #5110 from justinsb/aws_ginkgo_auth_config_path
auth_config path for aws for ginkgo
2015-03-06 15:29:53 +01:00
Justin Santa Barbara
4066826b10 auth_config path for aws for ginkgo 2015-03-05 15:19:25 -08:00
Salvatore Dario Minonne
75f2efb500 moving ParseSelector to Parse for labels only. 2015-03-05 22:39:36 +01:00
Justin Santa Barbara
e2c09f4470 Modify e2e to use local artifacts if present (to avoid GCS requirement) 2015-03-05 13:03:35 -08:00
roberthbailey
adc1492c2e Revert "Improved guestbook.sh test to become actual test" 2015-03-04 21:00:46 -08:00
Jeff Lowdermilk
84ab8cc113 Merge pull request #4588 from piosz/guestbook_test
Improved guestbook.sh test to become actual test
2015-03-04 10:40:37 -08:00
markturansky
a6a6947618 Added -E to sudo command 2015-03-04 10:14:46 -05:00
CJ Cullen
7bb7ba6577 Remove pd.sh now that we have pd.go 2015-03-03 15:14:15 -08:00
Filipe Brandenburger
fbfbc7e086 Merge pull request #4686 from ixdy/parallelize-unit-tests
Parallelize execution of unit tests in hack/test-go.sh.
2015-03-03 10:05:25 -08:00
Filip Grzadkowski
6ad2b86181 Fix hack/test-cmd.sh so that it passes on a local machine 2015-03-03 17:23:55 +01:00
Lénaïc Huard
d64f0f1183 Make libvirt-CoreOS cluster able to run e2e tests 2015-03-02 23:11:48 +01:00
Jeff Grafton
fbd11a1a23 Renable code coverage collection in unit tests, including on Travis.
When code coverage is not being collected, just issue a single 'go test'
command, as is already done. Go will internally parallize execution.

When code coverage is being collected, it is necessary to issue separate
'go test' commands for each package, since Go does not support
collecting coverage across packages. Using xargs -P will parallelize
these invocations, however, speeding up test execution.
The number of simultaneous processes to use can be specified with
KUBE_COVERPROCS.

Update Travis config to pass along the number of CPUs to use for running
tests.
2015-03-02 13:04:13 -08:00
Piotr Szczesniak
cc707ab114 Improved guestbook.sh test to become actual test
After change test waits until pods come up, then adds
entry to guestbook and verify if operation succeed

This fixes #3693
2015-03-02 21:19:39 +01:00
Robert Bailey
3ae85812bd Use the kubectl binary rather than the wrapper shell script in the
kubectl e2e test.
2015-03-01 21:45:04 -08:00
roberthbailey
3a21d295ec Merge pull request #4848 from jlowdermilk/cleanup
Remove update.sh now that e2e/kubectl.go is stable
2015-02-27 10:36:08 -08:00
Tim Hockin
7fe7de45e7 Merge pull request #4873 from justinsb/add_skip_push_gcs_2
Add SKIP_PUSH_GCS env so we can run without a push to GCS
2015-02-26 15:41:39 -08:00
Brendan Burns
0d23875c99 Merge pull request #4497 from swagiaal/health-check-hostname-mismatch
WIP: Catch kubelet-master hostname mismatch during health check
2015-02-26 14:48:21 -08:00
Justin Santa Barbara
27c3031506 Add SKIP_PUSH_GCS env so we can run without a push to GCS 2015-02-26 14:02:16 -08:00
Mike Danese
c9fcf45fd9 fix bad cmd-test for patch. 2015-02-26 11:21:03 -08:00
Jeff Lowdermilk
31b990a415 Remove update.sh now that e2e/kubectl.go is stable 2015-02-26 09:51:39 -08:00
Sami Wagiaalla
9150cb9d95 Catch kubelet-master hostname mismatch during health check
During the kubelet's /healthz responce check to see if the
hostname used by the master matches the hostname the kubelet
knows itself by. If not fail the health check.

Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-02-26 10:22:03 -05:00
Zach Loafman
57fe439adf Merge pull request #4773 from lhuard1A/test-cmd
Assert pre and post conditions of all commands in test-cmd.sh
2015-02-26 07:00:29 -08:00
Zach Loafman
f12f50e996 Merge pull request #4826 from a-robinson/certs
Rip out the certs.sh test since the certs.go test has been stable
2015-02-25 14:24:08 -08:00
Alex Robinson
ba12f9e229 Rip out the certs.sh test since the certs.go test has been stable. 2015-02-25 13:26:19 -08:00
Zach Loafman
84a2a9766a Revert "Remove host ports from the update demo and update tests" 2015-02-25 09:56:03 -08:00
Zach Loafman
2089324555 Revert "Use a different port for the kubectl proxy in the shell and go tests." 2015-02-25 09:54:54 -08:00
Robert Bailey
e7d67e4449 Use a different port for the kubectl proxy in the shell and go tests. 2015-02-25 09:32:41 -08:00
Lénaïc Huard
c23046dc0a Assert pre and post conditions of all commands in test-cmd.sh
`hack/test-cmd.sh` contains a list of `kubectl` commands to test.
However, the effect of the execution of those commands was not systematically
checked. As a consequence, it was possible to break a command without breaking
those tests.

This commit surrounds every single `kubectl` command with assertions on
pre and post condition.
2015-02-25 18:26:30 +01:00
Robert Bailey
dd87c247a5 Remove host ports from the update demo and update tests 2015-02-24 15:34:18 -08:00
rsokolowski
635281ebe3 Update guestbook example to use replication controller. 2015-02-24 20:21:13 +01:00
Masahiro Sano
29aae75329 fix missing command in test-cmd.sh 2015-02-24 23:20:45 +09:00
Jeff Grafton
0f2e9dbac8 Revert "Use goveralls to report coverage results from Travis."
Revert "Produce a combined coverage report when running Go unit tests."

These caused unit tests to run very slowly, causing problems with
Travis.
2015-02-23 14:35:48 -08:00
Zach Loafman
c0067656fb Revert "Add SKIP_PUSH_GCS env so we can run without a push to GCS" 2015-02-23 11:15:54 -08:00