kubernetes/hack
Kay Yan 78c9610235 hack/tools: update to golangci-lint v1.56.2 + golang v1.21
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2024-02-22 07:03:10 +00:00
..
boilerplate boilerplate_test:fix pylint warnings 2024-01-24 11:05:26 +02:00
conformance e2e: remove redundant spaces in test names 2023-09-29 08:30:57 +02:00
e2e-internal
gen-swagger-doc
jenkins Defer builds to test-cmd and test-integration targets 2023-02-01 15:35:14 -05:00
lib Merge pull request #122880 from Jefftree/agg-discovery-v2-types 2024-02-20 21:03:22 -08:00
make-rules golangci-lint: optionally skip it during "make verify", II 2024-02-16 10:07:51 +01:00
testdata Drop hack/verify-govet-levee 2024-01-04 21:06:52 -05:00
tools hack/tools: update to golangci-lint v1.56.2 + golang v1.21 2024-02-22 07:03:10 +00:00
verify-flags kubelet: create top-level traces for pod sync and GC 2023-03-11 10:42:14 +01:00
.descriptions_failures
.import-aliases scheduler: remove deprecated v1beta2 KubeSchedulerConfiguration 2023-08-17 13:27:21 +08:00
.spelling_failures Add gimme 2023-02-01 16:34:23 -05:00
OWNERS lavalamp is taking a long break 2023-05-11 16:43:38 +00:00
README.md
benchmark-go.sh
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-docs.sh
get-build.sh fix: use dl.k8s.io, not kubernetes-release bucket 2023-05-13 10:57:41 +00:00
ginkgo-e2e.sh Fix ginkgo deprecation warning 2023-05-31 12:53:11 +03:00
golangci-hints.yaml golangci-lint: add hints for error wrapping 2024-02-13 14:12:04 +01:00
golangci-strict.yaml Migrate cmd/kube-proxy to contextual logging (#122197) 2024-01-08 17:30:18 +01:00
golangci.yaml Migrate cmd/kube-proxy to contextual logging (#122197) 2024-01-08 17:30:18 +01:00
golangci.yaml.in golangci-lint: add hints for error wrapping 2024-02-13 14:12:04 +01:00
grab-profiles.sh
install-etcd.sh
install-protoc.sh Add helper script to install protoc 2023-01-26 18:00:08 -05:00
lint-dependencies.sh exit 1 if status are not as expected(order) 2023-06-18 14:09:50 +08:00
list-feature-tests.sh
local-up-cluster.sh Merge pull request #122612 from mtardy/remove-scdeny 2024-02-12 08:37:13 -08:00
logcheck.conf Migrate cmd/kube-proxy to contextual logging (#122197) 2024-01-08 17:30:18 +01:00
module-graph.sh
pin-dependency.sh
print-workspace-status.sh
run-in-gopath.sh
run-prometheus-on-etcd-scrapes.sh
serve-prom-scrapes.sh
test-go.sh
test-integration.sh
unwanted-dependencies.json chore: Cleanup in-tree credential provider azure and cloud provider azure 2024-01-20 15:18:31 +08:00
update-all.sh
update-codegen.sh codegen: Use long flag names for clarity 2024-01-14 16:12:09 -08:00
update-conformance-yaml.sh Revert "Save a list of images used by e2e.test" 2024-01-12 13:15:01 -08:00
update-generated-api-compatibility-data.sh Add CRD compatibility objects 2023-02-27 14:12:59 -05:00
update-generated-docs.sh
update-generated-proto-bindings-dockerized.sh
update-generated-protobuf-dockerized.sh
update-generated-stable-metrics.sh
update-gofmt.sh
update-golangci-lint-config.sh golangci-lint: suppress one issue, demote others to "hints" 2023-08-22 20:39:23 +02:00
update-import-aliases.sh
update-internal-modules.sh [KMSv2] pkcs11 reference implementation using SoftHSM 2023-09-29 16:57:26 +00:00
update-kustomize.sh Update kubectl kustomize to kyaml/v0.14.1, cmd/config/v0.11.1, api/v0.13.2, kustomize/v5.0.1 2023-03-14 11:40:28 -05:00
update-mocks.sh cleanup update-mocks.sh 2023-04-21 16:15:21 -07:00
update-netparse-cve.sh
update-openapi-spec.sh automatically setup etcd when running verify/update openapi-spec.sh 2023-10-25 11:22:45 -07:00
update-translations.sh
update-vanity-imports.sh chore: adds consistent vanity import to files and provides tooling for verifying and updating them. (#120642) 2024-02-08 04:33:30 -08:00
update-vendor-licenses.sh
update-vendor.sh Smallish update-vendor cleanup 2023-12-11 13:29:47 -08:00
update-yamlfmt.sh call kube::golang::setup_env before setting up worktree 2023-04-21 16:15:21 -07:00
verify-all.sh
verify-api-groups.sh
verify-boilerplate.sh
verify-cli-conventions.sh
verify-codegen.sh hack: move common "verify generated" shell code into function 2023-08-22 20:39:23 +02:00
verify-conformance-requirements.sh fix make verify (#115871) 2023-02-22 07:17:56 -08:00
verify-conformance-yaml.sh Revert "Save a list of images used by e2e.test" 2024-01-12 13:15:01 -08:00
verify-description.sh
verify-e2e-suites.sh e2e framework: track and report internal bugs 2023-10-10 18:15:46 +02:00
verify-e2e-test-ownership.sh
verify-external-dependencies-version.sh Drop zeitgeist from tools go.mod 2023-05-17 08:37:53 -04:00
verify-fieldname-docs.sh
verify-file-sizes.sh verify-file-sizes.sh: ensure that no large binary files get added 2023-10-26 20:08:09 +02:00
verify-flags-underscore.py
verify-generated-docs.sh
verify-generated-stable-metrics.sh
verify-gofmt.sh
verify-golangci-lint-config.sh golangci-lint: suppress one issue, demote others to "hints" 2023-08-22 20:39:23 +02:00
verify-golangci-lint-pr-hints.sh hack: update golangci-lint verify scripts 2023-10-09 20:14:47 +02:00
verify-golangci-lint-pr.sh hack: update golangci-lint verify scripts 2023-10-09 20:14:47 +02:00
verify-golangci-lint.sh golangci-lint: inline logcheck configuration 2023-12-14 20:21:58 +01:00
verify-govulncheck.sh Add/update prechecks to verify-govulncheck.sh 2023-09-27 21:05:17 +05:30
verify-import-aliases.sh
verify-import-boss.sh Restrict what imports get into code within test/e2e_node 2023-08-21 15:04:23 -04:00
verify-imports.sh
verify-internal-modules.sh hack: move common "verify generated" shell code into function 2023-08-22 20:39:23 +02:00
verify-licenses.sh Missed a spot! testing verify-licenses.sh 2024-01-25 15:26:43 -05:00
verify-mocks.sh hack: move common "verify generated" shell code into function 2023-08-22 20:39:23 +02:00
verify-netparse-cve.sh
verify-no-vendor-cycles.sh verify-no-vendor-cycles: set up Go environment 2023-11-10 10:58:53 +01:00
verify-non-mutating-validation.sh
verify-openapi-docs-urls.sh Add a script to verify that URLs in API documentation are valid 2023-03-13 11:37:59 -07:00
verify-openapi-spec.sh Capture discovery API output in test fixtures 2023-05-15 14:18:18 -04:00
verify-pkg-names.sh remove unnecessary kube::golang::verify_go_version calls 2023-09-11 14:06:28 -07:00
verify-prerelease-lifecycle-tags.sh remove unnecessary kube::golang::verify_go_version calls 2023-09-11 14:06:28 -07:00
verify-prometheus-imports.sh kubelet: Force deleted pods can fail to move out of terminating 2023-03-08 22:03:51 -06:00
verify-publishing-bot.py update verify script to check deprecated fields 2023-09-25 21:37:40 +05:30
verify-readonly-packages.sh
verify-shellcheck.sh Bump shellcheck to 0.9.0 2024-01-26 16:26:40 -08:00
verify-spelling.sh
verify-staging-meta-files.sh
verify-test-code.sh e2e framework: deprecate gomega wrappers 2023-02-23 09:51:42 +01:00
verify-test-featuregates.sh add test for the registered feature gates 2024-01-07 18:10:25 +02:00
verify-test-images.sh
verify-testing-import.sh enable testing import check for kubeadm binary 2024-01-25 19:56:42 +08:00
verify-typecheck-providerless.sh Add KUBE_PROVIDERLESS for CI jobs to run with providerless tag 2024-01-07 15:20:57 -05:00
verify-typecheck.sh Revert "Make verify-typecheck.sh only check valid targets for a platform" 2024-01-22 20:45:25 -08:00
verify-vendor-licenses.sh
verify-vendor.sh
verify-yamlfmt.sh hack: move common "verify generated" shell code into function 2023-08-22 20:39:23 +02:00

README.md

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.