diff options
| author | Pravar Agrawal <pravaag1@in.ibm.com> | 2021-07-22 20:00:22 +0530 |
|---|---|---|
| committer | Pravar Agrawal <pravaag1@in.ibm.com> | 2021-10-05 21:39:00 +0530 |
| commit | 15f001cdbe9089c6b3bd3166a771e98c680be8af (patch) | |
| tree | 3b6ebf949913bb794dae2fb3fd68f5e670ca73c2 | |
| parent | 9ffd5971f32e933684a1a4861e0c04b07ab53ed5 (diff) | |
add documentation for verify-codegen script
| -rw-r--r-- | contributors/devel/sig-testing/verify-tests.md | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/contributors/devel/sig-testing/verify-tests.md b/contributors/devel/sig-testing/verify-tests.md index fef56c9c..39e01b82 100644 --- a/contributors/devel/sig-testing/verify-tests.md +++ b/contributors/devel/sig-testing/verify-tests.md @@ -161,5 +161,25 @@ kubectl uncordon kubectl wait kubectl top node ``` -And if the output looks good i.e. CLI follows all tested conventions the test passes. +And if the output looks good i.e. CLI follows all tested conventions +the test passes. + + +## `verify-codegen` + +This script verifies if the code update is needed or not for specific +sub-projects. It first verifies the correct Go version and creates Go +path. The script checks for the updated code for below subprojects, + +```bash +k8s.io/code-generator +k8s.io/kube-aggregator +k8s.io/sample-apiserver +k8s.io/sample-controller +k8s.io/apiextensions-apiserver +k8s.io/metrics +``` + +Once it completes checking for code updates, later the script calls +`update-codegen.sh` scripts. |
