Commit Graph

762 Commits (fd65427e28dac5675a6c287e11eb581d537f6f10)

Author SHA1 Message Date
Jeff Lowdermilk dda0af07b3 Merge pull request #7654 from eparis/boilerplate-speedup
Boilerplate speedup
2015-05-04 09:46:21 -07:00
Wojciech Tyczynski 690c991415 Merge pull request #7692 from BenTheElder/e2e_fixes
Fix typo in e2e
2015-05-04 12:01:22 +02:00
Wojciech Tyczynski a7205b1fe9 Merge pull request #7685 from jayunit100/etcd-minor
(minor) Add pgrep debugging to etcd error
2015-05-04 11:21:02 +02:00
BenTheElder 129d7f8d26 Fix typo in e2e
Correct comment in e2e.go ’…at least 3 minions running’ -> ‘…at least minMinionCount
minions running’.
2015-05-04 04:42:07 -04:00
jayunit100 cdf068495a (minor) Add pgrep debugging to etcd error 2015-05-03 16:59:45 +00:00
Eric Paris f4d0b8df3a Do all boilerplate checks in 1 python call
It's just a little bit faster.....

BEFORE:
$ time hack/verify-boilerplate.sh

real	0m9.378s
user	0m3.405s
sys	0m13.906s

AFTER:
$ time hack/verify-boilerplate.sh

real	0m0.181s
user	0m0.114s
sys	0m0.068s
2015-05-01 20:46:57 -04:00
Eric Paris 6b3a6e6b98 Make copyright ownership statement generic
Instead of saying "Google Inc." (which is not always correct) say "The
Kubernetes Authors", which is generic.
2015-05-01 17:49:56 -04:00
Zach Loafman 230449f122 Merge pull request #7593 from ixdy/jenkins-godep
Build github.com/onsi/ginkgo/ginkgo as a part of the release
2015-05-01 14:10:31 -07:00
Jeff Grafton 1359125a4e Build github.com/onsi/ginkgo/ginkgo as a part of the release.
Additionally, add hack/lib to the testing tarball.
2015-05-01 11:29:11 -07:00
Jeff Lowdermilk ec9942e995 Merge pull request #7540 from bprashanth/rollingupdate
Fix rolling update --image
2015-05-01 10:07:46 -07:00
Alex Robinson 1bb76633da Make hack/test-go.sh friendlier to OS X bash by not using a -1 array index.
Without this, everytime I run test-go.sh I get the following error:
./hack/test-go.sh: line 215: apiVersions: bad array subscript
2015-04-30 14:56:02 -07:00
Quinton Hoole bfaf976df7 Revert "Use native Ginkgo test runner instead of cmd/e2e" 2015-04-30 13:45:46 -07:00
Quinton Hoole 3602884d32 Merge pull request #7462 from ixdy/native-ginkgo-runner
Use native Ginkgo test runner instead of cmd/e2e
2015-04-30 13:27:04 -07:00
Prashanth Balasubramanian c8ea0c27e9 Fix rollingupdate --image 2015-04-30 11:28:18 -07:00
CJ Cullen 615906ccca Fix parallel-e2e.sh to work on my macbook (bash v3.2) 2015-04-29 10:52:21 -07:00
Jeff Grafton 57750ccb51 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.

Additionally, several tests which made poor assumptions about cwd or
used testContext before it was set have been fixed.

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
  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.)
2015-04-28 18:42:37 -07:00
Alex Robinson 79b9b1b0ef Build hyperkube into a static binary. 2015-04-28 02:13:09 +00:00
Tim Hockin a3d45fada8 Change flags to use dashes in help 2015-04-27 15:11:03 -07:00
Daniel Smith 83093af8b0 Merge pull request #5707 from endocode/kbeecher/etcd_prefix
Adds ability to define a prefix for etcd paths
2015-04-27 13:37:43 -07:00
Karl Beecher a7623ca6cc Adds ability to define a prefix for etcd paths
The API server can be supplied (via a command line flag) with a custom
prefix that is prepended to etcd resources paths.

