Kenjiro Nakayama
4c9f2d89ba
Add genbashcomp to KUBE_TEST_TARGETS
2015-05-05 16:42:23 +09: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
jayunit100
cdf068495a
(minor) Add pgrep debugging to etcd error
2015-05-03 16:59:45 +00: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
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
Quinton Hoole
bfaf976df7
Revert "Use native Ginkgo test runner instead of cmd/e2e"
2015-04-30 13:45:46 -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
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
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
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
Xiang Li
5466dd8138
hack: reliable sort in util.sh
2015-04-14 12:52:28 -07:00
Eric Paris
26149bd83d
Doc generation should remove old doc files
...
Right now, our doc generation scripts notice if you make changes and
don't regen docs, don't include new docs, etc. But they miss it if your
changes should have REMOVED a doc. Both kubectl-apiversion and
kubectl-clusterinfo should have been removed, but weren't.
This patch starts tracking all generated doc files and will cause
problems if files should be removed and aren't.
2015-04-13 17:48:24 -04:00
Eric Paris
d7a89117b7
Use a helper to find built binaries
...
Instead of doing it all outselves....
2015-04-13 15:27:55 -04:00
Rohit Jnagal
8b4914dd0f
Merge pull request #6472 from zmerlynn/fix_build_status
...
Add kube::util::wait-for-jobs to report status, unlike builtin wait
2015-04-06 13:39:58 -07:00
Zach Loafman
2bc5dd559a
Add kube::util::wait-for-jobs to report status, unlike builtin wait
...
** Sigh **
Fixes an additional complaint in #6463
2015-04-06 11:11:49 -07:00
Young
802610b13a
etcd should be started after the trap func set
2015-04-05 03:41:26 -04:00
Zach Loafman
c0ed73a10d
Only build in parallel if the build machine is >8G
2015-04-02 17:56:45 -07:00
Zach Loafman
e159c02a2a
Completely neutral commit that just factors each platform build out to
...
a function (to make it kinder on reviewers for the next piece).
2015-04-02 17:56:44 -07:00
Zach Loafman
04813f0dcd
Revert "Revert "Parallelize architectures in both the building and packaging phases of `make release`""
...
This reverts commit 9f60dde320
.
2015-04-02 17:56:44 -07:00
Zach Loafman
9f60dde320
Revert "Parallelize architectures in both the building and packaging phases of `make release`"
2015-04-02 08:49:11 -07:00
Zach Loafman
0bbf4e99f6
Re tab-ify golang.sh
2015-04-01 17:31:15 -07:00
Zach Loafman
44b4c9ff26
Parallelize architectures in "make release"
...
On my desktop, this took the KUBE_RELEASE_RUN_TESTS=n
"make release" down from 172s to 115s
2015-04-01 17:29:22 -07:00
Tim Hockin
005da75f4a
Make the build faster - call 'go install' once
2015-04-01 10:10:27 -07:00
Paul Morie
fdae6748d2
Fix typo in std install instructions for build
2015-03-31 17:36:47 -04:00
Brian Grant
3354cffbf0
Merge pull request #6182 from thockin/plural_services_20
...
Implement multi-port Services
2015-03-31 12:55:21 -07:00
Abhishek Shah
745368d6b2
Nicer error msg if stdlib pkg with cgo flag is not installed
2015-03-31 08:37:33 -07:00
Tim Hockin
eeff1b74fb
Fixes from feedback and testing
2015-03-30 23:52:37 -07:00
Clayton Coleman
1618c39a46
Convert List query parameters via object conversion
...
Convert url.Values -> an object, with appropriate versioning. ListOptions
should also expose parameter names to swagger.
2015-03-27 15:03:57 -04:00
Jeff Grafton
46e8c08fe8
Update kube::log::{error,status} to include timestamp.
...
Additionally, make the build scripts call these rather than calling
'echo' directly.
2015-03-25 16:02:48 -07:00
Filip Grzadkowski
aa9e25f293
Wait for etcd shutdown in integration tests
2015-03-25 17:01:04 +01:00
Abhishek Shah
9a901ed46d
build kube-apiserver, kube-scheduler and kube-controller-manager statically.
2015-03-17 16:03:31 -07:00
Brendan Burns
60b2b5d5b4
Merge pull request #5447 from jayunit100/k8petstore
...
K8petstore
2015-03-17 07:28:30 -07:00
Jeff Lowdermilk
404b20e6b8
Add dependencies for k8petstore to Godeps
...
Cleanup k8petstore to use Godeps dependencies, add to hack/build-go.sh
Remove trailing spaces, README
2015-03-17 07:06:01 -04:00
Victor Marmol
d7a7d4da08
Revert #5479 , don't force no cgo.
...
We allow cgo when available since some of our server components (mainly
Kubelet) rely on it. The current driving factor for the static binaries
was building Docker images from scratch. We will instead use images
built from small busybox bases.
Fixes #5517
2015-03-16 16:03:46 -07:00
Tim Hockin
dab2d1a14b
Merge pull request #5420 from vmarmol/cross
...
Make "kubernetes" a server binary.
2015-03-16 14:29:51 -07:00
Abhishek Shah
4b24aa2d7f
Build statically linked binaryies. With the change to go 1.4, we probably were generating dynamically linked binaries accidentally.
2015-03-13 23:33:10 -07:00
Victor Marmol
adbc8e2f9c
Make "kubernetes" a server binary.
...
It includes many of the server components which we only expect to be
able to build in the server target architectures, but it is included in
the client build targets.
2015-03-12 17:37:56 -07:00
Deyuan Deng
58776da6a4
Add more information to node describe
2015-03-09 18:56:59 -04:00
Salvatore Dario Minonne
75f2efb500
moving ParseSelector to Parse for labels only.
2015-03-05 22:39:36 +01: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
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
Tim Hockin
0810e1fa99
build hyperkube
2015-02-20 08:49:11 -08:00
Eric Paris
8e64be1c66
Add godeps for man page autogeneration
2015-02-12 18:38:25 -05:00
Jeff Lowdermilk
197059b65d
Remove kubecfg, cleanup a few stray references.
2015-02-10 16:43:12 -08:00
CJ Cullen
a840c20939
Merge pull request #4158 from HackToday/master
...
Check curl before use it
2015-02-10 16:24:53 -08:00
Clayton Coleman
4369e31b9d
Integration tests should use 127.0.0.1 consistently
2015-02-09 14:30:31 -05:00
Filipe Brandenburger
e63ccfff6c
Reintroduce "Turn the hack/e2e.go commands into standalone scripts."
...
This reverts commit 2765660101
,
which reverted a commit 0c7dce77dd
, so
we're reintroducing the same code from that commit here.
2015-02-06 14:35:43 -08:00
Zach Loafman
2765660101
Revert "Turn the hack/e2e.go commands into standalone scripts."
2015-02-06 14:13:00 -08:00