Skip to content

Commit 15f001c

Browse files
committed
add documentation for verify-codegen script
1 parent 9ffd597 commit 15f001c

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

contributors/devel/sig-testing/verify-tests.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,5 +161,25 @@ kubectl uncordon
161161
kubectl wait
162162
kubectl top node
163163
```
164-
And if the output looks good i.e. CLI follows all tested conventions the test passes.
165164

165+
And if the output looks good i.e. CLI follows all tested conventions
166+
the test passes.
167+
168+
169+
## `verify-codegen`
170+
171+
This script verifies if the code update is needed or not for specific
172+
sub-projects. It first verifies the correct Go version and creates Go
173+
path. The script checks for the updated code for below subprojects,
174+
175+
```bash
176+
k8s.io/code-generator
177+
k8s.io/kube-aggregator
178+
k8s.io/sample-apiserver
179+
k8s.io/sample-controller
180+
k8s.io/apiextensions-apiserver
181+
k8s.io/metrics
182+
```
183+
184+
Once it completes checking for code updates, later the script calls
185+
`update-codegen.sh` scripts.

0 commit comments

Comments
 (0)