aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin/fetch-skps
blob: 75f73d5f31488b1a0e6db7b216ba4fc2b7dac1e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# 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

# Copies the latest bot-generated SKP set to ./skps.

set -x
set -e

VERSION=`cat $(dirname $0)/../SKP_VERSION`
gsutil -m cp -r gs://chromium-skia-gm/playback_$VERSION/skps .