Commit Graph

9058 Commits

Author SHA1 Message Date
Li Bo
bb150cdd4f change minimum bash version to 4.2 2021-01-26 20:12:58 +08:00
Chok Yip Lau
eaaa803d48 Fix staticcheck on vendor/k8s.io/apiserver/pkg/server/httplog 2021-01-25 21:16:28 -05:00
Tim Hockin
33ad2fe019 Build: Don't find into _name dirs
This is a no-op now that _examples is renamed.
2021-01-25 10:20:49 -08:00
Tim Hockin
876c9f0d8c Rename _examples to examples
The alternative to this would be to special-case code-generator.  Since
it legit wants codegen, it seems wrong to make it be _examples (which tools
should ignore).

Make examples an "internal module" so the main go.mod for
k8s.io/code-generator does not get too polluted.
2021-01-25 10:20:46 -08:00
Tim Hockin
1b07b0d648 Fix bug in golint script when no files
The script would get a 1 return code from grep when there are no files
in a directory, after filtering generated filenames.  This would cause
the script to exit unexpectedly.
2021-01-25 10:15:59 -08:00
Tim Hockin
105e8f8467 Rename *-hack-tools.sh -> *-internal-modules.sh
Prep to add more such modules
2021-01-25 10:15:59 -08:00
Tim Hockin
3aa319c894 Don't generate LICENSES for hack/tools 2021-01-25 10:15:59 -08:00
Tim Hockin
91c401c964 Update-vendor: canonicalize pwd 2021-01-25 10:15:59 -08:00
Tim Hockin
187def4d4f Make: Retool how we cache go dirs
Now we can use /dev/null as an argument when running tools manually
2021-01-25 10:15:59 -08:00
Tim Hockin
ee170145b2 Make: prefix magic go-deps variables with GODEPS
This makes them easier to see and find.

Driving towards `make --warn-undefined-variables`.
2021-01-25 10:15:58 -08:00
Kubernetes Prow Robot
f5bb2c19b9 Merge pull request #97882 from ialidzhikov/staticcheck/x509
Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
2021-01-25 09:26:54 -08:00
Kubernetes Prow Robot
bfe42562a1 Merge pull request #98309 from dims/ensure-bash-version-at-least-5.x
Ensure bash version at least 5.x
2021-01-23 22:02:53 -08:00
Davanum Srinivas
feecef7795 Ensure bash version at least 5.x
Co-authored-by: Stephen Augustus <justaugustus@users.noreply.github.com>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-01-22 13:08:53 -05:00
Kubernetes Prow Robot
7eef3ed8c7 Merge pull request #98003 from lauchokyip/fixlint2
Fix golint errors for k8s.io/cli-runtime/pkg/genericclioptions/
2021-01-21 09:57:40 -08:00
Kubernetes Prow Robot
6040a06a2e Merge pull request #97841 from feranwq/patch-92402-2
fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck
2021-01-21 09:57:27 -08:00
Kubernetes Prow Robot
a64c7ed1dc Merge pull request #97930 from JieJhih/golint/fs
fix golint in volume fs
2021-01-19 13:14:00 -08:00
Kubernetes Prow Robot
73d4c245ef Merge pull request #98160 from sfowl/pyyaml-safe-load
Change yaml.load() to safe_load()
2021-01-19 04:07:45 -08:00
Sam Fowler
368ebbeddf Change yaml.load() to safe_load() 2021-01-19 15:58:12 +10:00
Kubernetes Prow Robot
294c352380 Merge pull request #98017 from lanzao/patch01
Fix golint issues in client/custom_metrics/scheme
2021-01-15 06:31:51 -08:00
lanzao
a833a0321c Fix golint issues in client/custom_metrics/scheme 2021-01-15 10:17:12 +08:00
Chok Yip Lau
9a3148291d Fix golint errors for kubectl/pkg/cmd/certificates/certificates.go 2021-01-13 09:17:00 -05:00
Chok Yip Lau
c5b95f60fa Fix golint errors for k8s.io/cli-runtime/pkg/genericclioptions/ 2021-01-13 05:28:09 -05:00
Kubernetes Prow Robot
3722cef5e5 Merge pull request #97947 from Haleygo/fix/replace-cfssl-resource
fix:replace cfssl resources and upgrade them to 1.5.0
2021-01-12 21:10:37 -08:00
Kubernetes Prow Robot
bbde53e300 Merge pull request #97959 from carlory/patch-1
set GOOS=linux for the staticcheck tool
2021-01-12 18:24:35 -08:00
Kubernetes Prow Robot
e414d4e5c2 Merge pull request #96315 from twosigma/dnsdomainteste2e
Ensuring default DNS cluster-domain of Kubelet is cluster.local
2021-01-12 10:28:35 -08:00
Kubernetes Prow Robot
ef3337a443 Merge pull request #97786 from pacoxu/staticcheck/apiserver-storage
fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/
2021-01-12 08:20:26 -08:00
feranwq
ddba6a79d4 fix vendor/k8s.io/cli-runtime/pkg/printers staticcheck 2021-01-12 19:03:13 +08:00
帝俊
7c487f9964 set GOOS=linux for the staticcheck tool 2021-01-12 18:00:36 +08:00
Haleygo
b2796cea93 fix:replace cfssl resources and upgrade them to 1.5.0
Signed-off-by: Haleygo <hui.wang@daocloud.io>
2021-01-12 14:05:20 +08:00
JieJhih Jhang
f1829a7744 fix golint in volume fs 2021-01-12 06:35:52 +08:00
Sascha Grunert
9428ad78fd Make parallel build memory threshold configurable
The amount of memory required to build binaries in parallel is right now
set to 40GiB. We now make this variable to be able to build artifacts in
parallel even with a lower amount of memory.

