Commit Graph

7888 Commits

Author SHA1 Message Date
toyoda
d7215f0bce change sed to ${SED} in local-up-cluster.sh 2019-06-20 11:38:58 +09:00
Kubernetes Prow Robot
96a2f12b4e
Merge pull request #79088 from s-ito-ts/golint_e2e_storage_testsuites
Fix golint failures of test/e2e/storage/testsuites
2019-06-19 18:37:25 -07:00
Kenichi Omichi
5628b6b50e Replace mapfile with kube::util::read-array
During the review of https://github.com/kubernetes/kubernetes/pull/78779
we've known mapfile doesn't work on macOS.
So we need to use alternative way instead and this is it.
2019-06-20 00:25:06 +00:00
Kubernetes Prow Robot
c2ff62c28c
Merge pull request #78779 from odinuge/test-cleanup
Enforce test style on e2e_node and e2e_kubeadm tests
2019-06-19 14:56:49 -07:00
Kenichi Omichi
d5bc1ae8aa Make the check strict to use ExpectNoError()
As https://github.com/kubernetes/kubernetes/pull/78478 we can use
ExpectNoError() instead of Expect(err).ToNot(HaveOccurred()) also.
This makes the test code check strict to cover the above case and
replaces the remaining in test/e2e/common/expansion.go
2019-06-18 16:55:16 +00:00
Kubernetes Prow Robot
1545b28b58
Merge pull request #79097 from xychu/fix-shellchecks-n
Fix shellcheck failures in test/cmd
2019-06-18 01:08:15 -07:00
s-ito-ts
85ba101947 Fix golint failures of test/e2e/storage/testsuites 2019-06-18 03:02:46 +00:00
Yassine TIJANI
c3904bbce6 move initsystem to kubeadm
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-06-17 12:21:01 +02:00
Xiangyang Chu
99b2184993 Fix shellcheck faulures in test/cmd
Including files after test/cmd/n*
2019-06-17 14:04:34 +08:00
Davanum Srinivas
a6f8d575ba
Add kubeletstatsv1alpha1 as the preferred alias for k8s.io/kubernetes/pkg/kubelet/apis/stats/v1alpha1
Change-Id: I05a8390a667dba307c09d95f836e08e0759c12ee
2019-06-15 22:31:51 -04:00
Davanum Srinivas
9f0050cb44
verify import aliases
- Added scripts for update and verify
- golang AST code for scanning and fixing imports
- default regex allows it to run on just test/e2e.* file paths
- exclude verify-import-aliases.sh from running in CI jobs

Change-Id: I7f9c76f5525fb9a26ea2be60ea69356362957998
Co-Authored-By: Aaron Crickenberger <spiffxp@google.com>
2019-06-15 22:31:39 -04:00
Kubernetes Prow Robot
1493757d69
Merge pull request #79031 from liggitt/suppress-error-message
Suppress irrelevant jq error message when propagating pinned dependencies
2019-06-15 12:56:59 -07:00
Kubernetes Prow Robot
088411f77f
Merge pull request #78978 from sttts/sttts-staging-unit-tests
hack/make-rules/test.sh: run all staging unit tests
2019-06-15 03:46:24 -07:00
Kubernetes Prow Robot
480457994d
Merge pull request #78015 from SataQiu/fix-golint-kubelet-20190517
Fix golint failures of pkg/kubelet/configmap pkg/kubelet/custommetrics
2019-06-15 00:46:09 -07:00
qingsenLi
7a0efd326b fix golint failures for pkg/volume/scaleio and pkg/volume/storageos 2019-06-15 10:53:50 +08:00
Kubernetes Prow Robot
f75bfe9f58
Merge pull request #78666 from aojea/shellcheck
Fix verify-shellcheck comments
2019-06-14 13:26:35 -07:00
Odin Ugedal
35cb87f9cf
Fix file permissions for non executable files
Normal files should have permissions 644 by default,
and does not require the last bit to be
executable

