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
Filipe Brandenburger
0c7dce77dd
Turn the hack/e2e.go commands into standalone scripts.
...
This gets rid of bashWrap() and of running bash -s passing it a script
on stdin. Also get rid of most of the runBash*() helpers.
In particular, `go run hack/e2e.go -build` will now work when it needs
to ask whether it is OK to download a large docker image, it used to
fail since stdin was not available for the bash script using the `read`
command.
Tested by running a full `hack/e2e-test.sh` run including the build
stage without the docker image loaded, which used to fail before this
change.
2015-02-06 11:18:14 -08:00
Kennan
903ed06774
Merge remote-tracking branch 'upstream/master'
2015-02-06 08:16:28 +08:00
Kennan
492e03697f
Merge branch 'master' of https://github.com/HackToday/kubernetes
2015-02-06 08:10:49 +08:00
Kennan
eaab84a414
Check curl before use it
...
This check can help user figure out what's the issue during
local cluster setup
2015-02-06 08:02:50 +08:00
Zach Loafman
f21a25e7fc
Add hack/ginkgo-e2e.sh to kubernetes-test.tgz
2015-02-05 08:06:50 -08:00
Kennan
222c714cf6
Check curl before use it
...
This check can help user figure out what's the issue during
local cluster setup
2015-02-05 16:31:07 +08:00
Clayton Coleman
449f9d915e
Make hack/local-up-cluster.sh work again for etcd 2
2015-02-04 17:45:53 -05:00
Filipe Brandenburger
1d981f9345
Convert load of api/examples/pod.json into native Go definition of the api.Pod
...
This is another step in removing external dependencies of the Go e2e tests.
Remove references to this file on list of files required to run e2e tests.
Also use an unique name for the pod, so that failure in cleanup of a
previous run should not break a new run with a name conflict.
Tested by running cmd/e2e -t TestPodUpdate against an API server in GCE.
2015-01-30 15:25:56 -08:00