OLD | NEW |
1 Downloading SKPs | 1 Downloading SKPs |
2 ================ | 2 ================ |
3 | 3 |
4 ### Contents ### | 4 ### Contents ### |
5 | 5 |
6 * [Overview](#overview) | 6 * [Overview](#overview) |
7 * [How to download SKPs](#download_skps) | 7 * [How to download SKPs](#download_skps) |
8 + [Buildbot SKPs (for Googlers)](#buildbot_skps_googler) | 8 + [Buildbot SKPs (for Googlers)](#buildbot_skps_googler) |
9 + [Buildbot SKPs (for trusted partners)](#buildbot_skps_partners) | 9 + [Buildbot SKPs (for trusted partners)](#buildbot_skps_partners) |
10 + [Cluster Telemetry SKPs (for Googlers)](#ct_skps_googler) | 10 + [Cluster Telemetry SKPs (for Googlers)](#ct_skps_googler) |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 <a name="download_skps"></a> | 25 <a name="download_skps"></a> |
26 How to download SKPs | 26 How to download SKPs |
27 -------------------- | 27 -------------------- |
28 | 28 |
29 <a name="buildbot_skps_googler"></a> | 29 <a name="buildbot_skps_googler"></a> |
30 ### Buildbot SKPs (for Googlers) | 30 ### Buildbot SKPs (for Googlers) |
31 | 31 |
32 The following will work only if you have a google.com account. | 32 The following will work only if you have a google.com account. |
33 | 33 |
34 All buildbot SKP files created by the RecreateSKPs bot are available in the Goog
le Storage bucket gs://chromium-skia-gm, they can be copied over to your local d
irectory like this: | 34 All buildbot SKP files created by the RecreateSKPs bot are available via the ass
et management scripts: |
35 | 35 |
36 * Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start. | 36 $ download_from_google_storage -s infra/bots/tools/luci-go/${PLATFORM}/cipd.
sha1 --bucket chromium-luci |
37 * Authenticate using your google.com credentials “gcloud auth login” | 37 $ infra/bots/tools/luci-go/${PLATFORM}/cipd auth-login |
38 * Get the current SKP version from https://skia.googlesource.com/skia/+/master/S
KP_VERSION. | 38 $ infra/bots/assets/skp/download.py -t ${TARGET_DIR} |
39 * Run in your terminal: | |
40 | |
41 $ SKP\_VERSION=...<br/> | |
42 $ SKP\_DEST=...<br/> | |
43 $ gsutil -m cp gs://chromium-skia-gm/playback\_${SKP\_VERSION}/skps/*.skp ${
SKP\_DEST} | |
44 | 39 |
45 | 40 |
46 <a name="buildbot_skps_partners"></a> | 41 <a name="buildbot_skps_partners"></a> |
47 ### Buildbot SKPs (for trusted partners) | 42 ### Buildbot SKPs (for trusted partners) |
48 | 43 |
49 * Request access to the gs://chrome-partner-telemetry bucket by emailing telemet
ry@chromium.org ([example](https://groups.google.com/a/chromium.org/d/msg/teleme
try/kSwcgH7KiYs/zwBwEZaadOIJ)). | 44 * Request access to the gs://chrome-partner-telemetry bucket by emailing telemet
ry@chromium.org ([example](https://groups.google.com/a/chromium.org/d/msg/teleme
try/kSwcgH7KiYs/zwBwEZaadOIJ)). |
50 * Once approved you can download Skia's weekly refreshed buildbot SKPs from gs:/
/chrome-partner-telemetry/skps | 45 * Once approved you can download Skia's weekly refreshed buildbot SKPs from gs:/
/chrome-partner-telemetry/skps |
51 | 46 |
52 | 47 |
53 <a name="ct_skps_googler"></a> | 48 <a name="ct_skps_googler"></a> |
54 ### Cluster Telemetry SKPs (for Googlers) | 49 ### Cluster Telemetry SKPs (for Googlers) |
55 | 50 |
56 The following will work only if you have a google.com account. | 51 The following will work only if you have a google.com account. |
57 | 52 |
58 * Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start. | 53 * Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start. |
59 * Authenticate using your google.com credentials “gcloud auth login” | 54 * Authenticate using your google.com credentials “gcloud auth login” |
60 * Look at the SKP Repository list [here](https://ct.skia.org/lua_script/) for al
l available SKPs. | 55 * Look at the SKP Repository list [here](https://ct.skia.org/lua_script/) for al
l available SKPs. |
61 * Run in your terminal: | 56 * Run in your terminal: |
62 | 57 |
63 $ SKP\_DEST=...<br/> | 58 $ SKP\_DEST=...<br/> |
64 $ REPO\_TYPE=... (Either All, 100k, Mobile10k, 10k, Dummy1k)<br/> | 59 $ REPO\_TYPE=... (Either All, 100k, Mobile10k, 10k, Dummy1k)<br/> |
65 $ CHROMIUM\_BUILD=... (Eg: fad657e-276e633)<br/> | 60 $ CHROMIUM\_BUILD=... (Eg: fad657e-276e633)<br/> |
66 $ gsutil -m cp gs://cluster-telemetry/swarming/skps/${REPO\_TYPE}/${CHROMIUM
\_BUILD}/{1..10}/*.skp ${SKP\_DEST} | 61 $ gsutil -m cp gs://cluster-telemetry/swarming/skps/${REPO\_TYPE}/${CHROMIUM
\_BUILD}/{1..10}/*.skp ${SKP\_DEST} |
67 | 62 |
68 * Substitute the 1 and 10 above with the start and end ranks of the SKPs you wan
t to copy locally. | 63 * Substitute the 1 and 10 above with the start and end ranks of the SKPs you wan
t to copy locally. |
69 * If you are trying to find a particular SKP. Look for it in the CSV [here](http
s://pantheon.corp.google.com/m/cloudstorage/b/cluster-telemetry/o/csv/top-1m.csv
) and then use that rank in the copy command. | 64 * If you are trying to find a particular SKP. Look for it in the CSV [here](http
s://pantheon.corp.google.com/m/cloudstorage/b/cluster-telemetry/o/csv/top-1m.csv
) and then use that rank in the copy command. |
OLD | NEW |