Signed-off-by: Odin Ugedal <odin@ugedal.com>
2019-06-14 21:04:50 +02:00
Kubernetes Prow Robot
9f1548cdd9
Merge pull request #78656 from liggitt/compatibility-test-cleanup
Add helper script to regenerate API compatibility data, testdata README
2019-06-14 11:53:15 -07:00
Odin Ugedal
b0a1cba71a
Run verify-test-code on all e2e tests 2019-06-14 17:51:49 +02:00
Kubernetes Prow Robot
a08084d475
Merge pull request #78571 from SataQiu/fix-golint-kubelet-20190531
Fix golint failures of pkg/kubelet/prober pkg/kubelet/secret
2019-06-14 05:32:51 -07:00
Kubernetes Prow Robot
08922a1399
Merge pull request #78148 from endyman/fix-golint-test/e2e/storage/utils
fix golint errors in test/e2e/storage/utils
2019-06-14 02:50:51 -07:00
Kubernetes Prow Robot
d30fbab4b8
Merge pull request #77915 from SataQiu/fix-golint-util-20190515
Fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system
2019-06-14 00:29:00 -07:00
Kubernetes Prow Robot
3b9c761212
Merge pull request #75928 from falcon78921/wip-k8s-cleanup
hack: refactored code in update_owners.py
2019-06-13 20:37:00 -07:00
Kubernetes Prow Robot
0f5650d68b
Merge pull request #75859 from k-toyoda-pi/fix_shellcheck_failure_make-rules
fix shellcheck failures in /hack/make-rules/test.sh
2019-06-13 20:36:47 -07:00
Kubernetes Prow Robot
8305729d7a
Merge pull request #74635 from xychu/fix-with-assert
Fix shellchecks follow the `${var:?}` pattern
2019-06-13 19:12:45 -07:00
Dr. Stefan Schimanski
e2c6bc35a9 hack/make-rules/test.sh: run all staging unit tests 2019-06-13 14:07:37 +02:00
Jordan Liggitt
696eb32d4b Suppress irrelevant jq error message when propagating pinned dependencies 2019-06-10 13:09:12 -04:00
Davanum Srinivas
e0821ca3dd
Remove ovirt/cloudstack/photon cloud providers
Change-Id: Iddb80bdc2a9d75d444b8a3cfe0b142acb78e9097
2019-06-10 12:50:53 -04:00
SataQiu
213d07af8d fix some golint failures of pkg/registry 2019-06-05 15:29:59 +08:00
Xiangyang Chu
81eb22900b Fix shellchecks in test/cmd/{b,c}.*.sh 2019-06-04 14:42:01 +08:00
Antonio Ojea
bd65a9ca26
Fix verify-shellcheck comments
Replace  "files" instead of packages in the script
hack/verify-shellcheck.sh
2019-06-03 23:58:52 +02:00
Jordan Liggitt
7a96057755 Add helper script to regenerate API compatibility data 2019-06-03 10:18:08 -04:00
Kubernetes Prow Robot
c449dbf128
Merge pull request #78518 from dims/tolerate-missing-pyyaml-dependency
Bail out on missing pyyaml dependency
2019-06-01 08:00:32 -07:00
Kubernetes Prow Robot
bada1c6b1e
Merge pull request #78505 from caesarxuchao/dynamic-object-selector
Adding ObjectSelector to admission webhooks
2019-06-01 04:45:09 -07:00
Kubernetes Prow Robot
ebdae0b3b7
Merge pull request #78485 from oomichi/add-use-ExpectError
Check e2e test code to use ExpectError()
2019-06-01 02:54:42 -07:00
Davanum Srinivas
a1e511abda
Bail out on missing pyyaml dependency
Change-Id: Ib1e3b92f8e18ae554f77fede34917d5222c677af
2019-05-31 10:16:11 -04:00
Kubernetes Prow Robot
e87679cfaa
Merge pull request #74733 from wk8/wk8/misc_fixes
Not asking for sudo passwords for password-less sudo users any more
2019-05-31 07:12:43 -07:00
Kubernetes Prow Robot
fe37733a12
Merge pull request #73891 from taragu/plugin-manager
Add kubelet plugin manager
2019-05-31 07:12:29 -07:00
SataQiu
c6a0f820d8 fix golint failures of pkg/kubelet/prober pkg/kubelet/secret 2019-05-31 17:08:53 +08:00
wangqingcan
52f3380ef3 change preempting to PreemptionPolicy 2019-05-31 12:42:05 +08:00
wangqingcan
5c9438c691 non-preempting-priorityclass
Co-authored-by: Vallery Lancey <vallery@zeitgeistlabs.io>
Co-authored-by: Tan shanshan <tan.shanshan@zte.com.cn>
2019-05-31 12:37:07 +08:00
Tara Gu
5e18554442 Implement plugin manager - a controller that manages plugin registration/unregistration 2019-05-30 19:00:59 -04:00
Joe Betz
55ecc45455 split admissionregistration.v1beta1/Webhook into MutatingWebhook and ValidatingWebhook 2019-05-30 14:31:09 -07:00
Kubernetes Prow Robot
b8eecd671d
Merge pull request #69941 from miguelbernadi/fix-golint-issues-68026
Fix golint issues in plugin/pkg/admission
2019-05-30 08:38:26 -07:00
Kubernetes Prow Robot
6dfec4a2ec
Merge pull request #78386 from SataQiu/fix-test-golint-20190527
Fix golint failures of test/e2e/chaosmonkey
2019-05-29 22:54:45 -07:00
Jean Rouge
1bd3d8b929 Not asking for sudo passwords for password-less sudo users any more
Running hack/make-rules/test-e2e-node.sh or test/e2e_node/conformance/run_test.sh
with a password-less sudo user on a dev box right now requires to first
create a password for that user, and then type it every time one wants
to run these tests. This patch is fixing this by not asking for sudo
credentials if it seems the user can run any command without a
password.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-29 14:04:13 -07:00
Kubernetes Prow Robot
38468e4338
Merge pull request #70536 from mysunshine92/golint-hostpath
fix golint for pkg/volume/host_path
2019-05-29 11:25:46 -07:00
Kenichi Omichi
63e0507fd9 Check e2e test code to use ExpectError()
We can use framework.ExpectError() for checking the expected error
happens. However Expect(err).To(HaveOccurred()) can be used instead
and that makes the e2e test code unreadable.
This adds the check to use framework.ExpectError() for readable code.
2019-05-29 17:04:58 +00:00
Kubernetes Prow Robot
864e5e564a
Merge pull request #78354 from kaleocheng/fix-golint-pkg-apis-abac-latest
Fix golint issue in pkg/apis/abac/latest
2019-05-29 09:45:16 -07:00
Kubernetes Prow Robot
dcf2dd332a
Merge pull request #77612 from oomichi/add-check-test-code
Add hack/verify-test-code.sh
2019-05-29 05:33:00 -07:00
Kubernetes Prow Robot
501092c7d0
Merge pull request #78232 from SataQiu/fix-golint-20190523
Fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount
2019-05-29 00:53:02 -07:00
James McClune
19fbb1356c hack: refactored code in update_owners.py
Introduced pathlib as an alternative to os.path. Updated the urllib2
module to urllib.request. Structured the code to align more with Python3.

Signed-off-by: James McClune <jmcclune@mcclunetechnologies.net>
2019-05-28 22:34:55 -04:00
Nils Domrose
cc93ec05e8 Merge branch 'master' of https://github.com/kubernetes/kubernetes into fix-golint-test/e2e/storage/utils 2019-05-28 22:18:42 +02:00
obitech
16d64d6925 Fix golint issues in pkg/kubelet/client
Add comments to exported functions in `pkg/kubelet/client/client.go`

