Commit Graph

8385 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
19ca6d30d2
Merge pull request #87437 from apelisse/kubectl-diff-exit-code
kubectl-diff: Return non-1 errors on kubectl failures
2020-02-01 18:33:20 -08:00
Kubernetes Prow Robot
b7a1d61462
Merge pull request #87658 from dims/enable-selinux-tags-in-make-targets
Enable selinux tags in make targets
2020-02-01 03:35:35 -08:00
Kubernetes Prow Robot
536c2c8918
Merge pull request #87706 from liggitt/fix-statefulset-conversion
Fix statefulset conversion
2020-01-31 20:08:16 -08:00
Davanum Srinivas
dfd8e4e467
Enable selinux tags in make targets
In 24d105995d, a fix was made in bazel
based builds to ensure that we add `selinux` tag when we build all
binaries especially the `kubelet`. We need to do the same for in our
hack scripts so things like `make release` will work properly as well.

Some scripts use `GOFLAGS=-tags=providerless` for example, So we should
support the tags to be specified in GOFLAGS as well. We parse out the
tags from there and ensure selinux is added to the list of tags we used
for building the binaries. Note that we add our own `-tags` with the
full set of tags and since we specify our parameter at the end, ours
full list takes precendence
2020-01-31 15:48:44 -05:00
Alena Prokharchyk
331cd94ccc Ineffassign fixes for pkg/volume
Along resolves errors whitelisted in hack/.staticcheck_failures
2020-01-31 10:14:45 -08:00
Kubernetes Prow Robot
5ced53c0c4
Merge pull request #87628 from alculquicondor/cc-v1alpha2
Add kubescheduler.config.k8s.io/v1alpha2
2020-01-30 16:59:33 -08:00
Jordan Liggitt
498ae799b5 Use standard default storage media type in local-up-cluster 2020-01-30 17:25:23 -05:00
JieJhih Jhang
8bd9c994ca fix command variable exited with status 1 2020-01-30 12:52:09 +08:00
Aldo Culquicondor
3d83ef2e8e Autogenerated and build files for kubescheduler.config.k8s.io/v1alpha2
Signed-off-by: Aldo Culquicondor <acondor@google.com>
2020-01-29 17:18:48 -05:00
Kubernetes Prow Robot
17936ff63b
Merge pull request #87544 from SenXuDC/staticcheck
fix static check in pkg/volume/flocker
2020-01-29 07:32:42 -08:00
Jin Hase
0ce49aea1f
Update get-build.sh 2020-01-29 09:27:51 +09:00
Elijah Oyekunle
558f6aab56 add staging directories to import-boss verify script 2020-01-28 10:51:46 +01:00
Kubernetes Prow Robot
962a61f51f
Merge pull request #87446 from KobayashiD27/add-hack-comment
add comment in several hack/ sh scripts.
2020-01-27 20:33:39 -08:00
Kubernetes Prow Robot
63df400778
Merge pull request #87514 from hase1128/fix-verify-api-groups-script
Fix bug of hack/verify-api-groups.sh
2020-01-27 18:53:39 -08:00
Jin Hase
e992ec0d59 Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
Kobayashi Daisuke
ee00497ea9 add comment in several hack/ sh scripts. 2020-01-27 11:13:09 +09:00
Jin Hase
08833c9180
Withdraw the change of getting version variable 2020-01-27 08:26:04 +09:00
Kubernetes Prow Robot
e2b823fa7d
Merge pull request #87243 from SenXuDC/fix-staticcheck
fix static check in cluster/images/etcd-version-monitor
2020-01-25 22:41:02 -08:00
Kubernetes Prow Robot
089d3e63e5
Merge pull request #86910 from RaunakShah/golint_vspherestorage
Fix golint errors in test/e2e/storage/vsphere
2020-01-25 07:41:01 -08:00
SenXuDC
7c72b5791b fix static check in pkg/volume/flocker 2020-01-25 10:51:55 +08:00
Kubernetes Prow Robot
58c67632e5
Merge pull request #87475 from liggitt/drop-ga-gates
Remove deprecated GA feature gates that expire in 1.18
2020-01-24 03:02:46 -08:00
Jin Hase
efd309b7da Fix bug of hack/verify-api-groups.sh 2020-01-24 17:49:42 +09:00
Kubernetes Prow Robot
6c693549a3
Merge pull request #87183 from Aresforchina/fix-staticcheck-test15
fix-staticcheck:pkg/volume/scaleio/
2020-01-23 22:20:31 -08:00
Kubernetes Prow Robot
c5d981583a
Merge pull request #87308 from KobayashiD27/fix-staticcheck
Fix staticcheck in pkg/controller/podgc
2020-01-23 11:34:11 -08:00
Jordan Liggitt
57724766bc Remove deprecated GA feature gates 2020-01-23 13:44:21 -05:00
Kubernetes Prow Robot
f0486a6b6a
Merge pull request #87178 from YuikoTakada/fix_81657_1
Fix static check failures in test/e2e/instrumentation/logging/st…
2020-01-23 06:00:49 -08:00
Sakura
9897f33f7d
fix static check errors in vendor/k8s.io/apimachinery/pkg/api/resource
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-23 21:07:14 +08:00
Kubernetes Prow Robot
4630690eae
Merge pull request #87457 from 928234269/fix_staticcheck03
fix static check errors in test/integration/etcd
2020-01-22 20:37:47 -08:00
Kubernetes Prow Robot
53a394e53f
Merge pull request #87188 from claudiubelu/test-images/centralization-cleanup
test images: Image Promoter fixes
2020-01-22 16:30:50 -08:00
Sakura
8c6d7a7086
fix static check errors in test/integration/etcd
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-22 23:16:26 +08:00
Kubernetes Prow Robot
1735f7a2b6
Merge pull request #87377 from gavinfish/pkg-util-netsh
Fix static check errors in pkg/util/netsh
2020-01-21 22:02:35 -08:00
Antoine Pelisse
38c5f318c9 kubectl-diff: Test return code on failure and changes 2020-01-21 15:34:22 -08:00
Kubernetes Prow Robot
84beab6f26
Merge pull request #87386 from liggitt/local-up-token-signer
Enable bound tokens in local-up-cluster
2020-01-21 06:35:51 -08:00
Kubernetes Prow Robot
29a4b39536
Merge pull request #87382 from yiyang5055/fix-staticcheck
fix static check failure in pkg/controller/disruption and pkg/control…
2020-01-21 06:35:37 -08:00
Jin Hase
093fd4ab02 Add comments in several hack/verify-*.sh(s-v) 2020-01-21 19:10:46 +09:00
Kubernetes Prow Robot
a7b4459cd1
Merge pull request #87379 from hase1128/add-comment-to-several-verify-scripts_3
Add comments in several hack/verify-*.sh(g-r)
2020-01-21 01:30:09 -08:00
YuikoTakada
e5a2aeeae6 Fix static check failures in test/e2e/instrumentation/logging/stackdriver 2020-01-21 00:43:21 +00:00
Jordan Liggitt
2a2ce207f2 Enable bound tokens in local-up-cluster 2020-01-20 09:19:37 -05:00
Kubernetes Prow Robot
f680c261e6
Merge pull request #87074 from yuxiaobo96/k8s-staticcheck
fix staticcheck: pkg/volume/awsebs
2020-01-20 03:09:37 -08:00
yiyang5055
53aff819e0 fix static check failure in pkg/controller/disruption and pkg/controller/namespace/deletion 2020-01-20 09:10:46 +00:00
yuxiaobo
72f34b817e staticcheck: pkg/volume/fc, pkg/volume/portworx and pkg/volume/vsphere_volume
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-20 16:47:54 +08:00
Jin Hase
c8df27c2b1 Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
Kubernetes Prow Robot
3d8317ae91
Merge pull request #87139 from yuxiaobo96/k8s-staticcheck2
fix staticcheck:pkg/volume/cinder
2020-01-19 21:47:36 -08:00
drfish
f19f4e40f9 Fix static check errors in pkg/util/netsh 2020-01-20 13:25:34 +08:00
chendotjs
2afe0da8ee Unify --cluster-cidr in KCM and CCM 2020-01-19 13:51:02 +08:00
Kubernetes Prow Robot
66178b9cc1
Merge pull request #87307 from hase1128/add-comment-to-several-verify-scripts_2
Add comments in several hack/verify-generated-*.sh
2020-01-18 01:49:35 -08:00
Kubernetes Prow Robot
f256c0254f
Merge pull request #87221 from YuikoTakada/fix_81657_2
Fix static check failures in test/e2e/instrumentation/monitoring
2020-01-17 21:39:49 -08:00
Kubernetes Prow Robot
f88f58cb79
Merge pull request #87245 from 928234269/fix_staticcheck
fix staticcheck errors in pkg/volume/hostpath.
2020-01-17 12:15:18 -08:00
Kubernetes Prow Robot
acf64f4501
Merge pull request #87303 from k-toyoda-pi/modify_alias_e2ejob
Modify alias of e2e/framework/job to e2ejob
2020-01-17 10:15:10 -08:00
Kobayashi Daisuke
ed1381e35f Fix staticcheck in pkg/controller/podgc 2020-01-17 15:42:38 +09:00
Jin Hase
09a132be29 Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
Kubernetes Prow Robot
56b140c6f5
Merge pull request #87272 from hase1128/add-comment-to-several-verify-scripts
Add comments in several hack/verify-*.sh
2020-01-16 18:57:08 -08:00
Kubernetes Prow Robot
9519d9764d
Merge pull request #87065 from tanjunchen/add-README-hack
add README.md in hack/
2020-01-16 18:56:55 -08:00
toyoda
0c12ae5240 Modify alias of e2e/framework/job to e2ejob 2020-01-17 10:56:05 +09:00
shahra
18f05ef5b9 Fix golint errors in test/e2e/storage/vsphere 2020-01-16 11:12:31 -08:00
Kubernetes Prow Robot
0c1d714627
Merge pull request #87128 from Aresforchina/fix-staticcheck-test12
fix-staticcheck:pkg/volume/emptydir
2020-01-16 07:48:50 -08:00
Kubernetes Prow Robot
47475c69d1
Merge pull request #87181 from tanjunchen/add-comment-hack-update
add comment in hack/update-*.sh
2020-01-15 21:21:38 -08:00
Kubernetes Prow Robot
7ffa2b9c46
Merge pull request #87042 from oomichi/e2e-alias
Add import-aliases check of e2e sub framework
2020-01-15 21:20:48 -08:00
Jin Hase
e1eabf8576 Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
YuikoTakada
aa2691eeac Fix static check failures in test/e2e/instrumentation/monitoring 2020-01-16 02:42:07 +00:00
tanjunchen
0c77101b90 add README.md in hack/ 2020-01-16 10:12:18 +08:00
tanjunchen
b2f76cc780 add comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
Kobayashi Daisuke
0c3112fff3 fix golint error in plugin/pkg/auth/authorizer/rbac/bootstrappolicy 2020-01-16 09:23:16 +09:00
Sakura
4143bc7a96
fix staticcheck errors in pkg/volume/hostpath.
Signed-off-by: Sakura <longfei.shang@daocloud.io>
2020-01-15 22:54:48 +08:00
SenXuDC
cc8e8401e2 fix static check in cluster/images/etcd-version-monitor 2020-01-15 21:31:33 +08:00
Kubernetes Prow Robot
12b77b8f16
Merge pull request #86955 from RainbowMango/pr_clean_cloud_controller_manager
Cleanup cloud controller manager when closing cluster.
2020-01-15 01:22:00 -08:00
Aresforchina
514bdbedac fix-static:pkg/volume/scaleio/ 2020-01-15 09:53:27 +08:00
Kubernetes Prow Robot
ded4f74133
Merge pull request #87082 from liggitt/cleanup-testapi
Remove unused KUBE_TEST_API logic
2020-01-13 13:59:19 -08:00
Kubernetes Prow Robot
e1cc36000f
Merge pull request #87002 from SataQiu/staticcheck-20200109
Fix staticcheck failures of pkg/util/ipconfig pkg/util/iptables pkg/util/ipvs/testing
2020-01-13 13:58:55 -08:00
Jordan Liggitt
2a47900620 Remove unused KUBE_TEST_API logic 2020-01-13 09:09:46 -05:00
yuxiaobo
da15570daa fix staticcheck:pkg/volume/cinder
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 18:20:23 +08:00
Aresforchina
e62f9625cf fix-static:pkg/volume/emptydir 2020-01-13 15:23:45 +08:00
Kubernetes Prow Robot
ce6a9f97e5
Merge pull request #87076 from hase1128/add-simple-explanation-to-verify-linkcheck-script
Add some comment to hack/verify-linkcheck.sh
2020-01-10 21:19:36 -08:00
Jin Hase
8da4a1d97f Add some comment to hack/verify-linkcheck.sh 2020-01-10 20:12:30 +09:00
yuxiaobo
c5764735e2 fix staticcheck:pkg/volume/awsebs
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-10 18:36:39 +08:00
Kobayashi Daisuke
fee0d43d23 fix golint error in pkg/apis/rbac 2020-01-10 11:22:05 +09:00
Kenichi Omichi
19daee7e60 Add import-aliases check for e2e framework
This adds import-aliases check for e2e sub framework packages.
2020-01-09 08:58:20 +00:00
SataQiu
51c742c1dd fix staticcheck failures of pkg/util/ipconfig pkg/util/iptables pkg/util/ipvs/testing 2020-01-09 16:05:11 +08:00
Kubernetes Prow Robot
968361dc83
Merge pull request #86945 from hase1128/add-simple-explanation-to-verify-spelling-script
Add simple explanation to verify-spelling.sh
2020-01-08 14:46:14 -08:00
Kubernetes Prow Robot
79bb357193
Merge pull request #84654 from liggitt/drop-openapi-version
Drop version from static openapi json file
2020-01-08 11:59:39 -08:00
RainbowMango
0f9c262eda Cleanup cloud controller manager when closing cluster. 2020-01-08 19:18:53 +08:00
Kubernetes Prow Robot
35434fdfea
Merge pull request #86901 from tanjunchen/staticcheck-002
staticcheck:test/integration/master/
2020-01-08 02:58:55 -08:00
Kubernetes Prow Robot
dbf3a46ec1
Merge pull request #86893 from RainbowMango/pr_support_external_cloud_provider_part2
Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value
2020-01-08 02:58:44 -08:00
Kubernetes Prow Robot
1f50be5d04
Merge pull request #86775 from Aresforchina/fix-staticcheck-test03
fix staticcheck of pkg/util/ebtables
2020-01-08 02:58:07 -08:00
Kubernetes Prow Robot
302cf556e0
Merge pull request #86604 from hase1128/add-simple-explanation-to-verify-golint-script
Add simple explanation to verify golint script
2020-01-08 01:49:40 -08:00
Jin Hase
ee967060c7 Add simple explanation to verify-spelling.sh 2020-01-08 15:55:10 +09:00
Kubernetes Prow Robot
8dca390262
Merge pull request #84927 from mattjmcnaughton/mattjmcnaughton/fix-kubelet-config-common
Fix golint failures for pkg/kubelet/config/...
2020-01-07 21:09:40 -08:00
Kubernetes Prow Robot
11a31590e4
Merge pull request #86900 from tanjunchen/staticcheck-001
staticcheck:test/integration/auth/
2020-01-07 07:36:31 -08:00
tanjunchen
8d313f333e staticcheck:test/integration/master/ 2020-01-07 21:56:37 +08:00
tanjunchen
264a1cf5f6 staticcheck:test/integration/auth/ 2020-01-07 15:23:19 +08:00
Kubernetes Prow Robot
8b8f2aa4a5
Merge pull request #85431 from irbull/api-doc
Add public documentation for kubelet/apis/config
2020-01-06 23:12:18 -08:00
RainbowMango
24ccd77a98 Remove variable EXTERNAL_CLOUD_VOLUME_PLUGIN default value in local-up-cluster.sh 2020-01-07 10:17:10 +08:00
Kubernetes Prow Robot
d6412b856f
Merge pull request #84345 from danielqsj/withdialer
replace grpc.WithDialer which is deprecated
2020-01-06 15:56:17 -08:00
Kubernetes Prow Robot
c409446d41
Merge pull request #86781 from SataQiu/staticcheck-20200102
Fix staticcheck failures of test/integration/client test/integration/disruption
2020-01-06 13:34:45 -08:00
Claudiu Belu
4c51eb9063 test images: Image Promoter fixes
Prior to the Image Centralization part 4 (https://github.com/kubernetes/kubernetes/pull/81170),
a PR merged that enables the Image Promoter to run on the k/k test images.

The Image Promoter currently only builds the Conformance-related images, but the
Image Centralization part 4 centralized some of those images into agnhost, so they
need to be removed from the conformance_images list.

Additionally, https://github.com/kubernetes/kubernetes/pull/81226 proposes mounttest-user
image to be removed, and RunAsUser to be used in tests instead.

The image used by the Image Promoter (gcr.io/k8s-testimages/gcb-docker-gcloud:v20190906-745fed4)
is based on busybox, and thus, the sed binary is actually busybox. image-util.sh calls
kube::util::ensure-gnu-sed several times, which ensures that a GNU sed binary exists
(it checks by greping GNU in its --help output). Obviously, it won't match the busybox sed
binary. But the sed usage in image-util.sh is fairly simple, and the busybox sed is sufficient.

Bumps image versions for: jessie-dnsutils, nonewprivs, resource-consumer, sample-apiserver. These
images are included in the conformance_images that are being built by the Image Promoter, so
we're bumping them just to make sure we're not breaking anything and cause all the CIs to fall.
We're going to bump the image versions used in tests in a subsequent PR. The image version was not
bumped for: agnhost, kitten, nautilus, as they were already bumped by the Image Centralization part 4
PR.
2020-01-06 09:08:51 -08:00
RainbowMango
eb074761bc Fix local-up-cluster.sh do not work with non-intree external cloud provider issue. 2020-01-06 22:54:38 +08:00
SataQiu
17b0b77026 fix staticcheck failures of test/integration/client test/integration/disruption 2020-01-03 17:23:35 +08:00
Aresforchina
bfc4a7a1c5 fix staticcheck of pkg/util/ebtables 2020-01-02 18:16:50 +08:00
Kubernetes Prow Robot
2099c00290
Merge pull request #86745 from Aresforchina/fix-staticcheck-test01
Fix staticcheck failures of test/integration/replicationcontroller
2019-12-31 20:31:39 -08:00
Kubernetes Prow Robot
4058cdcc2a
Merge pull request #86750 from RainbowMango/pr_postpone_swap_warning
Postpone flag warning log to just before it be used
2019-12-31 12:25:40 -08:00