kubernetes/hack
2020-01-23 13:44:21 -05:00
..
boilerplate Revert "76093 restructure LICENSES file generation" 2019-11-13 10:24:32 -05:00
conformance simplify regexp with raw string 2019-09-20 16:53:56 +08:00
e2e-internal
gen-swagger-doc
jenkins scheduler benchmark: allow to override bench prefix 2019-12-04 18:45:48 +01:00
lib fix etcd version check error on ARM 2019-11-25 20:02:37 +08:00
make-rules Remove unused KUBE_TEST_API logic 2020-01-13 09:09:46 -05:00
testdata Prune should respect namespace 2019-09-25 16:43:08 -07:00
verify-flags
.golint_failures Remove deprecated GA feature gates 2020-01-23 13:44:21 -05:00
.import-aliases Modify alias of e2e/framework/job to e2ejob 2020-01-17 10:56:05 +09:00
.shellcheck_failures Revert "Fix shellcheck failure in log-dump/log-dump.sh" 2019-12-03 18:17:54 +01:00
.spelling_failures
.staticcheck_failures Merge pull request #87377 from gavinfish/pkg-util-netsh 2020-01-21 22:02:35 -08:00
benchmark-go.sh
BUILD remove hack/e2e.go 2019-11-03 19:36:59 -05:00
build-cross.sh
build-go.sh
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
generate-bindata.sh Moves pkg/kubectl/util/i18n to staging 2019-07-25 23:09:34 -07:00
generate-docs.sh
get-build.sh
ginkgo-e2e.sh Remove cluster-monitoring 2019-12-09 11:25:20 +01:00
grab-profiles.sh fix shellcheck failures of hack/grab-profiles.sh 2019-04-19 22:19:41 +08:00
install-etcd.sh
lint-dependencies.sh Allow hack/lint-dependencies.sh to skip golang.org/x/... deps, verify in verify-vendor.sh 2019-07-09 14:07:55 -04:00
list-feature-tests.sh
local-up-cluster.sh Enable bound tokens in local-up-cluster 2020-01-20 09:19:37 -05:00
OWNERS add hwdef as a reviewer of hack 2019-12-12 16:10:06 +08:00
pin-dependency.sh add comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
print-workspace-status.sh Move pkg/kubectl/version to staging 2019-07-26 15:48:09 -07:00
README.md add README.md in hack/ 2020-01-16 10:12:18 +08:00
run-in-gopath.sh
test-go.sh
test-integration.sh fix shellcheck failures in hack/test-integration.sh and hack/verify-test-featuregates.sh 2019-08-14 13:07:46 -04:00
update-all.sh add comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
update-bazel.sh Enable update-bazel.sh outside of GOPATH 2019-11-26 17:33:57 -05:00
update-codegen.sh add comment in hack/update-*.sh 2020-01-16 10:05:49 +08: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 fix shellcheck failures of hack/update-generated-kms-dockerized.sh hack/update-generated-protobuf-dockerized.sh 2019-04-15 01:57:36 +08: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 comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
update-generated-pod-resources.sh
update-generated-protobuf-dockerized.sh fix shellcheck failures of hack/update-generated-kms-dockerized.sh hack/update-generated-protobuf-dockerized.sh 2019-04-15 01:57:36 +08:00
update-generated-protobuf.sh
update-generated-runtime-dockerized.sh fix shellcheck failures of hack/update-generated-runtime-dockerized.sh 2019-04-18 22:36:22 +08:00
update-generated-runtime.sh
update-generated-swagger-docs.sh
update-gofmt.sh fix bug of hack/update-gofmt.sh 2019-04-13 03:29:51 +08:00
update-import-aliases.sh add comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
update-openapi-spec.sh Merge pull request #84654 from liggitt/drop-openapi-version 2020-01-08 11:59:39 -08:00
update-translations.sh add comment in hack/update-*.sh 2020-01-16 10:05:49 +08:00
update-vendor-licenses.sh Revert "76093 restructure LICENSES file generation" 2019-11-13 10:24:32 -05:00
update-vendor.sh Revert "76093 restructure LICENSES file generation" 2019-11-13 10:24:32 -05:00
update-workspace-mirror.sh Fix shellcheck failures in update-workspace-mirror.sh 2019-04-08 14:40:26 -04:00
verify-all.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
verify-api-groups.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09:00
verify-bazel.sh Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09: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 Add comments in several hack/verify-*.sh 2020-01-16 13:54:58 +09: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
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 Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09: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 comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-generated-protobuf.sh Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-generated-runtime.sh Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-generated-swagger-docs.sh Add comments in several hack/verify-generated-*.sh 2020-01-17 14:20:48 +09:00
verify-gofmt.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-golint.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09: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 Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-imports.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09: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 Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09: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-publishing-bot.py publishing: use deps in replace directive in rules 2019-06-24 14:01:20 +05:30
verify-readonly-packages.sh Add comments in several hack/verify-*.sh(g-r) 2020-01-20 17:10:55 +09:00
verify-shellcheck.sh Bump shellcheck to v0.7.0 2019-10-23 21:32:19 +02:00
verify-spelling.sh Add simple explanation to verify-spelling.sh 2020-01-08 15:55:10 +09:00
verify-staging-meta-files.sh
verify-staticcheck.sh Merge pull request #81812 from Huang-Wei/fix-bug-staticcheck 2019-08-25 19:54:20 -07:00
verify-test-code.sh Add code check for framework.ExpectEqual() 2019-07-31 19:03:39 +00:00
verify-test-featuregates.sh Fix shellcheck failures in hack/verify-test-featuregates.sh 2019-08-02 13:43:04 +09:00
verify-test-images.sh
verify-typecheck-providerless.sh add hack/verify-typecheck-providerless.sh 2019-12-04 22:30:23 -08:00
verify-typecheck.sh
verify-vendor-licenses.sh Revert "76093 restructure LICENSES file generation" 2019-11-13 10:24:32 -05:00
verify-vendor.sh Revert "76093 restructure LICENSES file generation" 2019-11-13 10:24:32 -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.