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

Unified Diff: tools/bug_chomper/run_server.sh

Issue 288593003: BugChomper: Get the oauth_client_secret from GS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: add gitignore, only download when missing Created 6 years, 7 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 | « .gitignore ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/bug_chomper/run_server.sh
diff --git a/tools/bug_chomper/run_server.sh b/tools/bug_chomper/run_server.sh
index 5bedb4f9ae120f53df61e98585135671ffa17aef..1a49031f8ef75e43b6bb8fd88cdc3fa33cdc6842 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 $@
« no previous file with comments | « .gitignore ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698