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

Unified Diff: scripts/master/buildbucket/update_discovery_doc

Issue 2137583002: buildbucket: bypass Cloud Endpoints API server (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: buildbucket: bypass Cloud Endpoints API server Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/master/buildbucket/update_discovery_doc
diff --git a/scripts/master/buildbucket/update_discovery_doc b/scripts/master/buildbucket/update_discovery_doc
new file mode 100755
index 0000000000000000000000000000000000000000..ca454d5680d1c36daa6ae3d57a90e046d78f162d
--- /dev/null
+++ b/scripts/master/buildbucket/update_discovery_doc
@@ -0,0 +1,2 @@
+#!/bin/bash
+curl 'https://cr-buildbucket.appspot.com/_ah/api/discovery/v1/apis/buildbucket/v1/rest' > discovery_doc.json
dnj (Google) 2016/07/08 17:37:29 nit: Either document that this needs to be run wit
nodir 2016/07/08 17:42:54 Done.
« scripts/master/buildbucket/client.py ('K') | « scripts/master/buildbucket/status.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698