Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 2969513002: Add a default Isolate gRPC proxy in config (Closed)

Created:
3 years, 5 months ago by aludwin
Modified:
3 years, 5 months ago
Reviewers:
ryanmartens, Vadim Sh.
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Add a default Isolate gRPC proxy in config Also removed the old is_grpc flag from the bot's config.json and (rather than removing all traces) prepared for the eventual swarming_grpc_proxy flag that will also be added. Tested: deployed a new settings.cfg with the new value filled in and confirmed that the appropriate debug message is printed and the bot correctly contacts the proxy (w/o setting the env var override). Review-Url: https://codereview.chromium.org/2969513002 Committed: https://github.com/luci/luci-py/commit/68d95d9e6f045e653ae28e36865c7974f9dbeb7b

Patch Set 1 #

Patch Set 2 : Add a default Isolate gRPC proxy in config #

Total comments: 2

Patch Set 3 : Remove unused function #

Patch Set 4 : Remove uncalled fn #

Patch Set 5 : Fix problem in tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -72 lines) Patch
M appengine/swarming/handlers_bot.py View 1 2 3 6 chunks +3 lines, -27 lines 0 comments Download
M appengine/swarming/proto/config.proto View 1 chunk +3 lines, -0 lines 0 comments Download
M appengine/swarming/proto/config_pb2.py View 10 chunks +23 lines, -16 lines 0 comments Download
M appengine/swarming/server/bot_archive.py View 1 2 3 4 5 chunks +11 lines, -12 lines 0 comments Download
M appengine/swarming/server/bot_code.py View 2 chunks +2 lines, -2 lines 0 comments Download
M appengine/swarming/swarming_bot/bot_code/bot_main.py View 1 2 3 4 5 chunks +4 lines, -6 lines 0 comments Download
M appengine/swarming/swarming_bot/bot_code/bot_main_test.py View 1 2 3 4 2 chunks +1 line, -3 lines 0 comments Download
M appengine/swarming/swarming_bot/bot_code/remote_client.py View 1 chunk +3 lines, -3 lines 0 comments Download
M appengine/swarming/swarming_bot/config/config.json View 1 2 3 4 1 chunk +0 lines, -2 lines 0 comments Download
M appengine/swarming/swarming_bot/fake_swarming.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (8 generated)
aludwin
Note: this depends on https://codereview.chromium.org/2969463002/ (that's ***46***3002, not ***51***3002, which is this change). However, Rietveld ...
3 years, 5 months ago (2017-06-29 20:29:51 UTC) #1
aludwin
Note: this depends on https://codereview.chromium.org/2969463002/ (that's ***46***3002, not ***51***3002, which is this change). However, Rietveld ...
3 years, 5 months ago (2017-06-29 20:30:38 UTC) #3
Vadim Sh.
lgtm with nit https://codereview.chromium.org/2969513002/diff/20001/appengine/swarming/handlers_bot.py File appengine/swarming/handlers_bot.py (right): https://codereview.chromium.org/2969513002/diff/20001/appengine/swarming/handlers_bot.py#newcode95 appengine/swarming/handlers_bot.py:95: def get_bot_contact_server(request): can we remove this ...
3 years, 5 months ago (2017-06-29 21:56:23 UTC) #4
aludwin
https://codereview.chromium.org/2969513002/diff/20001/appengine/swarming/handlers_bot.py File appengine/swarming/handlers_bot.py (right): https://codereview.chromium.org/2969513002/diff/20001/appengine/swarming/handlers_bot.py#newcode95 appengine/swarming/handlers_bot.py:95: def get_bot_contact_server(request): On 2017/06/29 21:56:23, Vadim Sh. wrote: > ...
3 years, 5 months ago (2017-06-29 23:38:58 UTC) #5
Vadim Sh.
lgtm
3 years, 5 months ago (2017-06-30 00:02:01 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2969513002/60001
3 years, 5 months ago (2017-06-30 15:39:50 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Luci-py Presubmit on luci.infra.try (JOB_FAILED, https://luci-milo.appspot.com/swarming/task/37127d90958ff810)
3 years, 5 months ago (2017-06-30 15:47:41 UTC) #11
aludwin
Vadim - I had to make a change to bot_archive to allow a None to ...
3 years, 5 months ago (2017-06-30 16:05:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2969513002/80001
3 years, 5 months ago (2017-06-30 16:09:52 UTC) #15
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 16:14:26 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://github.com/luci/luci-py/commit/68d95d9e6f045e653ae28e36865c7974f9dbeb7b

Powered by Google App Engine
This is Rietveld 408576698