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

Unified Diff: scripts/master/buildbucket/update_discovery_doc.sh

Issue 2137583002: buildbucket: bypass Cloud Endpoints API server (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: copyright in a tiny shell script 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
« no previous file with comments | « scripts/master/buildbucket/status.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/master/buildbucket/update_discovery_doc.sh
diff --git a/scripts/master/buildbucket/update_discovery_doc.sh b/scripts/master/buildbucket/update_discovery_doc.sh
new file mode 100755
index 0000000000000000000000000000000000000000..286ed509bf3a83dff30de3c336e994537c42c51d
--- /dev/null
+++ b/scripts/master/buildbucket/update_discovery_doc.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+curl 'https://cr-buildbucket.appspot.com/_ah/api/discovery/v1/apis/buildbucket/v1/rest' > $DIR/discovery_doc.json
« no previous file with comments | « scripts/master/buildbucket/status.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698