From 19b37f046f1c278c05aff4e44fe35833fc16f656 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Sat, 6 Jan 2024 15:24:00 -0800 Subject: [PATCH] Rename update-generated-* dockerized Now they don't start with "update" and confuse dumb scripts which try to run all the updates. --- ....sh => _update-generated-proto-bindings-dockerized.sh} | 0 ...erized.sh => _update-generated-protobuf-dockerized.sh} | 0 hack/update-codegen.sh | 8 ++++---- 3 files changed, 4 insertions(+), 4 deletions(-) rename hack/{update-generated-proto-bindings-dockerized.sh => _update-generated-proto-bindings-dockerized.sh} (100%) rename hack/{update-generated-protobuf-dockerized.sh => _update-generated-protobuf-dockerized.sh} (100%) diff --git a/hack/update-generated-proto-bindings-dockerized.sh b/hack/_update-generated-proto-bindings-dockerized.sh similarity index 100% rename from hack/update-generated-proto-bindings-dockerized.sh rename to hack/_update-generated-proto-bindings-dockerized.sh diff --git a/hack/update-generated-protobuf-dockerized.sh b/hack/_update-generated-protobuf-dockerized.sh similarity index 100% rename from hack/update-generated-protobuf-dockerized.sh rename to hack/_update-generated-protobuf-dockerized.sh diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 970326fa5b9..9e47e9bdbf6 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -117,10 +117,10 @@ function codegen::protobuf() { | xargs -0 rm -f if kube::protoc::check_protoc >/dev/null; then - hack/update-generated-protobuf-dockerized.sh "${apis[@]}" + hack/_update-generated-protobuf-dockerized.sh "${apis[@]}" else 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 } @@ -830,13 +830,13 @@ function codegen::protobindings() { done 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 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 # source tree. This is managed in kube::build::copy_output in build/common.sh. # 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 }