Commit Graph

171 Commits

Author SHA1 Message Date
Tim Hockin
261d2ce423 Ignore whitespace when diffing generated docs 2015-07-17 15:28:58 -07:00
Daniel Smith
ffcc6cadb0 run munger over examples dir 2015-07-13 17:47:48 -07:00
Daniel Smith
bf77ecc3a9 Various munger changes
* Add analytics munger w/ munge heading
* More link autofixes
* Allow running a subset of munges
* Fix repo root detection
* Only process non-preformatted blocks
* Gendocs no longer adds the analytics link; mungedocs does that in a
  second pass.
2015-07-13 17:47:48 -07:00
Mike Danese
055115a109 fake realpath, and standardize treatment of trailing / of dirs in gendoc 2015-07-13 15:27:33 -07:00
Mike Danese
b4514ee1f3 fix run-gendocs to point to new repo location 2015-07-13 13:01:20 -07:00
Tim Hockin
06a6623a70 Filter munges out during doc generation
This allows us to apply content-mutating munges to generated files and nothave
the verifier flag them as needing regeneration later.
2015-07-13 11:23:07 -07:00
Daniel Smith
97ebc1aad9 improve output of kube_get_url 2015-06-09 15:26:09 -07:00
Jeff Lowdermilk
553f9f822b Add ga-beacon analytics to gendocs scripts
hack/run-gendocs.sh puts ga-beacon analytics link into all md files,
hack/verify-gendocs.sh verifies presence of link.
2015-05-15 18:56:38 -07:00
Tim Hockin
8e7970f2a1 mkdir -p in doc generation 2015-05-13 12:50:25 -07: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 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
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
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
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
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
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
Joe Beda
f18cd53687 Make dockerized build work when golang isn't installed. 2014-11-16 16:29:58 -08:00
Joe Beda
5d33ce46cc Rework hack/ and build/ directories.
* Rewrite a bunch of the hack/ directory with modular reusable bash libraries.
* Have 'build/*' build on 'hack/*'.  The stuff in build now just runs hack/* in a docker container.
* Use a docker data container to enable faster incremental builds.
* Standardize output to _output/{local,dockerized}/bin/OS/ARCH/*.  This regularized placement makes cross compilation work.
* Move travis specific scripts under hack/travis

With new dockerized incremental builds, I can do a no-op `make quick-release` in ~30s.  This is a significant improvement.
2014-11-01 17:56:41 -07:00