build: ignore go-control-plane mirror git commit error code#8703
build: ignore go-control-plane mirror git commit error code#8703mattklein123 merged 2 commits intoenvoyproxy:masterfrom
Conversation
Signed-off-by: Kuat Yessenov <kuat@google.com>
mattklein123
left a comment
There was a problem hiding this comment.
Thanks for the fix. One small comment.
/wait
tools/api/generate_go_protobuf.py
Outdated
| git(repo, 'commit', '-s', '-m', MIRROR_MSG + sha) | ||
| git(repo, 'push', 'origin', BRANCH) | ||
| except: | ||
| print('Failed to commit changes, skipping push') |
There was a problem hiding this comment.
The push itself can fail, correct? Shouldn't we not swallow that?
There was a problem hiding this comment.
We still get the text output in the CI logs to diagnose the error. I just don't want to break post-submit due to some issues that requires human involvement.
There was a problem hiding this comment.
How are we going to know it failed if we don't see it failed? Can you just handle the empty commit case directly?
There was a problem hiding this comment.
Ok, let's just allow empty commits with the synced SHA from envoy. It doesn't cost much and makes it easier to cross-reference.
There was a problem hiding this comment.
Keep in mind, we already filter for SHAs that affect api/. Not all api/ changes affect generated go code, which caused the problem.
Signed-off-by: Kuat Yessenov <kuat@google.com>
* master: (54 commits) Update dependencies - Go, Bazel toos, xxHash, nanopb, rules_go, curl, protobuf, Jinja, yaml-cpp, re2 (envoyproxy#8728) test: increase coverage of listener_manager_impl.cc (envoyproxy#8737) test: modify some macros to reduce number of uncovered lines reported (envoyproxy#8725) build: add a script to setup clang (envoyproxy#8682) http: fix ssl_redirect on external (envoyproxy#8664) docs: update fedora build requirements (envoyproxy#8641) fix draining listener removal logs (envoyproxy#8733) dubbo: fix router doc (envoyproxy#8734) server: provide server health status when stats disabled (envoyproxy#8482) router: adding a knob to configure a cap on buffering for shadowing/retries (envoyproxy#8574) tcp proxy: add default 1 hour idle timeout (envoyproxy#8705) thrift: fix filter names in docs (envoyproxy#8726) Quiche changes to avoid gcc flags on Windows (envoyproxy#8514) test: increase test coverage in Router::HeaderParser (envoyproxy#8721) admin: add drain listeners endpoint (envoyproxy#8415) buffer filter: add content-length when ending stream with trailers (envoyproxy#8609) clarify draining option docs (envoyproxy#8712) build: ignore go-control-plane mirror git commit error code (envoyproxy#8703) api: remove API type database from checked in artifacts. (envoyproxy#8716) admin: correct help strings (envoyproxy#8710) ... Signed-off-by: Spencer Lewis <slewis@squareup.com>
…xy#8703) Signed-off-by: Kuat Yessenov <kuat@google.com>
Signed-off-by: Kuat Yessenov kuat@google.com
This fixes post-submit when there are no changes to the API.
cc @zuercher
Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]