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

Side by Side Diff: tools/get_skia_lkgr.sh

Issue 1508313004: Change google3 sync scripts to sync latest rather than LKGR. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Remove LKGR support. Created 5 years 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 unified diff | Download patch
« no previous file with comments | « no previous file | tools/git_clone_to_google3.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright 2014 Google Inc.
3 #
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # Outputs the Last Known Good Revision of Skia.
8
9 prodcertstatus -q || (echo "Please run prodaccess." 1>&2; exit 1)
10 source gbash.sh || exit 2
11
12 set -e
13
14 # Retrieve last known good revision. (App-engine script is very flaky, so retry
15 # 10 times.)
16 LKGR=""
17 for i in `seq 1 10`; do
18 LKGR=$(curl "http://skia-tree-status-staging.appspot.com/lkgr")
19 if [[ ${#LKGR} -gt 4 ]]; then
20 break
21 fi
22 done
23 [[ ${#LKGR} -gt 4 ]] || gbash::die "Unable to get Skia LKGR (got '${LKGR}')"
24 echo "${LKGR}"
OLDNEW
« no previous file with comments | « no previous file | tools/git_clone_to_google3.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698