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

Side by Side Diff: bin/fetch-skps

Issue 2169653003: Change SKPs to new asset management format (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add --upload_to_partner_bucket flag to create.py Created 4 years, 5 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 | « SKP_VERSION ('k') | infra/bots/assets/skp/VERSION » ('j') | 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 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
OLDNEW
« no previous file with comments | « SKP_VERSION ('k') | infra/bots/assets/skp/VERSION » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698