2015-01-28 17:39:10 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Copies the latest bot-generated SKP set to ./skps.
|
|
|
|
|
|
|
|
set -x
|
|
|
|
set -e
|
|
|
|
|
|
|
|
VERSION=`cat $(dirname $0)/../SKP_VERSION`
|
2016-04-26 19:38:47 +00:00
|
|
|
if ! gsutil -m cp -r gs://chromium-skia-gm/playback_$VERSION/skps . ; then
|
|
|
|
cat >&2 <<EOF
|
|
|
|
|
|
|
|
Instructions for authenticating.
|
|
|
|
|
|
|
|
Install the utilities you need:
|
|
|
|
curl https://sdk.cloud.google.com | bash
|
|
|
|
|
|
|
|
Authenticate
|
|
|
|
gcloud auth login
|
|
|
|
|
|
|
|
Follow instructions on web page.
|
|
|
|
|
|
|
|
Set Project
|
|
|
|
gcloud config set project google.com:skia-buildbots
|
|
|
|
|
|
|
|
EOF
|
|
|
|
exit 1
|
|
|
|
fi
|