We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5cbd696 + 94ae3cb commit ef2ef15Copy full SHA for ef2ef15
hack/verify-vendor.sh
@@ -92,5 +92,17 @@ if [[ ${ret} -gt 0 ]]; then
92
exit ${ret}
93
fi
94
95
+# Ensure we can tidy every repo using only its recorded versions
96
+for repo in $(kube::util::list_staging_repos); do
97
+ pushd "${_kubetmp}/staging/src/k8s.io/${repo}" >/dev/null 2>&1
98
+ echo "Tidying k8s.io/${repo}..."
99
+ GODEBUG=gocacheverify=1 go mod tidy
100
+ popd >/dev/null 2>&1
101
+done
102
+pushd "${_kubetmp}" >/dev/null 2>&1
103
+ echo "Tidying k8s.io/kubernetes..."
104
105
+popd >/dev/null 2>&1
106
+
107
echo "Vendor Verified."
108
# ex: ts=2 sw=2 et filetype=sh
0 commit comments