mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 20:17:41 +00:00
Rename update-generated-* dockerized
Now they don't start with "update" and confuse dumb scripts which try to run all the updates.
This commit is contained in:
parent
94b709c0e2
commit
19b37f046f
@ -117,10 +117,10 @@ function codegen::protobuf() {
|
|||||||
| xargs -0 rm -f
|
| xargs -0 rm -f
|
||||||
|
|
||||||
if kube::protoc::check_protoc >/dev/null; then
|
if kube::protoc::check_protoc >/dev/null; then
|
||||||
hack/update-generated-protobuf-dockerized.sh "${apis[@]}"
|
hack/_update-generated-protobuf-dockerized.sh "${apis[@]}"
|
||||||
else
|
else
|
||||||
kube::log::status "protoc ${PROTOC_VERSION} not found (can install with hack/install-protoc.sh); generating containerized..."
|
kube::log::status "protoc ${PROTOC_VERSION} not found (can install with hack/install-protoc.sh); generating containerized..."
|
||||||
build/run.sh hack/update-generated-protobuf-dockerized.sh "${apis[@]}"
|
build/run.sh hack/_update-generated-protobuf-dockerized.sh "${apis[@]}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -830,13 +830,13 @@ function codegen::protobindings() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
if kube::protoc::check_protoc >/dev/null; then
|
if kube::protoc::check_protoc >/dev/null; then
|
||||||
hack/update-generated-proto-bindings-dockerized.sh "${apis[@]}"
|
hack/_update-generated-proto-bindings-dockerized.sh "${apis[@]}"
|
||||||
else
|
else
|
||||||
kube::log::status "protoc ${PROTOC_VERSION} not found (can install with hack/install-protoc.sh); generating containerized..."
|
kube::log::status "protoc ${PROTOC_VERSION} not found (can install with hack/install-protoc.sh); generating containerized..."
|
||||||
# NOTE: All output from this script needs to be copied back to the calling
|
# NOTE: All output from this script needs to be copied back to the calling
|
||||||
# source tree. This is managed in kube::build::copy_output in build/common.sh.
|
# source tree. This is managed in kube::build::copy_output in build/common.sh.
|
||||||
# If the output set is changed update that function.
|
# If the output set is changed update that function.
|
||||||
build/run.sh hack/update-generated-proto-bindings-dockerized.sh "${apis[@]}"
|
build/run.sh hack/_update-generated-proto-bindings-dockerized.sh "${apis[@]}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user