This enables SIG Release to speed-up the build time drastically in
Google Cloud Build (GCB).

Signed-off-by: Sascha Grunert <sgrunert@suse.com>
2021-01-11 11:59:57 +01:00
ialidzhikov
5771ea733f Fix staticcheck in staging/src/k8s.io/apiserver/pkg/authentication/request/x509
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-10 00:32:42 +02:00
pacoxu
aaa7084a4a fix static check for vendor/k8s.io/apiserver/pkg/storage/etcd3/ 2021-01-07 11:27:03 +08:00
Kubernetes Prow Robot
9c894e23ef Merge pull request #97618 from jherrera123/issue-94091-remove-docker-remote-build
Remove docker remote / docker-machine from build scripts
2021-01-06 10:55:52 -08:00
Kubernetes Prow Robot
6af5fdcf98 Merge pull request #94396 from habibrosyad/patch-92402-10
fix vendor/k8s.io/apimachinery/pkg/runtime staticcheck
2021-01-06 08:43:52 -08:00
Kubernetes Prow Robot
b39494ce35 Merge pull request #97374 from geegeea/golint
Fix golint issues in pkg/kubelet/types
2021-01-05 17:10:03 -08:00
Kubernetes Prow Robot
3209dabb0d Merge pull request #97466 from geegeea/lint-kubelet
Fix golint issues in api/admission and api/admissionregistration
2021-01-05 09:01:59 -08:00
ialidzhikov
8a0bce0021 Fix staticcheck in staging/src/k8s.io/apiserver/pkg/admission/initializer
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-02 22:41:13 +02:00
Jesus Herrera
d8bedb3980 Remove docker remote/docker-machine from build scripts 2020-12-30 12:37:51 -05:00
Gurleen Grewal
2414bce4c3 Fix golint issues in pkg/kubelet/types 2020-12-23 19:21:31 -08:00
Gurleen Grewal
73f24d6beb Fix golint issues in api/admission and api/admissionregistration 2020-12-22 12:13:41 -08:00
Kubernetes Prow Robot
81e82b8453 Merge pull request #97167 from geegeea/golint-cleanup-events
Fix golint issues in pkg/credentialprovider/plugin
2020-12-16 13:04:31 -08:00
tiloso
3cbdc711de Fix staticcheck in test/integration/{examples,framework}
Part of #92402, fixes staticcheck failures SA1006, SA1019 and SA2002 in
test/integration/examples and test/integration/framework.
2020-12-14 21:54:37 +01:00
Qiming Teng
e1ec14162f Fix OpenAPI spec generator script 2020-12-14 10:10:33 +08:00
Kubernetes Prow Robot
58a1f1658d Merge pull request #96997 from PurelyApplied/update-levee-config
[KEP-1933] Update config for go-flow-levee analysis
2020-12-10 14:53:22 -08:00
Patrick Rhomberg
42fb39f116 Use full aliases. Add sig/security label. 2020-12-09 23:43:48 +00:00
Patrick Rhomberg
3559d752e3 Transfer ownership of logging analysis configuration to sig-security. 2020-12-09 19:15:46 +00:00
Kubernetes Prow Robot
018942a92a Merge pull request #96903 from JornShen/local_up_resume_readonly_port
local-up-cluster kubelet option opening readonly port
2020-12-08 20:04:32 -08:00
Kubernetes Prow Robot
58287f3cb6 Merge pull request #96660 from KobayashiD27/staticcheck_in_endpoints_request
fix staticchekc failer in apiserver/pkg/endpoints/request
2020-12-08 18:34:57 -08:00
Kubernetes Prow Robot
cb8ad64243 Merge pull request #96632 from sbueringer/pr-fix-staticcheck-apiserver-server
fix staticcheck: vendor/k8s.io/apiserver/pkg/server/{options,storage}
2020-12-08 17:30:07 -08:00