In `KubeletClientConfig` rename `EnableHttps` to `EnableHTTPS`. This requires
renaming it in `pkg/kubelet/client/client_test.go`
2019-05-27 22:03:21 +02:00
SataQiu
a6e0614dd9 fix golint failures of test/e2e/chaosmonkey 2019-05-27 18:30:12 +08:00
Kaleo
e672fb6b6a Fix golint issue in pkg/apis/abac/latest 2019-05-26 16:30:35 +08:00
Dr. Stefan Schimanski
ab6eae3621 hack/verify-symbols: add TrackStorageCleanup from storage testing 2019-05-24 10:20:07 +02:00
Miguel Bernabeu
f47da8a75d Fix golint violations in several plugins 2019-05-23 20:00:06 +02:00
Dr. Stefan Schimanski
c487eb3551 hack/verify-symbols: fix nm call through go tool 2019-05-23 18:45:23 +02:00
SataQiu
b87d006a50 fix golint failures of pkg/controller/namespace/deletion pkg/controller/serviceaccount 2019-05-23 12:09:01 +08:00
Kubernetes Prow Robot
5666982b27
Merge pull request #77793 from SataQiu/fix-golint-client-go-20190513
Fix golint failures of client-go/tools/auth client-go/tools/portforward
2019-05-22 18:44:24 -07:00
Kubernetes Prow Robot
25b0d2dbf4
Merge pull request #78216 from mtaufen/update-klog
Update klog to v0.3.1
2019-05-22 15:14:49 -07:00
Kubernetes Prow Robot
4f33b5f421
Merge pull request #77820 from dims/charrywanganthony-pr-71835-delete-kubelet-security-controls
Remove deprecated Kubelet security controls
2019-05-22 13:52:25 -07:00
Michael Taufen
ee7bcc53a2 Update klog to v0.3.1
Includes recent fixes, notably https://github.com/kubernetes/klog/pull/66
2019-05-22 10:55:37 -07:00
Kenichi Omichi
496a18febc Add hack/verify-test-code.sh
This script checks coding style for test code.
It is useful to enforce developers to use framework methods for
keeping readable test code for example.
2019-05-22 14:15:25 +00:00
Kubernetes Prow Robot
3371378506
Merge pull request #78096 from SataQiu/fix-golint-test-20190520
Fix golint failures of test/e2e/storage/drivers
2019-05-22 04:00:52 -07:00
Kubernetes Prow Robot
ec0f8b843f
Merge pull request #77913 from s-ito-ts/golint_test_e2e_autoscaling
Fix golint failures of test/e2e/autoscaling
2019-05-22 04:00:25 -07:00
Kubernetes Prow Robot
932d8031ab
Merge pull request #77756 from jpbetz/crd-conversion-tests
Add webhook converter integration test suite
2019-05-22 02:40:12 -07:00
Joe Betz
e23769f018 Add webhook converter integration test suite 2019-05-21 13:07:44 -07:00
s-ito-ts
992773a4d9 Add transforming of "pillar['dns_memory_limit']" to local-up-cluster.sh. 2019-05-21 10:31:38 +00:00
Nils Domrose
d14c2cca8a fix golint errors in test/e2e/storage/utils 2019-05-21 11:11:21 +02:00
SataQiu
b828e570b1 fix golint failures of test/e2e/storage/drivers 2019-05-20 13:12:38 +08:00
s-ito-ts
c101f40e18 Fix golint failures of test/e2e/autoscaling 2019-05-20 02:20:39 +00:00
SataQiu
80bee6d965 fix golint failures of pkg/kubelet/configmap pkg/kubelet/custommetrics 2019-05-20 09:56:19 +08:00
hui luo
6c8aabc832 Check KUBE_SERVER_PLATFORMS existence
when compile kubectl on platform other than
linux/amd64, we need to check the KUBE_SERVER_PLATFORMS
array emptiness before assign it.

