kubernetes/hack
Tim Hockin 09dc055984
Update golang.org/x/time/rate (#104014)
* Add failing test case

* Update golang.org/x/time/rate

* Call update-internal-modules from update-vendor
2021-07-29 16:13:38 -07:00
..
boilerplate remove bazel from boilerplate 2021-03-07 15:27:45 -08:00
conformance use native error instead of github.com/pkg/errors 2021-07-01 10:54:09 +08:00
e2e-internal hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
gen-swagger-doc
jenkins remove redundant bits from test-dockerized.sh 2021-06-18 14:49:53 -07:00
lib Upgrade etcd to 3.5.0 2021-06-24 09:15:17 +02:00
make-rules enable verify-golangci-lint.sh 2021-07-14 08:53:33 -04:00
testdata Update version of go-flow-levee for verify-govet-levee check. 2021-06-08 12:02:46 -04:00
tools update golangci-lint to newer version 2021-07-14 08:41:21 -04:00
verify-flags
.descriptions_failures Add missing comments in APF API types 2021-06-25 00:27:40 -04:00
.import-aliases scheduler: graduate CC to v1beta2, deprecate plugins 2021-06-07 12:42:55 +00:00
.spelling_failures
.staticcheck_failures upgrade staticcheck to v0.2.0 and update the static failure packages 2021-06-28 18:04:16 +08:00
.structured_logging Mark kubelet structured logs as migrated 2021-03-18 08:34:46 -07:00
benchmark-go.sh
build-cross.sh
build-go.sh
cherry_pick_pull.sh Use gh tool instead of hub for cherry pick script 2021-04-22 07:59:32 -07:00
dev-build-and-push.sh
dev-build-and-up.sh
dev-push-conformance.sh
e2e-node-test.sh
generate-docs.sh
get-build.sh cluster,hack: Use community infra GCS bucket for retrieving CI builds 2021-07-03 17:04:54 -04:00
ginkgo-e2e.sh make program an array and keep ginkgo_args as it is 2021-04-01 22:33:14 +00:00
grab-profiles.sh Fix exit code check in hack/grab-profiles.sh 2021-05-17 14:47:05 +08:00
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 Add comments in several hack/*.sh 2020-01-28 09:27:40 +09:00
local-up-cluster.sh Rename NodeSwapEnabled flag to NodeSwap 2021-07-09 11:39:52 -07: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 update print-workspace-status.sh comment 2021-03-07 12:47:37 -08:00
README.md
run-in-gopath.sh
test-go.sh
test-integration.sh
update-all.sh
update-bazel.sh ignore vendor in update-bazel.sh, ignore bazel in update-vendor.sh 2021-03-07 15:34:44 -08:00
update-codegen.sh Add extract apply function generation 2021-03-10 06:13:51 -08:00
update-conformance-yaml.sh port conformance yaml generation to hack 2021-02-28 00:54:54 -08:00
update-generated-api-compatibility-data.sh Update testdata generation command 2021-05-03 08:53:30 -04:00
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 Add CRI v1 proto 2020-11-10 14:17:17 -08:00
update-generated-runtime.sh
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
update-import-aliases.sh
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 fix translations location in update-translations.sh 2021-07-07 20:01:25 +02:00
update-vendor-licenses.sh update license gathering script for forked code 2021-07-08 07:48:19 -04:00
update-vendor.sh Update golang.org/x/time/rate (#104014) 2021-07-29 16:13:38 -07:00
verify-all.sh
verify-api-groups.sh fix a few missed references 2020-09-02 11:45:10 -07:00
verify-bazel.sh update verify-bazel.sh comments 2021-03-07 13:02:39 -08:00
verify-boilerplate.sh
verify-cli-conventions.sh
verify-codegen.sh
verify-conformance-requirements.sh
verify-conformance-yaml.sh port conformance yaml generation to hack 2021-02-28 00:54:54 -08:00
verify-description.sh hack/verify-description.sh: correctly look for versioned API types 2021-03-02 21:50:40 +05:30
verify-e2e-test-ownership.sh hack/verify: add verify-e2e-test-ownership.sh 2021-03-17 16:47:17 -04:00
verify-external-dependencies-version.sh use sed to drop escape codes from zeitgeist output 2021-03-04 14:59:52 -08: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
verify-generated-docs.sh
verify-generated-files-remake.sh Rename _examples to examples 2021-01-25 10:20:46 -08: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 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 cleanup verify-gofmt.sh 2021-03-07 12:51:33 -08:00
verify-golangci-lint.sh Adds ineffassign to GO linter script. 2021-03-03 08:28:10 -08:00
verify-govet-levee.sh KEP-1933: add static analysis target to hack/ 2020-11-03 20:03:26 +00:00
verify-govet.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-internal-modules.sh Rename *-hack-tools.sh -> *-internal-modules.sh 2021-01-25 10:15:59 -08:00
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 remove BUILD copy from verify-openapi-spec.sh 2021-02-28 15:57:13 -08:00
verify-pkg-names.sh
verify-prerelease-lifecycle-tags.sh
verify-prometheus-imports.sh e2e: Flag questionable durations in container status on termination 2021-05-24 11:48:42 -04:00
verify-publishing-bot.py Change yaml.load() to safe_load() 2021-01-19 15:58:12 +10:00
verify-readonly-packages.sh
verify-shellcheck.sh allo overriding docker in shellcheck 2021-03-06 13:28:58 -08:00
verify-spelling.sh
verify-staging-meta-files.sh
verify-staticcheck.sh upgrade staticcheck to v0.2.0 and update the static failure packages 2021-06-28 18:04:16 +08:00
verify-structured-logging.sh pass all packages at once to logcheck 2021-03-15 20:30:44 +05:30
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 using go list 2021-03-22 16:07:59 -04:00
verify-typecheck-providerless.sh providerless tag for client-go auth plugins 2021-03-28 20:07:59 -04:00
verify-typecheck.sh
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.