Kubernetes Prow Robot
589300dd84
Merge pull request #115198 from thockin/codegen-7-remove-genfiles-part1
...
Codegen: remove generated files before regenerating
2023-01-21 14:34:02 -08:00
Tim Hockin
965d5d8608
Make boilerplate.py smarter about generated
...
Don't just grep for DO NOT EDIT - anchor it in something that looks like
a comment and alone on a line.
Also ignore __* dirs
Prevent it from triggering on update-generated-swagger-docs (hack, but
better than before)
2023-01-21 11:16:13 -08:00
Tim Hockin
8fbcad4612
Call 'go install' instead of build.sh
...
The env vars are needed until go workspaces lands, then it can get
simpler.
Downsides to this:
1) If you don't call kube::golang::setup_env, it might work but will
just splat results somewhere
2) The resultant binaries are not in _output/bin but instead in the
phony GOPATH/bin (which setup_env puts in PATH)
2023-01-20 10:44:02 -08:00
Tim Hockin
b5c5913db0
Make verify-generated-swagger-docs use worktree
...
Also move a function into these files that was only used in the one
place.
2022-12-26 17:17:33 -08:00
Jordan Liggitt
39f5c13510
drop vendor from go install paths
2022-05-05 08:47:33 -04:00
Jordan Liggitt
4d1b34a582
Speed up update-swagger-docs
...
Only build genswaggertypedocs once per run instead of per-package
Speeds up the script from ~1:10 to ~0:18
2020-08-02 10:56:46 -04:00
ZhiFeng1993
4ad6ae83ae
Add usage in some hack/update scripts
2020-05-26 21:49:38 -07:00
Christoph Blecker
1f5dff7e53
Fix verify-generated-swagger-docs script
2019-02-20 14:37:46 -08:00
Matthias Bertschy
9b15af19b2
Update all script to use /usr/bin/env bash in shebang
2018-04-19 13:20:13 +02:00
Clayton Coleman
d07a608607
Promote v1alpha1 meta to v1beta1
...
No code changes, just renames
2018-02-02 14:00:45 -05:00
Maru Newby
adc338d330
Remove all traces of federation
2017-10-26 13:37:37 -07:00
Clayton Coleman
3f41f8fcd1
Add priority and condition to column definitions
...
Allow the server to indicate additional information along with each row
and table.
2017-05-29 18:23:48 -04:00
deads2k
e100e8990b
update generation bash to handle vendor dir
2017-01-17 09:06:34 -05:00
Clayton Coleman
81adce5a3a
Handle sudo cleanly with tmp dir in generation
...
Also ensure meta/v1 swagger docs are generated.
2016-12-10 18:05:37 -05:00
Clayton Coleman
138267c876
Switch generator logic to use pkg/apis/meta/v1
2016-12-03 18:57:30 -05:00
deads2k
7a8fa18116
update generation scripts to share API group version constants
2016-09-22 13:30:41 -04:00
deads2k
cd5b6cc491
move StorageClass to its own group
2016-09-06 08:41:17 -04:00
nikhiljindal
a954ff18e6
Adding update-federation-generated-swagger-docs to generate comment funcs for federation gvs
2016-08-30 14:15:21 -07:00
deads2k
60dd4a5d26
interesting changes to add tokenreviews endpoint to implement webhook
2016-08-03 08:37:45 -04:00
Wojciech Tyczynski
4d0d115690
Revert "add tokenreviews endpoint to implement webhook"
2016-07-21 09:40:35 +02:00
deads2k
2c4a9f2e8d
interesting changes to add tokenreviews endpoint to implement webhook
2016-07-20 15:11:56 -04:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
George Tankersley
f8f7e7e3c7
codegen: add certificates group to generators
2016-06-28 12:05:41 -07:00
Matt Liggett
f5e8d41431
Finish implementing policy API.
...
Registry implementation and addition to the master.
2016-05-13 17:27:58 -07:00
Matt Liggett
2bc46d5085
It's 2016, yo.
2016-05-13 12:41:40 -07:00
Eric Chiang
6a1f46895e
pkg/apis: rbac types added
2016-05-11 12:01:06 +02:00
Maciej Szulik
5ef870d4c7
Added JobTemplate, a preliminary step for ScheduledJob and Workflow
2016-05-10 21:48:39 +02:00
Tim Hockin
bfabdb05c5
Fix update-generated-swagger-docs
2016-05-08 20:30:39 -07:00
Prashanth Balasubramanian
0ac10c6cc2
PetSet type, apps apigroup
2016-04-20 18:49:31 -07:00
nikhiljindal
ff06f1e200
removing call to update-swagger-spec.sh from update-generated-swagger-docs.sh
2016-04-18 17:58:02 -07:00
Eric Tune
98a801a37b
Created batch API group and copied Job there
...
Modeled after on first commit (2fbc5bb
) of piosz:hpa-ga (#20501 ).
2016-02-19 09:20:56 -08:00
Piotr Szczesniak
2fbc5bb767
Created autoscaling API group and copied HPA there
2016-02-15 21:39:00 +01:00
deads2k
14396fc464
add subject access review types
2016-01-20 08:24:15 -05:00
Filip Grzadkowski
13079fb6d6
Fix update-generated-swagger-docs.sh
2015-10-16 02:15:15 +02:00
Isaac Hollander McCreery
ea6c385674
Update swagger scripts, (this supplants #14596 )
2015-10-13 14:35:58 -07:00
Chao Xu
cc4ec80ec7
in scripts, experimental/v1alpha1->extensions/v1beta1
2015-10-09 15:19:13 -07:00
Chao Xu
d599d07bc3
simplify group-version-to-pkg-path
2015-09-24 21:33:32 -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
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00: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
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