Kubernetes Prow Robot
f09b318dda
Merge pull request #115248 from thockin/codegen-12-mocks
...
Codegen: use ls files and pre-remove gen'ed mocks
2023-01-22 05:52:02 -08:00
Tim Hockin
597d52ac10
Remove openapi files before regen
2023-01-21 17:46:22 -08:00
Tim Hockin
0a8f102497
Codegen: use ls files and pre-remove gen'ed mocks
2023-01-21 17:29:13 -08:00
Tim Hockin
ac2890df45
Make protobindings gen a bit safer
2023-01-21 15:17:47 -08:00
Tim Hockin
afae402865
Add debug output for protobindings generation
2023-01-21 15:17:46 -08:00
Tim Hockin
c8ce229e64
Codegen: rm protobindings
2023-01-21 15:17:45 -08:00
Tim Hockin
4dae505d53
Call update-proto-bindings from update-codegen
...
One script to bring them all ...
2023-01-21 15:17:42 -08:00
Tim Hockin
a057f35c90
Move update-generated-runtime into common script
...
Now update-generated-proto-bindings rules all the api.pb.go generation.
Running this shows no delta on the runtime.pb.go
This exposes an issue in how protoc is called for protos that specify
`go_package` which is fixed here.
Not all of our protos specify that option (even though it is
recommended), which will be fixed subsequently.
2023-01-21 15:17:14 -08:00
Tim Hockin
e0ecccff3f
Merge 5 fragile proto-bindings scripts into 1
...
Each of these scripts is basically identical, and all were too brittle.
Now they should be more resilient and easier to manage. The script
still needs to be updated if we add new ones, which I do not love.
More cleanup to follow.
2023-01-21 15:17:13 -08:00
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
ac90c60cff
Codegen: rm informer files before regen
2023-01-21 11:39:27 -08:00
Tim Hockin
9a11efa719
Codegen: rm lister files before regen
2023-01-21 11:39:09 -08:00
Tim Hockin
bb53ed4ff6
Codegen: rm client files before regen
2023-01-21 11:38:44 -08:00
Tim Hockin
b852b36555
Codegen: rm applyconfig files before regen
2023-01-21 11:38:17 -08:00
Tim Hockin
6aea6fe86b
Codegen: rm openapi files before regen
2023-01-21 11:31:04 -08:00
Tim Hockin
7f87ecfb9a
Codegen: rm conversion files before regen
2023-01-21 11:30:42 -08:00
Tim Hockin
e149f79d4e
Codegen: rm defaults files before regen
2023-01-21 11:30:22 -08:00
Tim Hockin
3f0c3f33ca
Codegen: rm prerelease files before regen
2023-01-21 11:30:05 -08:00
Tim Hockin
07f7941de6
Codegen: rm deepcopy files before regen
2023-01-21 11:29:40 -08:00
Tim Hockin
8704337395
Codegen: rm generated proto files before regen
2023-01-21 11:27:01 -08:00
Tim Hockin
b201c08cea
Simplify find in codegen
...
The `find` tool has hard to comprehend syntax and does not consider
things excluded by .gitignore. I keep tripping over this in my own
repos, where I have __stuff which gets found.
This converts update-codegen to use `git ls-files` in a seemingly
equivalent way (`-cmo --exclude-standard`). I verified it finds the
same set of files as before.
This also drops some obsolete filtering.
Also hide grep errors for not-found files, which can happen if a file is
removed but git ls-files still knows it.
Re-running update-codegen shows no diffs.
This will make subsequent changes easier.
2023-01-21 11:22:39 -08:00
Tim Hockin
04c80d0a23
Simplify verify-codegen to use worktrees
2023-01-21 11:16:15 -08:00
Tim Hockin
7c262b901f
Set GOCACHE and GOMODCACHE
...
If these are not set, set them. This ensures that any subsequent
scripts we call (which may call setup_env again) use the same values.
2023-01-21 11:16:14 -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
Kubernetes Prow Robot
6b55f097bb
Merge pull request #114976 from kidddddddddddddddddddddd/python3
...
use python3 in hack
2023-01-19 07:24:47 -08:00
Tim Hockin
01e1da77e2
Fix kubelet-plugin-registration to add missing dir
...
include v1
This is far too manual for my tastes, which will be fixed subsequently.
2023-01-18 23:38:20 -08:00
Tim Hockin
4e48506245
Fix generated-pod-resources to add missing dir
...
include v1alpha1
This is too manual - will be fixed subsequently
2023-01-18 23:38:18 -08:00
Kubernetes Prow Robot
035271d89b
Merge pull request #115017 from mhmxs/conf-tmp-dir
...
Make tmp dir configurable and dynamic at local-up-cluster.sh
2023-01-18 19:02:45 -08:00
Richard Kovacs
17422ff5c1
Use proper tmp directory for update-openapi-spec.sh ( #115106 )
...
* Use proper tmp directory for update-openapi-spec.sh
* Use proper mktmp command in update-openapi-specs.sh
2023-01-18 16:06:33 -08:00
Richard Kovacs
bef16e817b
Fix lint errors at local-up-cluster.sh
2023-01-18 12:20:33 +01:00
Richard Kovacs
89539e80dc
Fix lint errors at local-up-cluster.sh
2023-01-18 11:15:38 +01:00
Richard Kovacs
be4b3c5abd
Use proper mktmp command in local-up-cluster.sh
2023-01-18 10:58:41 +01:00
Jordan Liggitt
121088cb2a
bump honnef.co/go/tools to support go1.20
2023-01-17 10:42:55 -05:00
Kubernetes Prow Robot
3613ed04b6
Merge pull request #115079 from dims/update-to-newer-moby/ipvs-v1.1.0
...
Update to new release of moby/ipvs
2023-01-15 13:30:49 -08:00
Davanum Srinivas
d9b98bc36a
Update to new release of moby/ipvs
...
hack/pin-dependency.sh github.com/moby/ipvs v1.1.0
- go to a fixed tag for `vishvananda/netns`
- no more references to `pkg/errors`
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2023-01-14 16:13:24 -05:00
Alexander Zielenski
63f109e149
use --null instead of -Z in grep invocation
...
BSD grep has a different behavior from GNU grep with -Z.
--null has consistent behavior accross both implementations
2023-01-13 15:31:05 -08:00
Richard Kovacs
63982fc1fd
Display generated config file locations on successful local-up-cluster.sh execution
2023-01-12 18:06:14 +01:00
Richard Kovacs
457537a211
Make tmp dir configurable and dynamic at local-up-cluster.sh
2023-01-12 14:57:38 +01:00
kidddddddddddddddddddddd
cb6a1886c0
use python3 in hack
2023-01-12 11:20:41 +08:00
David Porter
a0916996df
Update hack/unwanted-dependencies.json
...
* Drop nvml since it is no longer used
Signed-off-by: David Porter <david@porter.me >
2023-01-11 16:07:29 -08:00
Olivier Lemasle
8b8e20fcdb
Bump kube-openapi
2023-01-11 11:48:07 +01:00
Kubernetes Prow Robot
ef2ef15476
Merge pull request #114952 from liggitt/verify-vendor-tidy
...
Improve vendor verification works for each staging repo
2023-01-10 08:55:26 -08:00
Jordan Liggitt
94ae3cbc41
Improve vendor verification works for each staging repo
2023-01-10 09:30:47 -05:00
Kubernetes Prow Robot
d8b553cce8
Merge pull request #114769 from pohly/e2e-owners-pohly
...
test/OWNERS: add pohly as approver
2023-01-09 15:11:27 -08:00
Patrick Ohly
c6da602168
OWNERS: remove sig-testing-approvers
...
It's not used enough to add any real value. Instead, it obscures the real
ownership when someone looks at an OWNERS file where it is used.
2023-01-09 09:54:10 +01:00
Paco Xu
26ddc948e1
add archived dependencies into unwanted-dependencies.json
2023-01-09 16:14:39 +08:00
Kubernetes Prow Robot
d19f8f3162
Merge pull request #114858 from acpana/acpana/fix-verify-licenses
...
fix path for not approved licenses
2023-01-05 23:15:58 -08:00
Alex Pana
124fd62ad2
fix path for not approved licenses
...
Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com >
2023-01-05 20:19:33 +00:00
Jordan Liggitt
b774c1fb1b
Fix verify-license cleanup
2023-01-05 09:40:52 -05:00