Move update-generated-runtime into common script

Now update-generated-proto-bindings rules all the api.pb.go generation.

Running this shows no delta on the runtime.pb.go

This exposes an issue in how protoc is called for protos that specify
`go_package` which is fixed here.

Not all of our protos specify that option (even though it is
recommended), which will be fixed subsequently.
This commit is contained in:
Tim Hockin
2023-01-14 10:09:22 -08:00
parent e0ecccff3f
commit a057f35c90
7 changed files with 16 additions and 177 deletions

View File

@@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
// To regenerate api.pb.go run hack/update-generated-runtime.sh
// To regenerate api.pb.go run hack/update-generated-proto-bindings.sh
syntax = "proto3";
package runtime.v1;