Commit Graph

210 Commits (5543e2e3fd8a314295ae6ef0aabb5c9a3cc20925)

Author SHA1 Message Date
Tim Hockin 9a83015e60 Fix path munging funcs and usage
Our `realpath` and `readlink -f` functions (required only because of MacOS,
thanks Steve) were poor substitutes at best.  Mostly they were downright
broken.  This thoroughly overhauls them and adds a test (in comments, since we
don't seem to have shell tests).  For all the interesting cases I could think
of, the fakes act just like the real thing.

Then use those and canonicalize KUBE_ROOT.  In order to make recursive calls of
our shell tool not additively grow `pwd` we have to essentially make the
sourcing of init.sh idempotent.
2016-05-08 20:30:38 -07:00
Tim Hockin 527cb50583 Demand at least go1.6 2016-05-08 20:30:37 -07:00
Tim Hockin cbf886c7f4 Convert everything to use vendor/ 2016-05-08 20:30:37 -07:00
k8s-merge-robot 41b7b04faf Merge pull request #24554 from ingvagabund/dhodovska-events-flag-for-describers
Automatic merge from submit-queue

Introduce events flag for describers

Printing events for a given object is not always needed. Thus, introducing --show-events=false to ``kubectl describe`` to skip events printing.

Fixes: #24239
2016-05-08 14:41:28 -07:00
Robert Bailey 2f65d2e617 Merge pull request #24666 from smarterclayton/munge_upstream
mungedocs should not assume upstream remote
2016-05-06 13:37:35 -07:00
Robert Bailey 828b4f8240 Merge pull request #24825 from kubernetes/revert-23157-fix-tags
Revert "Always use long format in git tag."
2016-05-06 13:34:32 -07:00
Jan Chaloupka dd2c9c578d Introduce kubectl describe --show-events
Introduce DescriberSettings for Describer display options
Introduce --show-events flag and DescriberSettings in Describer methods
Introduce unit-tests
Regenerated kubectl describe docs
Add events flag tests to test-cmd.sh

Signed-off-by: dhodovsk@redhat.com
Signed-off-by: jchaloup@redhat.com
2016-05-06 11:40:11 +02:00
jay vyas 7a824aaf49 Cassandra de-flake 2016-05-04 21:11:56 -04:00
Clayton Coleman 4636af5b87
mungedocs should not assume upstream remote
The standard Git convention is "origin", not "upstream", so make it
flexible in the scripts for those who are set up differently.
2016-04-27 21:33:09 -04:00
Isaac Hollander McCreery 215872613b Revert "Always use long format in git tag." 2016-04-26 15:03:15 -07:00
nikhiljindal aa4cdac005 hack/build-go tp build federation/cmd/federated-apiserver as well 2016-04-21 12:38:53 -07:00
k8s-merge-robot d40bf503ed Merge pull request #24256 from porridge/fix-newlines
Automatic merge from submit-queue

Fix spacing in usage_from_stdin and info_from_stdin (issue #24186).

If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line

Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.

Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-16 07:31:12 -07:00
Joe Finney 7179296e30
Move cmd/linkcheck to test targets. 2016-04-15 09:55:04 -07:00
k8s-merge-robot ff1da7674d Merge pull request #24268 from wojtek-t/remove_old_conversions_generator
Automatic merge from submit-queue

Remove old conversion generator
2016-04-15 04:25:19 -07:00
Wojciech Tyczynski 89e860e622 Remove old conversion generator 2016-04-15 12:07:57 +02:00
Daniel Smith f778cb3bc7 Merge pull request #24223 from tyangliu/generate-yaml-docs
Include genyaml in update/verify generated docs scripts
2016-04-14 16:22:03 -07:00
Marcin Owsiany 9ce855269e Fix spacing in usage_from_stdin and info_from_stdin (issue #24186).
If "a" is a bash array, then the syntax to append the contents of $line as a
new element to the array is a+=("$line"), not messages+=$line

Using the former syntax just seems to append to the first element, creating a
long string and thus losing newline information.

Fixing this allows us to drop some empty lines from invocations of
usage_from_stdin.
2016-04-14 18:19:02 +02:00
Lucas Käldström 4559a84d3b Build Kubernetes, etcd and flannel for arm64 and ppc64le 2016-04-14 07:29:10 +03:00
Thomas Liu f4f04e2985 Include genyaml in update/verify generated docs scripts 2016-04-13 15:11:31 -07:00
Wojciech Tyczynski ce9b2ab3e3 Remove old deep-copy generator. 2016-03-18 09:42:15 +01:00
Joe Finney 9ba006572a Always use long format in git tag. 2016-03-17 15:07:25 -07:00
Jeff Grafton 4cd652b048 Have curl retry etcd download if it fails 2016-03-16 13:43:46 -07:00
k8s-merge-robot 003c77f2d5 Merge pull request #22949 from ixdy/verify-all
Auto commit by PR queue bot
2016-03-14 20:11:41 -07:00
Jeff Grafton fb663f2cd5 Include Go version, platform, and other build info in version string
Additionally update MatchesServerVersion to only check GitVersion,
GitCommit, and GitTreeState.
2016-03-14 13:55:28 -07:00
Jeff Grafton 457b9d365a Make has_changes_against_upstream_branch detect uncommitted changes 2016-03-14 12:59:17 -07:00
Jeff Grafton 59a91326fa Automatically determine remote upstream name.
Also add option to force Godeps verification checks on post-commit
Jenkins.
2016-03-09 16:22:28 -08:00
Eric Paris cbc4581bd6 Default to allow new golang versions
Out tests for features that didn't exist in old golang versions (like
gofmt didn't exist in 1.3 or the linker didn't want an = in 1.4) checked
for the new version. But this means every time there is a new version we
have to update the test. This PR inverts the test. We do it the old way
for the old version and if a new version comes along we just assume it
is going to work the new way.
2016-03-07 09:57:36 -05:00
Wojciech Tyczynski 947589607b Print go version when building release 2016-03-02 16:40:35 +01:00
k8s-merge-robot 694cda4a89 Merge pull request #22037 from ixdy/etcd-version-check
Auto commit by PR queue bot
2016-02-29 22:44:39 -08:00
k8s-merge-robot cdf456af0e Merge pull request #21520 from mikedanese/fastbuild
Auto commit by PR queue bot
2016-02-28 07:23:22 -08:00
Fabio Yeon df4529e33d Merge pull request #21711 from sjenning/fix-flake-21640
increase wait_for_url defaults
2016-02-26 13:10:07 -08:00
Jeff Grafton 7adaf80cc7 Make hack/install-etcd.sh use hack/lib/etcd.sh 2016-02-26 11:54:43 -08:00
Phillip Wittrock a3623c0c14 Refactor node e2e tests
- Add Makefile targets
- Start services in the test harness and connect locally
- Build test into binary and copy to remote host to start services
- Use tar to copy binaries to remote hosts to simplify design
2016-02-22 20:06:15 -08:00
Seth Jennings fdc1e0b310 increase wait_for_url defaults 2016-02-22 15:32:03 -06:00
Mike Danese 132c4271dc add linux fastbuild option to ./build/release.sh 2016-02-19 10:18:05 -08:00
Lucas Käldström fa39730f0b Add test targets for ARM 2016-02-16 08:25:18 +02:00
Maisem Ali 1c6a223eaa Merge pull request #20865 from maisem/master
Adding a readiness probe to kubectl e2e tests.
2016-02-11 12:55:15 -08:00
Chao Xu 6aa23e4e49 refacotr update-api-reference-docs.sh 2016-02-10 16:46:59 -08:00
Maisem Ali 4dfdb154fb Adding testing-manifests to the test tar ball 2016-02-09 14:09:26 -08:00
Lucas Käldström c969c041e2 Add support for building arm, arm64 and ppc64le server and client targets 2016-02-07 20:35:14 +02:00
Tim Hockin 2052e334b6 mkdir in build when the output dir is needed 2016-02-06 21:14:20 -08:00
Clayton Coleman c49cd4edf9 Alter the build to generate for __internal correctly 2016-01-22 01:10:22 -05:00
Jeff Grafton 62bc09adf3 Only return unprivileged ports in get_random_port and fix nc argument bug 2016-01-19 16:24:43 -08:00
Mike Danese 22cfa5ea7e build: move some of hack/lib/ into a new cluster/lib/
Some functionality in hack/lib is currently depended on by
cluster/common.sh so kube-up from the full release tar (which
does not include hack/) is currently broken. With this PR we
create cluster/lib/ and move the necessary bits from hack/
over to get kube-up working again.

Fixes: 96d1b8d1b2
Signed-off-by: Mike Danese <mikedanese@google.com>
2016-01-11 17:10:26 -08:00
k8s-merge-robot b4ae87cada Merge pull request #19193 from luxas/static_kubectl
Auto commit by PR queue bot
2016-01-02 01:50:56 -08:00
Lucas Käldström ff9a3d3cb3 Build kubectl statically 2015-12-30 10:31:15 +02:00
Brendan Burns 4123a61df7 Add the client side bits of kubectl export 2015-12-22 10:41:59 -08:00
Eric Tune 32f5f4f239 Fix update/verify-codecgen.sh for OSX. 2015-12-18 21:20:33 -08:00
k8s-merge-robot 0641e4a8f0 Merge pull request #18417 from Pensu/master
Auto commit by PR queue bot
2015-12-18 10:35:00 -08:00
Tim Hockin 0df07424e7 Make go version requirements clearer 2015-12-10 12:09:25 -08:00