aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-13 19:18:55 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2014-05-13 19:18:55 +0000
commit44d4210146be4ba76244f0f06a76578d7c8eaf58 (patch)
tree4d980a3f2502df4919bd90ccb0fc3e0ea03255f2 /tools
parent54aac657f829f85856d24f26ab01c290c69fe671 (diff)
BugChomper: Get the oauth_client_secret from GS
BUG=skia: NOTRY=true (SkipBuildbotRuns) R=jcgregorio@google.com Author: borenet@google.com Review URL: https://codereview.chromium.org/288593003 git-svn-id: http://skia.googlecode.com/svn/trunk@14718 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rwxr-xr-xtools/bug_chomper/run_server.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/bug_chomper/run_server.sh b/tools/bug_chomper/run_server.sh
index 5bedb4f9ae..1a49031f8e 100755
--- a/tools/bug_chomper/run_server.sh
+++ b/tools/bug_chomper/run_server.sh
@@ -7,5 +7,10 @@ go get github.com/gorilla/securecookie
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd $DIR
+
+if [[ ! -f oauth_client_secret.json ]]; then
+ gsutil cp gs://chromium-skia-gm/bugchomper/oauth_client_secret.json .
+fi
+
GOPATH="$GOPATH:$DIR" go run $DIR/src/server/server.go $@