kubernetes/hack
Kubernetes Prow Robot 26f09b77a8
Merge pull request #96028 from masap/local_up_cluster2
local-up-cluster.sh: Pass CLUSTER_CIDR to kube-proxy
2020-11-10 07:17:00 -08:00
..
boilerplate
conformance Update conformance requirement check 2020-02-06 20:09:00 +00:00
e2e-internal make more of the shell pass lints 2019-02-18 22:50:03 -05:00
gen-swagger-doc
jenkins benchmark-dockerized.sh: set KUBE_ROOT 2020-08-05 20:28:34 +00:00
lib fix: pass bearer token to curl using -H instead of --oauth2-bearer 2020-11-05 01:15:19 +08:00
make-rules Exclude KEP-1933 from verify-all.sh until after alpha status. 2020-11-04 20:18:57 +00:00
testdata KEP-1933: add static analysis target to hack/ 2020-11-03 20:03:26 +00:00
tools KEP-1933: add static analysis target to hack/ 2020-11-03 20:03:26 +00:00
verify-flags Updated OWNERS files to include link to docs 2019-02-04 22:33:12 +01:00
.golint_failures Merge pull request #96323 from msscaroso/fix-lint-runtime-serializer-json 2020-11-09 10:32:27 -08:00
.import-aliases Move Kubelet Summary API to staging repo 2020-09-22 18:23:28 +02:00
.shellcheck_failures log-dump.sh: Fix shellcheck issues 2020-10-08 13:58:00 +02:00
.spelling_failures
.staticcheck_failures Merge pull request #93764 from cici37/ccmwrap 2020-11-09 13:44:28 -08:00
benchmark-go.sh
BUILD
build-cross.sh
build-go.sh
cherry_pick_pull.sh
dev-build-and-push.sh
dev-build-and-up.sh
dev-push-conformance.sh
e2e-node-test.sh
generate-bindata.sh
generate-docs.sh
get-build.sh
ginkgo-e2e.sh
grab-profiles.sh
install-etcd.sh
lint-dependencies.sh Remove golang.org exception for preferring latest minimal version 2020-07-31 10:57:07 -04:00
list-feature-tests.sh
local-up-cluster.sh Merge pull request #96028 from masap/local_up_cluster2 2020-11-10 07:17:00 -08:00
module-graph.sh
OWNERS hack: Add justaugustus as reviewer 2020-09-14 09:06:38 -04:00
pin-dependency.sh [go1.15] fix pin-dependency.sh to only use module info 2020-07-25 16:45:02 -04:00
print-workspace-status.sh
README.md
run-in-gopath.sh
test-go.sh
test-integration.sh
update-all.sh
update-bazel.sh
update-codegen.sh Merge pull request #93164 from roycaihw/fix/clientgen-use-canonical-import-path 2020-09-02 13:37:21 -07:00
update-generated-api-compatibility-data.sh
update-generated-device-plugin-dockerized.sh
update-generated-device-plugin.sh
update-generated-docs.sh
update-generated-kms-dockerized.sh Build code-generator tools directly 2020-08-02 10:56:46 -04:00
update-generated-kms.sh
update-generated-kubelet-plugin-registration-dockerized.sh
update-generated-kubelet-plugin-registration.sh
update-generated-pod-resources-dockerized.sh Add podresources v1 API 2020-10-26 12:10:18 -07:00
update-generated-pod-resources.sh Add podresources v1 API 2020-10-26 12:10:18 -07:00
update-generated-protobuf-dockerized.sh Build code-generator tools directly 2020-08-02 10:56:46 -04:00
update-generated-protobuf.sh
update-generated-runtime-dockerized.sh Build code-generator tools directly 2020-08-02 10:56:46 -04:00
update-generated-runtime.sh
update-generated-swagger-docs.sh Speed up update-swagger-docs 2020-08-02 10:56:46 -04:00
update-gofmt.sh
update-hack-tools.sh
update-import-aliases.sh
update-openapi-spec.sh fix: pass bearer token to curl using -H instead of --oauth2-bearer 2020-11-05 01:15:19 +08:00
update-translations.sh
update-vendor-licenses.sh handle longer vendor paths without go files 2020-09-21 14:48:19 -07:00
update-vendor.sh
update-workspace-mirror.sh Use /usr/bin/env bash in Makefiles and scripts 2020-08-16 21:13:18 +02:00
verify-all.sh
verify-api-groups.sh fix a few missed references 2020-09-02 11:45:10 -07:00
verify-bazel.sh
verify-boilerplate.sh
verify-cli-conventions.sh
verify-codegen.sh
verify-conformance-requirements.sh
verify-description.sh
verify-external-dependencies-version.sh
verify-flags-underscore.py Merge pull request #92829 from marload/patch-0706-04 2020-10-19 19:12:07 -07:00
verify-generated-device-plugin.sh
verify-generated-docs.sh
verify-generated-files-remake.sh Pass all packages to conversion-gen 2020-10-30 22:22:57 -07:00
verify-generated-files.sh
verify-generated-kms.sh
verify-generated-kubelet-plugin-registration.sh
verify-generated-pod-resources.sh Add podresources v1 API 2020-10-26 12:10:18 -07:00
verify-generated-protobuf.sh
verify-generated-runtime.sh
verify-generated-swagger-docs.sh verify-generated-swagger-docs: remove unnecessary build 2020-09-15 19:30:58 -07:00
verify-gofmt.sh
verify-golint.sh
verify-govet-levee.sh KEP-1933: add static analysis target to hack/ 2020-11-03 20:03:26 +00:00
verify-govet.sh
verify-hack-tools.sh
verify-import-aliases.sh
verify-import-boss.sh Build code-generator tools directly 2020-08-02 10:56:46 -04:00
verify-imports.sh
verify-linkcheck.sh
verify-no-vendor-cycles.sh Update verify-no-vendor-cycles to use dependencycheck 2020-08-01 08:11:05 -05:00
verify-openapi-spec.sh
verify-pkg-names.sh
verify-prerelease-lifecycle-tags.sh
verify-publishing-bot.py hack: ensure go version is not specified for master in publishing rules 2020-07-24 14:33:05 +05:30
verify-readonly-packages.sh
verify-shellcheck.sh Fix typo in comment of hack/verify-shellcheck.sh 2020-09-07 16:25:44 +08:00
verify-spelling.sh
verify-staging-meta-files.sh
verify-staticcheck.sh
verify-test-code.sh Use ExpectNoError(err) 2020-09-03 23:29:07 +00:00
verify-test-featuregates.sh
verify-test-images.sh
verify-typecheck-dockerless.sh
verify-typecheck-providerless.sh
verify-typecheck.sh
verify-vendor-licenses.sh
verify-vendor.sh

Kubernetes hack GuideLines

This document describes how you can use the scripts from hack directory and gives a brief introduction and explanation of these scripts.

Overview

The hack directory contains many scripts that ensure continuous development of kubernetes, enhance the robustness of the code, improve development efficiency, etc. The explanations and descriptions of these scripts are helpful for contributors. For details, refer to the following guidelines.

Key scripts

  • verify-all.sh: This script is a vestigial redirection, Please do not add "real" logic. It is equivalent to make verify.
  • update-all.sh: This script is a vestigial redirection, Please do not add "real" logic. The true target of this makerule is hack/make-rules/update.sh.It is equivalent to make update.

Attention

Note that all scripts must be run from the Kubernetes root directory. We should run hack/verify-all.sh before submitting a PR and if anything fails run hack/update-all.sh.