mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Improve vendor verification works for each staging repo
This commit is contained in:
parent
03b78f3a15
commit
94ae3cbc41
@ -92,5 +92,17 @@ if [[ ${ret} -gt 0 ]]; then
|
|||||||
exit ${ret}
|
exit ${ret}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Ensure we can tidy every repo using only its recorded versions
|
||||||
|
for repo in $(kube::util::list_staging_repos); do
|
||||||
|
pushd "${_kubetmp}/staging/src/k8s.io/${repo}" >/dev/null 2>&1
|
||||||
|
echo "Tidying k8s.io/${repo}..."
|
||||||
|
GODEBUG=gocacheverify=1 go mod tidy
|
||||||
|
popd >/dev/null 2>&1
|
||||||
|
done
|
||||||
|
pushd "${_kubetmp}" >/dev/null 2>&1
|
||||||
|
echo "Tidying k8s.io/kubernetes..."
|
||||||
|
GODEBUG=gocacheverify=1 go mod tidy
|
||||||
|
popd >/dev/null 2>&1
|
||||||
|
|
||||||
echo "Vendor Verified."
|
echo "Vendor Verified."
|
||||||
# ex: ts=2 sw=2 et filetype=sh
|
# ex: ts=2 sw=2 et filetype=sh
|
||||||
|
Loading…
Reference in New Issue
Block a user