Refs: #3476
2015-04-24 12:12:39 +02:00
Prashanth Balasubramanian 080bc5b3dd Configurable log levels for integration tests. 2015-04-23 18:12:48 -07:00
David Oppenheimer e8b28c59c6 Merge pull request #7228 from jlowdermilk/describe-examples
Add examples for kubectl describe, make gendocs less spammy
2015-04-23 16:08:35 -07:00
Jeff Lowdermilk a8e2f6e9c8 Add examples for kubectl describe, and make gendocs less spammy
Makes hack/{run/verify}-gendocs.sh ignore generated-timestamp-only
changes so minor changes to kubectl don't have to touch the entire
set of md docs.
2015-04-23 14:53:10 -07:00
nikhiljindal 1e323d77bc Updating the guestbook example to v1beta3 2015-04-23 14:34:36 -07:00
Brian Grant 97302af015 Merge pull request #5012 from smarterclayton/podtemplates
Pod templates as their own type
2015-04-22 11:50:24 -07:00
Zach Loafman e055ee0b71 Use KUBE_SKIP_UPDATE in Jenkins
After #7146, we need to protect Jenkins from the internal gcloud bug (again).
2015-04-22 10:08:09 -07:00
Clayton Coleman 10c2ace6bf Pod Templates 2015-04-22 12:54:25 -04:00
Max Forbes 5880166845 Add support for using released tars (instead of just ci) as well as using a stable version (instead of just latest). 2015-04-21 15:56:23 -07:00
Daniel Smith 1ebe994ba7 Merge pull request #7056 from kubernetes-ui/kubernetes-ui-dashboard
Kubernetes UI with Dashboard component
2015-04-21 12:16:47 -07:00
Robert Bailey a50e02bb3b Merge pull request #7078 from jlowdermilk/gke-kubectl
Use standalone kubectl for gke, remove special case for vagrant
2015-04-21 12:11:45 -07:00
Jeff Lowdermilk 70a576e25a Use standalone kubectl for gke, remove special case for vagrant
also fix hack/local-up-cluster.sh kubeconfig instructions
2015-04-21 11:01:45 -07:00
Patrick Reilly 716d98c39e initial commit of chrome only of new replacement web ui
remove node modules

make new data file for web ui

initial commit of dashboard

switch back to non SSL request

move port splitting to common place; add to node resource location

Signed-off-by: Patrick Reilly <patrick@kismatic.io>

various path fixes

make svg path relative

work around missing mime type

Signed-off-by: Patrick Reilly <patrick@kismatic.io>

fix paths

fix karma path

remove bad protractor test
2015-04-21 07:24:06 -07:00
Wojciech Tyczynski 21788d8e66 Merge pull request #7033 from nak3/add-cert_dir-option-to-apiserver
Add cert_dir option to kube-apiserver
2015-04-21 09:16:01 +02:00
Jeff Lowdermilk 89fba5ff63 Merge pull request #6942 from smarterclayton/simplify_object_export
List output with differing types should be more resilient
2015-04-20 13:48:57 -07:00
Jeff Grafton fafd1df7a6 Revert "Continue after failed unit test"
This reverts commit f70752d9e1.

This change caused Travis and Shippable to report success on all test
runs, even if any tests failed or timed out.
2015-04-20 11:59:18 -07:00
Clayton Coleman 545a5a865f List output with differing types should be more resilient
kubectl get can output a series of objects as a List in versioned
form, but not all API objects are available in the same schema.
Make the act of converting a []runtime.Object to api.List more
robust and add a test to verify its behavior in Get.

Makes it easier for client code to output unified objects.
2015-04-20 14:44:16 -04:00
Jeff Lowdermilk 196b3d066d Merge pull request #6919 from zmerlynn/sharded-e2e
Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
2015-04-20 11:34:18 -07:00
Zach Loafman a5f7f4c9a1 Add hack/parallel-e2e.sh to run hack/e2e.go on multiple clusters
$ hack/parallel-e2e.sh
Usage: hack/parallel-e2e.sh <number of clusters> [options to hack/e2e.go]

Output is logged to _output/e2e/<prefix>. Test failures are aggregated
by slurping the junit results from the parallelized output and
summarized at the end of the run.
2015-04-20 11:18:09 -07:00
Jeff Lowdermilk 3787fc5eca set KUBECONFIG in common.sh, default to new location
and preserve value in ginkgo e2e test driver
2015-04-20 11:07:35 -07:00
Kenjiro Nakayama 51d0443dde Add cert_dir option to kube-apiserver 2015-04-19 17:40:08 +09:00
Eric Paris 2915c90200 Remove -installsuffix from go build
This is a go install argument which has no use in go build. Clean it up.
2015-04-17 15:33:00 -04:00
Eric Paris d7fefb6f39 Indicate progress when doing a go build
It is slow.
2015-04-17 15:32:26 -04:00
Brian Grant 95183dde5a Merge pull request #6988 from zmerlynn/flock_gcloud_update
Use flock around gcloud component update to avoid race
2015-04-17 12:23:58 -07:00
Brian Grant 2cd04755c5 Merge pull request #6953 from eparis/cgo-build-fallback
fall back to go build when static cgo not possible
2015-04-17 12:03:50 -07:00
Jeff Lowdermilk 2a8291a67e Retry Move KUBECONFIG to common.sh, change default to new location 2015-04-17 10:33:12 -07:00
Zach Loafman d5f02b2970 Use flock around gcloud component update to avoid race 2015-04-17 09:50:15 -07:00
Clayton Coleman 3bc42f1635 Merge pull request #6573 from kargakis/setup-resource-aliases
Support setting up aliases for groups of resources
2015-04-17 11:16:30 -04:00
kargakis 9d056c6bd8 Support setting up aliases for groups of resources
Closes #5278
2015-04-17 16:31:59 +02:00
Eric Paris 5fb8602c65 fall back to go build when static cgo not possible
Instead of just failing, use go build if people don't have the magic cgo
stuff we need build-able/write-able.
2015-04-17 09:50:54 -04:00
Zach Loafman 0232888a4b Merge pull request #6975 from zmerlynn/dont_error_on_update
Don't error out if gcloud update fails
2015-04-17 06:17:12 -07:00