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

Issue 2137583002: buildbucket: bypass Cloud Endpoints API server (Closed)

Created:
4 years, 5 months ago by nodir
Modified:
4 years, 5 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

buildbucket: bypass Cloud Endpoints API server Cloud Endpoints API server causes occasional 404s and increases of latency. We don't use the benefits that it provides, so bypass it. This CL also vendors discovery doc from buildbucket, primarily because apiclient API does not allow to manipulate API baseURL, but also it simplfies code. R=dnj@chromium.org BUG=626650 Committed: https://chromium.googlesource.com/chromium/tools/build/+/01a9273aee506a2463a290c407eb4cd3599d53d3

Patch Set 1 #

Patch Set 2 : buildbucket: bypass Cloud Endpoints API server #

Total comments: 6

Patch Set 3 : comments #

Patch Set 4 : copyright in a tiny shell script #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1112 lines, -33 lines) Patch
M scripts/master/buildbucket/__init__.py View 2 chunks +3 lines, -4 lines 0 comments Download
M scripts/master/buildbucket/client.py View 1 2 3 chunks +35 lines, -9 lines 0 comments Download
A scripts/master/buildbucket/discovery_doc.json View 1 chunk +1058 lines, -0 lines 0 comments Download
M scripts/master/buildbucket/status.py View 2 chunks +9 lines, -20 lines 0 comments Download
A scripts/master/buildbucket/update_discovery_doc.sh View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (11 generated)
nodir
PTAL Tested locally
4 years, 5 months ago (2016-07-08 17:19:12 UTC) #1
nodir
-dn +dnj
4 years, 5 months ago (2016-07-08 17:22:34 UTC) #4
dnj (Google)
lgtm w/ nits https://codereview.chromium.org/2137583002/diff/20001/scripts/master/buildbucket/client.py File scripts/master/buildbucket/client.py (right): https://codereview.chromium.org/2137583002/diff/20001/scripts/master/buildbucket/client.py#newcode26 scripts/master/buildbucket/client.py:26: BYPASS_ENDPOINTS_WHITELIST = [ nit: might as ...
4 years, 5 months ago (2016-07-08 17:37:29 UTC) #6
nodir
https://codereview.chromium.org/2137583002/diff/20001/scripts/master/buildbucket/client.py File scripts/master/buildbucket/client.py (right): https://codereview.chromium.org/2137583002/diff/20001/scripts/master/buildbucket/client.py#newcode26 scripts/master/buildbucket/client.py:26: BYPASS_ENDPOINTS_WHITELIST = [ On 2016/07/08 17:37:29, dnj (Google) wrote: ...
4 years, 5 months ago (2016-07-08 17:42:54 UTC) #7
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/2137583002/40001
4 years, 5 months ago (2016-07-08 17:43:03 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Build Presubmit on master.tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Build%20Presubmit/builds/5974)
4 years, 5 months ago (2016-07-08 17:51:12 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/2137583002/60001
4 years, 5 months ago (2016-07-08 17:52:42 UTC) #15
tandrii(chromium)
LGTM, thanks!
4 years, 5 months ago (2016-07-08 17:54:58 UTC) #18
commit-bot: I haz the power
4 years, 5 months ago (2016-07-08 17:57:01 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/tools/build/+/01a9273aee506a2463a2...

Powered by Google App Engine
This is Rietveld 408576698