add update-staging-client-go.sh and verify-staging-client-go.sh;

disable verify-staging-client-go.sh until 1.5 code freeze
This commit is contained in:
Chao Xu
2016-10-11 16:18:50 -07:00
parent 3bda6884b8
commit d3c0d04285
7 changed files with 136 additions and 39 deletions

View File

@@ -38,6 +38,7 @@ KUBE_VERBOSE=3 "${KUBE_ROOT}/hack/update-generated-runtime.sh"
diff -I "gzipped FileDescriptorProto" -I "0x" -Naupr ${KUBE_REMOTE_RUNTIME_ROOT}/_tmp/api.pb.go ${KUBE_REMOTE_RUNTIME_ROOT}/api.pb.go || ret=$?
if [[ $ret -eq 0 ]]; then
echo "Generated container runtime api is up to date."
cp ${KUBE_REMOTE_RUNTIME_ROOT}/_tmp/api.pb.go ${KUBE_REMOTE_RUNTIME_ROOT}/
else
echo "Generated container runtime api is out of date. Please run hack/update-generated-runtime.sh"
exit 1