Commit Graph

44 Commits (458eb5284abd6933c620ba8ea383032f225e0885)

Author SHA1 Message Date
Chao Xu 3ec4cd423e linkchecker tool now visits the URL to determine if it's valid 2016-01-26 17:01:37 -08:00
Clayton Coleman c49cd4edf9 Alter the build to generate for __internal correctly 2016-01-22 01:10:22 -05:00
deads2k 14396fc464 add subject access review types 2016-01-20 08:24:15 -05:00
k8s-merge-robot 9264340338 Merge pull request #17854 from smarterclayton/basic_proto
Auto commit by PR queue bot
2016-01-07 22:03:36 -08:00
Clayton Coleman b1e01875a1 go-to-protobuf: generate protobuf IDL and marshalers for Go structs 2016-01-06 21:09:20 -05:00
k8s-merge-robot 9e927f08b1 Merge pull request #19292 from pmorie/swagger-api-regen
Auto commit by PR queue bot
2016-01-06 06:30:27 -08:00
Paul Morie dbe7b29c14 Send API server output during swagger spec regen to /tmp 2016-01-05 12:58:58 -05:00
Wojciech Tyczynski baf97c9c5e First use of new deep-copy generator. 2015-12-29 18:06:09 +01:00
Wojciech Tyczynski 9d912e843b Update/verify client generator in scripts 2015-12-28 14:24:43 +01:00
k8s-merge-robot 6f6e97f2e4 Merge pull request #17987 from mml/mungedocs
Auto commit by PR queue bot
2015-12-04 02:13:54 -08:00
Daniel Smith ad925dd2e8 Add verification to code gen 2015-12-02 14:14:49 -08:00
Matt Liggett 08418a486d Add debugging output to mungedocs when --verbose=true.
Hope to understand why verify-generated-docs is failing on jenkins but
not here.
2015-11-30 13:43:19 -08:00
Paul Morie 1f9d605096 Add description check for spaces around omitempty directive 2015-11-17 14:01:28 -05:00
Timothy St. Clair b577dbd1d0 Add very simple symbol checking to single monolithic binary
to prevent binding in other testing symbols by accident.
2015-11-09 11:19:41 -06:00
Nikhil Jindal 34cbe48736 Merge pull request #16690 from nikhiljindal/apiDeclNotFound
Fixing missing swagger spec for apis/extensions
2015-11-03 14:36:31 -08:00
nikhiljindal 326d333777 Fixing and running update-swagger-spec 2015-11-02 14:28:39 -08:00
Tim St. Clair 5cd5b80f9e Set up new "metrics" API group.
This commit only adds 2 placeholder structs to the API, for the purposes
of separating the API group setup from the API discussion.
2015-11-02 09:49:02 -08:00
Mike Danese e6d3b47eb0 add componentconfig api group to autogen stuff 2015-10-31 11:42:38 -07:00
feisky 13dce74adb Gendocs for docs/admin/kube-* 2015-10-25 19:24:23 +08:00
Jeff Grafton 4cafa3e92d Ignore _gopath in verify scripts
The _gopath directory is used in Jenkins to install extra dependencies,
and any files in it should be ignored by the various verification
scripts.
2015-10-19 14:09:23 -07:00
Nikhil Jindal c6b5f7ff5a Merge pull request #15516 from nikhiljindal/runtimeConfig
Enable extensions/v1beta1 by default and allow runtimeConfig to support enabling/disabling specific resources
2015-10-15 20:16:54 -07:00
nikhiljindal 39e461b7f9 Updating swagger spec to include the new extension resources that are enabled by default 2015-10-15 14:26:37 -07:00
Mike Danese d379a360c6 copy directory not contents of directory 2015-10-15 13:43:20 -07:00
Chao Xu f40f1de81e fix verify-generated-conversions.sh 2015-10-09 16:11:54 -07:00
Chao Xu cd98de5188 fix verify-generated-deep-copies.sh 2015-10-09 16:08:52 -07:00
Chao Xu ccf989a2ae manual fix hack/after-build/update-generated-deep-copies.sh 2015-10-09 15:38:38 -07:00
Chao Xu cc4ec80ec7 in scripts, experimental/v1alpha1->extensions/v1beta1 2015-10-09 15:19:13 -07:00
Mike Danese 53e14c7a1e diff all of pkg/ when verifying swagerspec instead of just pkg/api/ 2015-10-07 11:44:12 -07:00
Chao Xu ae1293418b move experimental/v1 to experimental/v1alpha1;
use "group/version" in many places where used to expect "version" only.
2015-09-24 15:32:11 -07:00
Kris f4ad00d9ae Moving Status object to a common package 2015-09-17 14:09:53 -07:00
Jeff Lowdermilk ebc0b02b7d Merge pull request #13613 from eparis/rework-doc-generation
Rework automatic doc generation
2015-09-15 17:35:47 -07:00
Chao Xu a7b5e11171 fix KUBE_API_VERSIONS in update_swagger_spec.sh 2015-09-11 17:33:22 -07:00
Eric Paris 58d6b29e97 Rework doc generation to simplify and centralize
Just do all doc generation in the hack::util::gen-docs instead of spread
around. We also only track the generated docs in a single file for the
whole tree.
2015-09-11 19:32:08 -04:00
Daniel Smith 7a0fc719fb Fix tooling for apis/experimental's new home
* fix package name
* add a script to auto-gofmt everything, useful after grep/sed incantations
* update conversion/deep copy generation
* doc update
2015-09-11 16:06:10 -07:00
Chao Xu 10c8179030 enable verify-description.sh for pkg/expapi/v1/types.go 2015-09-08 08:59:52 -07:00
Chao Xu 530a9a0238 cover expapi when genereate types_swagger_doc_generated.go 2015-09-02 10:01:40 -07:00
Anastasis Andronidis e27a76ae81 hack and hooks scripts for generating swagger docs 2015-08-22 02:27:41 +02:00
Tim Hockin 16a33318b7 Use a valid address for swagger 2015-08-18 21:50:27 -07:00
Eric Paris 8f3577e5d2 Do not use goimports in hack/update-generated-conversions.sh
Stop depending on an external binary needing to be on people's system.
Use the code directly.
2015-08-13 19:37:01 -04:00
Eric Paris 00929ed7d8 Convert generated-deep-copies to use golang.org/x/tools/imports
I don't like users to need an external binary which can easily get out
of sync. Just include the tools.
2015-08-13 19:36:57 -04:00
Eric Paris ce6f2c8e4b Do not build genconversion and gendeepcopy twice
The hack/after-build/verify-* functions were using the hack/update-*
functions.  Which means that if you call hack/verify-* you will do the
build twice. Stop it.
2015-08-12 10:05:48 -04:00
Muhammed Uluyol eba19cc96a Add missing argument to function call and don't set GOPATH directly 2015-08-11 21:54:37 -07:00
Muhammed Uluyol 567bb15432 Generate conversions/deep-copies for experimental. Currently we make (and register) duplicate functions but this is benign. 2015-08-11 17:12:24 -07:00
Eric Paris 3b7c39656c Split hack/{verify,update}-* files so we don't always go build
Right now some of the hack/* tools use `go run` and build almost every
time. There are some which expect you to have already run `go install`.
And in all cases the pre-commit hook, which runs a full build wouldn't
want to do either, since it just built!

This creates a new hack/after-build/ directory and has the scripts which
REQUIRE that the binary already be built. It doesn't test and complain.
It just fails miserably. Users should not be in this directory. Users
should just use hack/verify-* which will just do the build and then call
the "after-build" version. The pre-commit hook or anything which KNOWS
the binaries have been built can use the fast version.
2015-08-11 14:20:46 -04:00