OLD | NEW |
1 #!/bin/sh | 1 #!/bin/sh |
2 | 2 |
3 # Copies the latest bot-generated SKP set to ./skps. | 3 # Copies the latest bot-generated SKP set to ./skps. |
4 | 4 |
5 set -x | 5 set -x |
6 set -e | 6 set -e |
7 | 7 |
8 VERSION=`cat $(dirname $0)/../SKP_VERSION` | 8 DOWNLOAD_SCRIPT=$(cd $(dirname $0)/..; pwd)/infra/bots/assets/skp/download.py |
9 if ! gsutil -m cp -r gs://chromium-skia-gm/playback_$VERSION/skps . ; then | 9 python ${DOWNLOAD_SCRIPT} -t $(pwd)/skps |
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 | |
OLD | NEW |