the example command is:
make WHAT=cmd/kubectl KUBE_BUILD_PLATFORMS="darwin/amd64 windows/amd64"
2019-05-18 09:17:22 -07:00
Christoph Blecker
b8481b62fc
Don't use declare -g in build 2019-05-17 12:22:42 -07:00
Kubernetes Prow Robot
d45cc1019e
Merge pull request #77985 from adisky/patch-2
fix unbound variable build/lib/release.sh bash 4.3
2019-05-17 10:12:21 -07:00
Kubernetes Prow Robot
46a80259f6
Merge pull request #77980 from SataQiu/fix-golint-test-20190516
Fix golint failures of test/e2e
2019-05-17 07:01:04 -07:00
Xiangyang Chu
eee32a6a88 Fix shellcheck failures in test/cmd/g.*sh 2019-05-17 15:40:14 +08:00
Kohei Toyoda
62d5eb524b
Merge branch 'master' into fix_shellcheck_failure_make-rules 2019-05-17 08:43:08 +09:00
adisky
7e2aa46f64
fix unbound variable release.sh 2019-05-16 23:09:19 +05:30
chaowang
9ba0d47465
Remove deprecated Kubelet security controls
Change-Id: I9f770e6780b60e881092690f6f177d726f474fe3
2019-05-16 13:33:52 -04:00
Kubernetes Prow Robot
06047953f2
Merge pull request #77910 from adisky/patch-1
fix hack/lib/golang.sh for bash 4.3
2019-05-16 08:48:39 -07:00
Kubernetes Prow Robot
dfcc60d4e5
Merge pull request #77908 from SataQiu/fix-golint-test-20190515
Fix golint failures of test/e2e_node/services
2019-05-16 08:48:26 -07:00
SataQiu
be8a072655 fix golint failures of test/e2e 2019-05-16 23:31:47 +08:00
Kubernetes Prow Robot
34aa283c65
Merge pull request #77643 from atoato88/fix-golint-e2e-framework-asterisk
Fix golint failures of e2e/framework/*.go
2019-05-16 01:10:21 -07:00
Kubernetes Prow Robot
aba8040669
Merge pull request #77189 from xiaojingchen/fix-golint-failures
Fix golint failures in cmd/kube-controller-manager
2019-05-15 22:56:34 -07:00
Kubernetes Prow Robot
ce3ce9a57a
Merge pull request #77023 from obitech/fix_golint_issues_in_kubelet_packages_oom
Fix golint issues in pkg/kubelet/oom
2019-05-15 22:56:21 -07:00
Kubernetes Prow Robot
37281a400d
Merge pull request #76442 from viegasdom/fix-golint-utils-bandwith
Fix golint failures of util/bandwith/*.go
2019-05-15 22:56:08 -07:00
Kubernetes Prow Robot
fe895f0411
Merge pull request #76420 from k-toyoda-pi/fix_shellcheck_failure_make-rules_3
fix shellcheck failures in /hack/make-rules/update.sh,verify.sh
2019-05-15 19:19:42 -07:00
Kubernetes Prow Robot
c50ff35a55
Merge pull request #77839 from mcrute/migrate-fake-cp
Staging legacy fake cloud provider
2019-05-15 12:32:23 -07:00
SataQiu
b36d8d431f fix golint failures of pkg/util/parsers pkg/util/sysctl pkg/util/system 2019-05-15 23:19:47 +08:00
Kubernetes Prow Robot
6a40ed1005
Merge pull request #77751 from baasbank/fix-lint-errors-staging/src/k8s.io
Fix lint errors staging/src/k8s.io
2019-05-15 07:06:26 -07:00
adisky
38b7f2125f
fix unbound array variable 2019-05-15 13:47:48 +05:30
SataQiu
7fa953fcb5 fix golint failures of test/e2e_node/services 2019-05-15 15:37:21 +08:00
Mike Crute
7d62316f8f Migrate fake cloud provider to staging 2019-05-14 13:32:18 -07:00
danielqsj
ccecc67a5b fix golint error in test/e2e/scheduling 2019-05-14 14:18:52 +08:00
Kubernetes Prow Robot
5f728452ea
Merge pull request #77841 from liggitt/restore-verify-script
Revert "fix shellcheck failures of hack/verify-no-vendor-cycles.sh"
2019-05-13 19:47:33 -07:00
Kubernetes Prow Robot
a60d2126ad
Merge pull request #77715 from danielqsj/t2
fix golint error make test error checking more readable in test/e2e/node
2019-05-13 19:47:09 -07:00
Jordan Liggitt
43c8eb6c36 Revert "fix shellcheck failures of hack/verify-no-vendor-cycles.sh"
This reverts commit e25e5a63e7.
2019-05-13 19:14:03 -04:00
Akihito INOH
dddc6a53d4 Fix golint failures of e2e/framework/*.go
This fixes golint failures of the following files:
- test/e2e/framework/networking_utils.go
- test/e2e/framework/service_util.go
- test/e2e/framework/util.go

All golint failures in test/e2e/framework are fixed at this commit.
Remove 'test/e2e/framework' from 'hack/.golint_failures'
2019-05-14 07:04:57 +09:00
Kubernetes Prow Robot
b957c6d7d7
Merge pull request #76869 from gambtho/master
Fix golint failures in pkg/securitycontext
2019-05-13 11:52:17 -07:00
SataQiu
a89d75e3b8 fix golint failures of client-go/tools/auth client-go/tools/portforward 2019-05-13 11:23:45 +08:00
SataQiu
a4825d1cb8 fix golint failures of test/e2e/auth 2019-05-12 22:57:24 +08:00
Baasbank
55d45867e6 fixes golint error in staging/src/k8s.io/sample-controller/pkg/apis/samplecontroller/v1alpha1
fixes golint error in staging/src/k8s.io/sample-controller/pkg/apis/samplecontroller

fixes golint errors in staging/src/k8s.io/sample-apiserver/pkg/cmd/server

fixex golint errors in staging/src/k8s.io/sample-apiserver/pkg/apiserver
2019-05-12 13:12:19 +01:00
Kubernetes Prow Robot
44881eb658
Merge pull request #77783 from cblecker/codegen-mapfile
Swap mapfile out in update-codegen
2019-05-11 20:40:09 -07:00
danielqsj
124efde4f8 fix golint error in e2e/node 2019-05-12 07:35:13 +08:00
Christoph Blecker
badac1b31c
Swap mapfile out in update-codegen 2019-05-11 16:19:26 -07:00
Kubernetes Prow Robot
d01c015346
Merge pull request #77777 from SataQiu/fix-golint-test-20190511
Fix golint failures of test/e2e/storage
2019-05-11 15:22:10 -07:00
Kubernetes Prow Robot
73c83a82fc
Merge pull request #77668 from SataQiu/fix-golint-test-20190509
Fix golint failures of test/e2e/network
2019-05-11 13:30:11 -07:00
SataQiu
01d38fec16 fix golint failures of test/e2e/storage 2019-05-11 23:30:17 +08:00
SataQiu
515f8342d3 fix golint failures of test/e2e/network 2019-05-11 22:29:40 +08:00
Kubernetes Prow Robot
1c18c3263a
Merge pull request #77386 from SataQiu/fix-shellcheck-20190503
Fix shellcheck failures of cluster/gce/upgrade-aliases.sh
2019-05-10 21:30:24 -07:00
Kubernetes Prow Robot
6f6890b09e
Merge pull request #77753 from liggitt/prune-replace
Prune matching replace directives in staging repos more effectively
2019-05-10 19:28:48 -07:00
Kubernetes Prow Robot
a245408f38
Merge pull request #76734 from oomichi/conformance-req-01
Check conformance test should not call any Skip
2019-05-10 19:28:11 -07:00
Kubernetes Prow Robot
9e87f8d620
Merge pull request #77696 from bradhoekstra/fix-lint
Fix some lint errors in pkg/proxy
2019-05-10 17:56:37 -07:00
Jordan Liggitt
d9d5968947 Prune matching replace directives in staging repos more effectively 2019-05-10 15:36:03 -04:00
Kubernetes Prow Robot
07e3b7cdca
Merge pull request #74639 from xychu/fix-shellchecks-a
Make test/cmd/a*.sh pass shellcheck
2019-05-10 10:38:12 -07:00
Khaled Henidak(Kal)
205eaed1a7 add legacy cloud providers unit tests to [make test] 2019-05-09 22:55:15 +00:00
Brad Hoekstra
62e58a66aa Fix some lint errors in pkg/proxy 2019-05-09 16:48:29 -04:00
xiaojingchen
2b19a4db9e fix cmd/kube-controller-manager's golint failures 2019-05-09 17:56:08 +08:00
toyoda
34a120fc42 fix shellcheck failures in /hack/make-rules/test.sh 2019-05-09 17:47:12 +09:00
Kubernetes Prow Robot
6ced4fe2cb
Merge pull request #76475 from s-ito-ts/shellcheck_hack_verify
fix shellcheck failures in /hack/verify-[a-g]*.sh.
2019-05-08 23:06:48 -07:00
toyoda
bbe4a9fdc5 fix shellcheck failures in /hack/make-rules/clean.sh,test.sh,vet.sh 2019-05-09 13:40:35 +09:00
Andrew Kim
c919139245 update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
Andrew Kim
b2831a686c move generic feature gate code from k8s.io/apiserver to k8s.io/component-base 2019-05-08 09:58:55 -04:00
Kubernetes Prow Robot
0ff81d04dc
Merge pull request #76953 from Rand01ph/fix#69896
fix Remove hyperkube short aliases
2019-05-08 04:54:34 -07:00
Kubernetes Prow Robot
43284ecbfc
Merge pull request #77442 from cofyc/fix77084
Fix go lint failures in volume scheduling packages
2019-05-07 00:24:07 -07:00
Kubernetes Prow Robot
8ea9edbb02
Merge pull request #77495 from wanghaoran1988/fix_local_up_script
Enhance the local-up-cluster.sh script to start kubelet using correct cgroup driver.
2019-05-06 22:54:05 -07:00
toyoda
9a5655c915 fix shellcheck failures in /hack/make-rules/update.sh,verify.sh 2019-05-07 14:27:26 +09:00
Kubernetes Prow Robot
b3a73f761f
Merge pull request #77362 from cblecker/fix-bash-3
Don't use mapfile as it isn't bash 3 compatible
2019-05-06 21:32:32 -07:00
s-ito-ts
beca6c7c02 fix shellcheck failures in /hack/verify-[a-g]*.sh. 2019-05-07 02:32:54 +00:00
Kubernetes Prow Robot
d2b8f3e145
Merge pull request #77034 from atoato88/fix-golint-e2e-framework-providers-gce
Fix golint failures of e2e/framework/providers/gce/recreate_node.go
2019-05-06 19:17:40 -07:00
Christoph Blecker
eaafa5952f
Don't use mapfile as it isn't bash 3 compatible 2019-05-06 15:55:12 -07:00
Kubernetes Prow Robot
aafac3cfca
Merge pull request #77380 from SataQiu/fix-golint-apis-20190503
Fix golint failures of pkg/apis/scheduling, pkg/apis/storage/util, etc
2019-05-06 15:30:32 -07:00
Rand01ph
f6bf44a205 Remove hyperkube short aliases used in local-up-cluster.sh 2019-05-07 01:02:01 +08:00
Haoran Wang
37cb774918 Enhance the local-cluster-up.sh script to work with docker 19.03.0-beta3 2019-05-06 15:03:06 +08:00
SataQiu
d413e3f18d fix golint failures of pkg/kubectl/cmd/help pkg/kubectl/cmd/proxy pkg/kubectl/cmd/util/openapi 2019-05-05 23:40:09 +08:00
Yecheng Fu
3315474f55 Fix go lint failures in a few packages
- pkg/controller/volume/persistentvolume/testing
- pkg/controller/volume/scheduling
2019-05-05 09:45:25 +08:00
Kubernetes Prow Robot
ef550e6989
Merge pull request #75434 from cofyc/fix56098
Refactor PV scheduling library into a separate package
2019-05-03 22:17:38 -07:00
Kubernetes Prow Robot
4e1e5af09d
Merge pull request #77403 from liggitt/apimachinery-protobuf
Generate and verify apimachinery protobuf
2019-05-03 15:12:04 -07:00
Niko Pen
22a2ca453f
durable link to cherry pick instructions 2019-05-03 20:17:36 +00:00
Kenichi Omichi
52885a8ec3 Check conformance test should not call any Skip
Basically conformance test checks the target k8s cluster works all
features which are specified in each test and that should not depend
on any condition.
This adds checking that conformance test should not call any Skip
methods. And it detects the existing conformance test
"creating/deleting custom resource definition objects works"
calls framework.SkipUnlessServerVersionGTE(). So this removes the
Skip also.
2019-05-03 18:37:31 +00:00
Jordan Liggitt
54e948ce82 Verify apimachinery protobuf 2019-05-03 11:59:41 -04:00
SataQiu
2ba0231670 fix shellcheck failures of cluster/gce/upgrade-aliases.sh 2019-05-03 17:01:15 +08:00
SataQiu
ed04c5f459 fix golint failures of pkg/apis/scheduling pkg/apis/storage/util pkg/apis/storage/v1/util pkg/apis/storage/v1beta1/util 2019-05-03 15:54:24 +08:00
Akihito INOH
2562d4d0fd Fix golint failures of e2e/framework/providers/gce/recreate_node.go
This fixes golint failures of the following file:

test/e2e/framework/providers/gce/recreate_node.go

And also, replaces functions using gomega with framework functions.
2019-05-03 07:20:37 +09:00
Kubernetes Prow Robot
b07f311322
Merge pull request #76882 from SataQiu/fix-golint-controller-20190422
Fix golint failures of pkg/controller/certificates/approver, etc
2019-05-02 03:16:18 -07:00
Kubernetes Prow Robot
1626aa56d0
Merge pull request #77053 from SataQiu/fix-golint-test-20190425
Fix golint failures of test/e2e/lifecycle
2019-05-02 02:00:17 -07:00
Yecheng Fu
842fed658c Refactor PV scheduling library into separate package 2019-05-02 14:45:52 +08:00
Kubernetes Prow Robot
0230664642
Merge pull request #77039 from cblecker/update-owners
Update some OWNERS files
2019-05-01 22:10:30 -07:00
SataQiu
3c35e4e2d6 fix golint failures of pkg/controller/certificates/approver 2019-05-02 10:37:38 +08:00
SataQiu
538776d6ad fix golint failures of pkg/registry/rbac/role 2019-05-02 10:36:35 +08:00
SataQiu
55d1b5e3d4 fix golint failures of pkg/registry/rbac/clusterrole 2019-05-02 10:35:47 +08:00
SataQiu
d76f1a8fd6 fix golint failures of pkg/volume/util/recyclerclient 2019-05-02 10:27:56 +08:00
Kubernetes Prow Robot
576ec2cee4
Merge pull request #77137 from Huang-Wei/make-clean-regression
Fixed a `make clean` regression
2019-05-01 15:50:32 -07:00
Baasbank
d97b7f20f8 fixes golint errors in pkg/printers/storage
fixes golint errors in pkg/printers

fixes golint errors for pkg/printers/internalversion

implements recommended changes
2019-05-01 17:02:55 +01:00
Kubernetes Prow Robot
55a052481d
Merge pull request #76944 from SataQiu/fix-golint-volume-20190423
Fix golint failures of pkg/volume/nfs
2019-04-30 17:31:12 -07:00
Kubernetes Prow Robot
0f4b666469
Merge pull request #76778 from SataQiu/fix-golint-20190419
Fix golint failures of pkg/apis/autoscaling
2019-04-30 01:19:37 -07:00
Kubernetes Prow Robot
855c291cb8
Merge pull request #76858 from SataQiu/fix-cluster-clientbin-20190420
Fix shellcheck failures of cluster/clientbin.sh
2019-04-29 07:46:22 -07:00
Kubernetes Prow Robot
74a70262c5
Merge pull request #76974 from mtaufen/fix-golang-sh
Restrict builds to officially supported platforms
2019-04-29 02:10:22 -07:00
Kubernetes Prow Robot
2dc3509b6d
Merge pull request #76867 from xichengliudui/fixshellcheckfailures-29
fix shellcheck failures on vet.sh
2019-04-27 16:48:21 -07:00
aaa
a4a4abd428 update pull request
update pull request on vet.sh
2019-04-27 10:56:43 -04:00
obitech
ccfb6379f3 Remove pkg/kubelet/pod from .golint_failures 2019-04-27 10:36:38 +02:00
obitech
9e35d3d709 Fix golint issues in pkg/kubelet/oom 2019-04-27 10:00:07 +02:00
Wei Huang
7193252386
Fixed a make clean regression. 2019-04-26 11:52:21 -07:00
Kubernetes Prow Robot
332d62a94a
Merge pull request #76710 from rosti/introduce-v1beta2
kubeadm: Introduce v1beta2 config
2019-04-26 10:38:27 -07:00
Kubernetes Prow Robot
2776cc1e72
Merge pull request #77099 from dims/remove-rancher-credential-provider-from-upstream-kubernetes
Remove Rancher Credential Provider from upstream kubernetes
2019-04-26 04:32:39 -07:00
SataQiu
aacab2ee75 fix shellcheck failures of cluster/clientbin.sh 2019-04-26 18:43:33 +08:00
Xiangyang Chu
2260cc29b9 Make test/cmd/a*.sh pass shellcheck 2019-04-26 11:39:11 +08:00
Kubernetes Prow Robot
5ab36f8cee
Merge pull request #77055 from SataQiu/fix-shell-20190426
Fix shellcheck failures of hack/verify-no-vendor-cycles.sh
2019-04-25 16:11:02 -07:00
Kubernetes Prow Robot
a2b50cdc9a
Merge pull request #77033 from guineveresaenger/guin-lint
Remove golint failures from pkg/apis/admissionregistration
2019-04-25 16:10:50 -07:00
Davanum Srinivas
edf8577654
Remove Rancher Credential Provider from upstream kubernetes
This is useful only in rancher environment, they are using this in a
very old branch (1.6), they are currently at 2.2.x. There is just no
point in us carrying this code as this is not useful to anyone else
outside of the rancher environment. Let us please remove this code from
upstream.

Change-Id: I5196d0edd79a7809c3a04e6028ddbd01063f224b
2019-04-25 19:10:01 -04:00
Michael Taufen
dcee810a3f Restrict builds to officially supported platforms
Prior to this change, including windows/amd64 in KUBE_BUILD_PLATFORMS
would, for example, attempt to build the server binaries/tars/images for
Windows, which is not supported. This can break downstream build steps.
2019-04-25 14:05:44 -07:00
Kubernetes Prow Robot
35cbe3f849
Merge pull request #77001 from SataQiu/fix-golint-capabilities-20190424
Fix golint failures of pkg/capabilities
2019-04-25 13:37:17 -07:00
Kubernetes Prow Robot
5b43333291
Merge pull request #76884 from SataQiu/fix-golint-pkg/kubelet/pod
Fix golint failures of pkg/kubelet/pod
2019-04-25 13:37:06 -07:00
guineveresaenger
fa0c81cbd1 Remove golint failures from pkg/apis/admissionregistration
Adds test/integration/apiserver/admissionwebhook to golint_failures; it is failing on kubernetes/master currently
2019-04-25 12:20:52 -07:00
SataQiu
e25e5a63e7 fix shellcheck failures of hack/verify-no-vendor-cycles.sh 2019-04-26 00:19:07 +08:00
SataQiu
1d8615a0a2 fix golint failures of test/e2e/lifecycle 2019-04-25 23:40:22 +08:00
Rostislav M. Georgiev
9e1ac76c1a kubeadm: Introduce v1beta2 config
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-04-25 17:10:04 +03:00
Kubernetes Prow Robot
78190f0758
Merge pull request #76881 from xichengliudui/fixshellcheckfailures-30
fix shellcheck failures list-resources.sh
2019-04-25 02:00:47 -07:00
Kubernetes Prow Robot
6c664746e4
Merge pull request #76840 from xichengliudui/fixshellcheckfailures-26
Fix shellcheck failures on clean.sh and cache_go_dirs.sh
2019-04-24 23:04:56 -07:00
SataQiu
1581055c3a fix golint failures of pkg/kubelet/pod 2019-04-25 11:54:14 +08:00
Christoph Blecker
c932ea2aec
Update hack/ OWNERS 2019-04-24 19:13:48 -07:00
SataQiu
bf37c8a217 fix golint failures of pkg/kubelet/checkpointmanager/checksum 2019-04-25 09:56:43 +08:00
Kubernetes Prow Robot
20b76a2b4a
Merge pull request #77002 from SataQiu/fix-golint-apis-networking
Fix golint failures of pkg/apis/networking
2019-04-24 18:13:18 -07:00
Kubernetes Prow Robot
e8f28b5577
Merge pull request #76937 from xichengliudui/fixshellcheckfailures-34
Fix shellcheck failures on ginkgo-e2e.sh
2019-04-24 16:50:57 -07:00
yameiwang
f130e48deb fix golint errors in pkg/volume/host_path 2019-04-25 06:46:47 +08:00
Kubernetes Prow Robot
e53118df1b
Merge pull request #76945 from SataQiu/fix-golint-volume-2019042302
Fix golint failures of pkg/volume/portworx
2019-04-24 14:20:58 -07:00
Kubernetes Prow Robot
d711b28cca
Merge pull request #75910 from andrewsykim/vsphere-staging
Staging the vSphere Cloud Provider
2019-04-24 12:24:40 -07:00
Kubernetes Prow Robot
8ec6167f61
Merge pull request #74942 from WanLinghao/event_replace
Migrate oom watcher not relying on cAdviosr's API any more
2019-04-24 05:50:05 -07:00
SataQiu
73ec7ad2d6 fix golint failures of pkg/apis/networking 2019-04-24 18:08:18 +08:00
SataQiu
c66f636d0b fix golint failures of pkg/capabilities 2019-04-24 17:16:48 +08:00
Kubernetes Prow Robot
5a790bce3b
Merge pull request #76763 from SataQiu/ifx-golint-kubelet-20190419
Fix golint failures of pkg/kubelet/apis
2019-04-24 01:24:14 -07:00
SataQiu
853c33358a fix golint failures of pkg/apis/autoscaling 2019-04-24 15:13:01 +08:00
Kubernetes Prow Robot
ea38af74a9
Merge pull request #76925 from SataQiu/fix-golint-kubelet-2019042302
Fix golint failures of pkg/kubelet/dockershim/cm
2019-04-23 23:50:50 -07:00
Kubernetes Prow Robot
c7cd03cc38
Merge pull request #76900 from SataQiu/fix-shellcheck-test-20190422
Fix shellcheck failures of test/e2e_node/environment/setup_host.sh
2019-04-23 23:50:39 -07:00
Kubernetes Prow Robot
a73980e1e6
Merge pull request #76855 from SataQiu/fix-hack-shell-20190420
fix bug of hack/verify-test-featuregates.sh
2019-04-23 23:50:27 -07:00
Kubernetes Prow Robot
19b96c968c
Merge pull request #76812 from SataQiu/fix-hack-shellcheck-2019041904
Fix shellcheck failures of hack/grab-profiles.sh
2019-04-23 23:50:16 -07:00
Kubernetes Prow Robot
2c2e7a01bb
Merge pull request #76655 from SataQiu/fix-shell-cluster-20190417
Fix shellcheck failures of cluster/gce/gci/shutdown.sh
2019-04-23 23:50:04 -07:00
Kubernetes Prow Robot
970e5929fe
Merge pull request #76806 from SataQiu/fix-kubelet-golint-20190419
Fix golint failures of pkg/kubelet/checkpoint
2019-04-23 22:10:11 -07:00
Kubernetes Prow Robot
2a3d307fb9
Merge pull request #76765 from SataQiu/fix-golint-apis-20190418
Fix golint failures of pkg/apis/authorization
2019-04-23 22:10:00 -07:00
SataQiu
828125c725 fix golint failures of pkg/kubelet/apis 2019-04-24 12:56:28 +08:00
SataQiu
58caa7474f fix bug of hack/verify-test-featuregates.sh 2019-04-24 11:30:28 +08:00
Andrew Sy Kim
a58942625d staging the vsphere cloud provider under k8s.io/legacy-cloud-providers/vsphere
Signed-off-by: Andrew Sy Kim <kiman@vmware.com>
2019-04-23 22:17:59 -05:00
SataQiu
a37adceadf fix golint failures of pkg/volume/portworx 2019-04-23 23:26:41 +08:00
SataQiu
d6d329b0eb fix golint failures of pkg/volume/nfs 2019-04-23 22:25:46 +08:00
Kubernetes Prow Robot
e6390ce3ff
Merge pull request #76835 from SataQiu/fix-shellcheck-hack-20190420
Fix shellcheck failures of hack/verify-boilerplate.sh verify-cli-conventions.sh verify-codegen.sh
2019-04-23 03:14:12 -07:00
Kubernetes Prow Robot
fd0a140673
Merge pull request #76890 from xichengliudui/fixshellcheckfailures-31
fix shellcheck failures on and verify-test-featuregates.sh
2019-04-23 00:46:26 -07:00
SataQiu
2704abf844 fix shellcheck failures of hack/verify-boilerplate.sh verify-cli-conventions.sh verify-codegen.sh 2019-04-23 13:39:00 +08:00
SataQiu
423e8f0292 fix golint failures of pkg/kubelet/dockershim/cm 2019-04-23 12:59:13 +08:00
Kubernetes Prow Robot
4ec29a1a2b
Merge pull request #76889 from SataQiu/fix-golint-kubelet-util-20190422
Fix golint failures of pkg/kubelet/util
2019-04-22 20:44:25 -07:00
Kubernetes Prow Robot
b9606bef8d
Merge pull request #76860 from SataQiu/fix-golint-volume-20190420
Fix golint failures of pkg/volume/local
2019-04-22 20:44:07 -07:00
Kubernetes Prow Robot
588ea5d757
Merge pull request #76871 from cblecker/shellcheck-colour
Fix malformed JUNIT XML with shellcheck failures
2019-04-22 14:38:19 -07:00
Kubernetes Prow Robot
b57387b333
Merge pull request #76767 from SataQiu/fix-shellcheck-20190418
Fix shellcheck failures of hack/verify-openapi-spec.sh
2019-04-22 13:17:46 -07:00
Kubernetes Prow Robot
dc395391bc
Merge pull request #76834 from SataQiu/fix-hack-shell-2019041905
Fix bug and golint failures of hack/verify-api-groups.sh
2019-04-22 10:44:00 -07:00
Kubernetes Prow Robot
0ca27bfee2
Merge pull request #76139 from SataQiu/fix-golint-kubectl-20190404
Fix golint failures of pkg/kubectl/apps
2019-04-22 10:43:44 -07:00
Kubernetes Prow Robot
3488cd346a
Merge pull request #76804 from SataQiu/fix-apis-golint-20190419
Fix golint failures of pkg/apis/batch
2019-04-22 09:23:46 -07:00
SataQiu
741caa4475 fix bug and golint failures of hack/verify-api-groups.sh 2019-04-22 22:20:04 +08:00
SataQiu
c892beca8b fix shellcheck failures of test/e2e_node/environment/setup_host.sh 2019-04-22 22:08:26 +08:00
SataQiu
cd6828bae0 fix golint failures of pkg/kubelet/util 2019-04-22 15:23:07 +08:00
SataQiu
903c5a53b3 fix shellcheck failures of cluster/gce/gci/shutdown.sh 2019-04-22 11:46:45 +08:00
SataQiu
b4bc5cb4fe
Merge branch 'master' into fix-shellcheck-20190418 2019-04-22 11:32:17 +08:00
aaa
c4898d6f56 fix shellcheck failures list-resources.sh
update pull request

update pull request

update pull request
2019-04-21 18:17:44 -04:00
aaa
2fb859db42 Fix shellcheck failures on
update pull request

update pull request
2019-04-21 12:40:12 -04:00
Kubernetes Prow Robot
75d45bdfc9
Merge pull request #76856 from SataQiu/fix-hack-cherrypick-20190420
Fix shellcheck failures of hack/cherry_pick_pull.sh
2019-04-21 09:25:44 -07:00
aaa
5f719707f2 Fix shellcheck failures on clean.sh and cache_go_dirs.sh
update pull request
2019-04-21 06:24:08 -04:00
Kubernetes Prow Robot
1377108c08
Merge pull request #76808 from SataQiu/fix-hack-shellcheck-20190419
Fix shellcheck failures of hack/verify-readonly-packages.sh
2019-04-21 00:47:44 -07:00
Christoph Blecker
5236850989
Fix malformed JUNIT XML with shellcheck failures 2019-04-20 18:22:28 -07:00
Thomas Gamble
344dd90881 Fix golint failures in pkg/securitycontext 2019-04-20 20:38:40 -04:00
SataQiu
1f40880615 fix golint failures of pkg/volume/local 2019-04-20 18:18:25 +08:00
aaa
5c8ec1ce9c fix shellcheck failures
update pull request

update pull request
2019-04-20 05:08:00 -04:00
SataQiu
e7e517434b fix shellcheck failures of hack/cherry_pick_pull.sh 2019-04-20 15:49:34 +08:00
SataQiu
43095d9218 fix shellcheck failures of hack/verify-readonly-packages.sh 2019-04-20 14:10:58 +08:00
Kubernetes Prow Robot
f980370fc0
Merge pull request #76608 from suigh/b1_etcd.sh
update the output of install-etcd.sh, show how to export the environment of etcd
2019-04-19 20:29:42 -07:00
aaa
ad5bccc510 fix shellcheck in test-smoke.sh and test-network.sh
update pull request

update pull request

update pull request

update pull request
2019-04-19 16:15:10 -04:00
aaa
e05f85a611 Fix shellcheck failures on verify-readonly-packages.sh 2019-04-19 14:59:50 -04:00
Kubernetes Prow Robot
e4f9d8fe3f
Merge pull request #76331 from xichengliudui/fixshellcheckfailures-17
Fix shellcheck failures in stage-upload.sh
2019-04-19 09:47:55 -07:00
SataQiu
a20aec8d2d fix shellcheck failures of hack/verify-openapi-spec.sh 2019-04-19 23:28:34 +08:00
SataQiu
14775c4057 fix shellcheck failures of hack/grab-profiles.sh 2019-04-19 22:19:41 +08:00
Kubernetes Prow Robot
3b12266c06
Merge pull request #76803 from cblecker/goldflags-fix
Fix shellcheck in hack/lib/golang.sh
2019-04-19 05:53:56 -07:00
SataQiu
0e1956b762 fix golint failures of pkg/kubelet/checkpoint 2019-04-19 18:27:32 +08:00
SataQiu
61478c04d8 fix golint failures of pkg/apis/batch 2019-04-19 18:04:54 +08:00
suigh
c056a46ba9 update the output of install-etcd.sh, show how to export the environment of etcd. 2019-04-19 16:43:00 +08:00
Kubernetes Prow Robot
b54053924e
Merge pull request #76810 from SataQiu/fix-hack-shellcheck-2019041903
Fix shellcheck failures of hack/test-update-storage-objects.sh
2019-04-19 01:06:13 -07:00
SataQiu
4d6319b9b2 fix shellcheck failures of hack/test-update-storage-objects.sh 2019-04-19 20:00:58 +08:00
Kubernetes Prow Robot
3cbb20c694
Merge pull request #76809 from SataQiu/fix-hack-shellcheck-2019041902
Fix shellcheck failures of hack/verify-description.sh and hack/verify-import-boss.sh
2019-04-18 23:40:26 -07:00
SataQiu
04ab994cc3 fix shellcheck failures of hack/verify-description.sh and hack/verify-import-boss.sh 2019-04-19 18:59:24 +08:00
Kubernetes Prow Robot
f0022d87e5
Merge pull request #76744 from xichengliudui/fixshellcheckfailures-25
Fix shellcheck failures on test-e2e-node.sh and test-integration.sh
2019-04-18 23:40:10 -07:00
Christoph Blecker
4543e68ae5
Fix shellcheck in hack/lib/golang.sh 2019-04-18 18:53:13 -07:00