File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
contributors/devel/sig-testing Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -105,3 +105,30 @@ Finally the script checks that all external group versions
105
105
(e.g. ` foobar/v1 ` ) are defined in ` hack/lib/init.sh ` in either the
106
106
` KUBE_AVAILABLE_GROUP_VERSIONS ` or ` KUBE_NONSERVER_GROUP_VERSIONS `
107
107
bash variables.
108
+
109
+ ### ` verify-bazel `
110
+
111
+ This verification script validates whehter the removal of ` bazel `
112
+ related files is still needed or not. This script after setting the
113
+ temporary directories for gopath and kube-related path, runs
114
+ ` [update-bazel.sh]() ` . And once executed, ` update-bazel ` deletes all
115
+ the bazel related files which are either not there in vendor and some
116
+ additional one-off files. After execution, the ` verify-bazel ` script
117
+ again calculates diff to check the earlier output. And if the diff
118
+ result is non-zero then script ` update-bazel.sh ` is run again for the
119
+ files that might be left.
120
+
121
+ Following are the files that are searched for deletion as part of this
122
+ script:
123
+
124
+ ``` bash
125
+ " ${KUBE_ROOT} /build/root/BUILD.root" \
126
+ " ${KUBE_ROOT} /WORKSPACE" \
127
+ " ${KUBE_ROOT} /build/root/WORKSPACE" \
128
+ " ${KUBE_ROOT} /.bazelrc" \
129
+ " ${KUBE_ROOT} /build/root/.bazelrc" \
130
+ " ${KUBE_ROOT} /.bazelversion" \
131
+ " ${KUBE_ROOT} /build/root/.bazelversion" \
132
+ " ${KUBE_ROOT} /.kazelcfg.json" \
133
+ " ${KUBE_ROOT} /build/root/.kazelcfg.json"
134
+ ```
You can’t perform that action at this time.
0 commit comments