kubernetes/hack
Kubernetes Prow Robot 2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
..
boilerplate Purge almost all memories of godep 2020-05-07 21:49:00 -07:00
conformance Update conformance requirement check 2020-02-06 20:09:00 +00:00
e2e-internal
gen-swagger-doc
jenkins benchmark-dockerized.sh: set KUBE_ROOT 2020-08-05 20:28:34 +00:00
lib Merge pull request #98508 from tonistiigi/arm64-cross 2021-02-02 18:00:28 -08:00
make-rules Merge pull request #98668 from liggitt/gotestsum 2021-02-01 14:52:36 -08:00
testdata update pause to 3.4.1 for tests(e2e) 2021-02-05 21:32:53 +08:00
tools remove references to golint in hack/tools 2021-01-28 15:43:12 -05:00
verify-flags
.import-aliases GA of RuntimeClass feature gate and API 2020-11-11 19:22:32 +00:00
.shellcheck_failures log-dump.sh: Fix shellcheck issues 2020-10-08 13:58:00 +02:00
.spelling_failures
.staticcheck_failures Merge pull request #97224 from tanjing2020/fix_SA2002 2021-02-04 13:23:03 -08:00
benchmark-go.sh add comment in several hack/ sh scripts. 2020-01-27 11:13:09 +09:00
BUILD remove hack/e2e.go 2019-11-03 19:36:59 -05:00
build-cross.sh add comment in several hack/ sh scripts. 2020-01-27 11:13:09 +09:00
build-go.sh add comment in several hack/ sh scripts. 2020-01-27 11:13:09 +09:00
cherry_pick_pull.sh Fix indent in cherry_pick_pull script 2019-10-17 17:43:29 +02:00
dev-build-and-push.sh
dev-build-and-up.sh
dev-push-conformance.sh Adds an optional golang runner to the conformance test image 2019-07-01 16:26:13 -05:00
e2e-node-test.sh add comment in several hack/ sh scripts. 2020-01-27 11:13:09 +09:00
generate-bindata.sh add conformance testdata/ and make it available from bindata 2020-04-01 10:48:01 -04:00
generate-docs.sh
get-build.sh Update get-build.sh 2020-01-29 09:27:51 +09:00
ginkgo-e2e.sh Merge pull request #91555 from daixiang0/scr 2020-06-20 05:26:53 -07:00
grab-profiles.sh Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
install-etcd.sh Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
lint-dependencies.sh Remove golang.org exception for preferring latest minimal version 2020-07-31 10:57:07 -04:00
list-feature-tests.sh Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
local-up-cluster.sh local-up-cluster kubelet option opening readonly port 2020-12-02 09:46:24 +08:00
module-graph.sh Make sure the _output folder exists before using it from module-graph.sh 2020-07-07 01:19:59 -07:00
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 Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
README.md add README.md in hack/ 2020-01-16 10:12:18 +08:00
run-in-gopath.sh Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
test-go.sh Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
test-integration.sh Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
update-all.sh *.sh: cleanup all white noise 2020-05-29 09:56:00 +08:00
update-bazel.sh Merge pull request #91555 from daixiang0/scr 2020-06-20 05:26:53 -07:00
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 Add helper script to regenerate API compatibility data 2019-06-03 10:18:08 -04:00
update-generated-device-plugin-dockerized.sh add comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
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 add comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
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 Add usage in some hack/update scripts 2020-05-26 21:49:38 -07:00
update-generated-runtime-dockerized.sh Add CRI v1 proto 2020-11-10 14:17:17 -08:00
update-generated-runtime.sh Add usage in some hack/update scripts 2020-05-26 21:49:38 -07:00
update-generated-stable-metrics.sh remove the rest of the bazel test wiring for metrics stability 2021-02-05 10:48:48 -08:00
update-generated-swagger-docs.sh Speed up update-swagger-docs 2020-08-02 10:56:46 -04:00
update-gofmt.sh fix bug of hack/update-gofmt.sh 2019-04-13 03:29:51 +08:00
update-import-aliases.sh *.sh: cleanup all white noise 2020-05-29 09:56:00 +08:00
update-internal-modules.sh Rename _examples to examples 2021-01-25 10:20:46 -08:00
update-openapi-spec.sh Fix OpenAPI spec generator script 2020-12-14 10:10:33 +08:00
update-translations.sh *.sh: cleanup all white noise 2020-05-29 09:56:00 +08:00
update-vendor-licenses.sh handle longer vendor paths without go files 2020-09-21 14:48:19 -07:00
update-vendor.sh Update-vendor: canonicalize pwd 2021-01-25 10:15:59 -08:00
update-workspace-mirror.sh Use /usr/bin/env bash in Makefiles and scripts 2020-08-16 21:13:18 +02:00
verify-all.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
verify-api-groups.sh fix a few missed references 2020-09-02 11:45:10 -07:00
verify-bazel.sh Handle clean up of read only files. 2020-06-03 13:31:18 -07:00
verify-boilerplate.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
verify-cli-conventions.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
verify-codegen.sh Drop k8s.io/node-api packages 2020-02-07 10:07:14 -05:00
verify-conformance-requirements.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
verify-description.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
verify-external-dependencies-version.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
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 Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-generated-docs.sh Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-generated-files-remake.sh Rename _examples to examples 2021-01-25 10:20:46 -08:00
verify-generated-files.sh Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-generated-kms.sh Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-generated-kubelet-plugin-registration.sh Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-generated-pod-resources.sh Add podresources v1 API 2020-10-26 12:10:18 -07:00
verify-generated-protobuf.sh add staging directories to import-boss verify script 2020-01-28 10:51:46 +01:00
verify-generated-runtime.sh Add CRI v1 proto 2020-11-10 14:17:17 -08:00
verify-generated-stable-metrics.sh remove the rest of the bazel test wiring for metrics stability 2021-02-05 10:48:48 -08:00
verify-generated-swagger-docs.sh verify-generated-swagger-docs: remove unnecessary build 2020-09-15 19:30:58 -07:00
verify-gofmt.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-govet-levee.sh KEP-1933: add static analysis target to hack/ 2020-11-03 20:03:26 +00:00
verify-govet.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-import-aliases.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-import-boss.sh Build code-generator tools directly 2020-08-02 10:56:46 -04:00
verify-imports.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-internal-modules.sh Rename *-hack-tools.sh -> *-internal-modules.sh 2021-01-25 10:15:59 -08:00
verify-linkcheck.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
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 Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-pkg-names.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-prerelease-lifecycle-tags.sh add prerelease-lifecycle verification to all beta APIs 2020-05-05 09:47:31 -04:00
verify-publishing-bot.py Change yaml.load() to safe_load() 2021-01-19 15:58:12 +10:00
verify-readonly-packages.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-shellcheck.sh Fix typo in comment of hack/verify-shellcheck.sh 2020-09-07 16:25:44 +08:00
verify-spelling.sh move linting dependencies to hack/tools/tools.go 2020-04-20 13:45:38 -04:00
verify-staging-meta-files.sh Add comments in several hack/verify-*.sh(s-v) 2020-01-21 19:10:46 +09:00
verify-staticcheck.sh set GOOS=linux for the staticcheck tool 2021-01-12 18:00:36 +08:00
verify-test-code.sh Use ExpectNoError(err) 2020-09-03 23:29:07 +00:00
verify-test-featuregates.sh Add comments in several hack/verify-*.sh(s-v) 2020-01-21 19:10:46 +09:00
verify-test-images.sh Add comments in several hack/verify-*.sh(s-v) 2020-01-21 19:10:46 +09:00
verify-typecheck-dockerless.sh Add typecheck-dockerless 2020-05-07 17:18:50 -04:00
verify-typecheck-providerless.sh fix all keps links 404 for kep folder migration 2021-02-01 19:41:59 +08:00
verify-typecheck.sh Rewrite typecheck against x/tools/go/packages 2020-06-26 11:12:06 -07:00
verify-vendor-licenses.sh Remove docker remote/docker-machine from build scripts 2020-12-30 12:37:51 -05:00
verify-vendor.sh Remove docker remote/docker-machine from build scripts 2020-12-30 12:37:51 -05:00

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.