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

Side by Side Diff: bin/fetch-skps

Issue 1919133003: bin/fetch-skps: print instruction on error (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Instructions for authenticating.
3 #
4 # Install the utilities you need:
5 # curl https://sdk.cloud.google.com | bash
6 #
7 # Authenticate
8 # gcloud auth login
9 #
10 # Follow instructions on web page.
11 #
12 # Set Project
13 # gcloud config set project google.com:skia-buildbots
14 2
15 # Copies the latest bot-generated SKP set to ./skps. 3 # Copies the latest bot-generated SKP set to ./skps.
16 4
17 set -x 5 set -x
18 set -e 6 set -e
19 7
20 VERSION=`cat $(dirname $0)/../SKP_VERSION` 8 VERSION=`cat $(dirname $0)/../SKP_VERSION`
21 gsutil -m cp -r gs://chromium-skia-gm/playback_$VERSION/skps . 9 if ! gsutil -m cp -r gs://chromium-skia-gm/playback_$VERSION/skps . ; then
10 cat >&2 <<EOF
11
12 Instructions for authenticating.
13
14 Install the utilities you need:
15 curl https://sdk.cloud.google.com | bash
16
17 Authenticate
18 gcloud auth login
19
20 Follow instructions on web page.
21
22 Set Project
23 gcloud config set project google.com:skia-buildbots
24
25 EOF
26 exit 1
27 fi
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698