| 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 19 matching lines...) Expand all Loading... |
| 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 via the ass
et management scripts: | 34 All buildbot SKP files created by the RecreateSKPs bot are available via the ass
et management scripts: |
| 35 | 35 |
| 36 $ download_from_google_storage -s infra/bots/tools/luci-go/${PLATFORM}/cipd.
sha1 --bucket chromium-luci | 36 $ download_from_google_storage -s infra/bots/tools/luci-go/${PLATFORM}/cipd.
sha1 --bucket chromium-luci |
| 37 $ infra/bots/tools/luci-go/${PLATFORM}/cipd auth-login | 37 $ infra/bots/tools/luci-go/${PLATFORM}/cipd auth-login |
| 38 $ infra/bots/assets/skp/download.py -t ${TARGET_DIR} | 38 $ infra/bots/assets/skp/download.py -t ${TARGET_DIR} |
| 39 | 39 |
| 40 Note: If you are on Windows, you will need to specify *cipd.exe.sha1*, not *cipd
.sha1* |
| 40 | 41 |
| 41 <a name="buildbot_skps_partners"></a> | 42 <a name="buildbot_skps_partners"></a> |
| 42 ### Buildbot SKPs (for trusted partners) | 43 ### Buildbot SKPs (for trusted partners) |
| 43 | 44 |
| 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)). | 45 * 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)). |
| 45 * Once approved you can download Skia's weekly refreshed buildbot SKPs from gs:/
/chrome-partner-telemetry/skps | 46 * Once approved you can download Skia's weekly refreshed buildbot SKPs from gs:/
/chrome-partner-telemetry/skps |
| 46 | 47 |
| 47 | 48 |
| 48 <a name="ct_skps_googler"></a> | 49 <a name="ct_skps_googler"></a> |
| 49 ### Cluster Telemetry SKPs (for Googlers) | 50 ### Cluster Telemetry SKPs (for Googlers) |
| 50 | 51 |
| 51 The following will work only if you have a google.com account. | 52 The following will work only if you have a google.com account. |
| 52 | 53 |
| 53 * Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start. | 54 * Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start. |
| 54 * Authenticate using your google.com credentials “gcloud auth login” | 55 * Authenticate using your google.com credentials “gcloud auth login” |
| 55 * Look at the SKP Repository list [here](https://ct.skia.org/lua_script/) for al
l available SKPs. | 56 * Look at the SKP Repository list [here](https://ct.skia.org/lua_script/) for al
l available SKPs. |
| 56 * Run in your terminal: | 57 * Run in your terminal: |
| 57 | 58 |
| 58 $ SKP\_DEST=...<br/> | 59 $ SKP\_DEST=...<br/> |
| 59 $ REPO\_TYPE=... (Either All, 100k, Mobile10k, 10k, Dummy1k)<br/> | 60 $ REPO\_TYPE=... (Either All, 100k, Mobile10k, 10k, Dummy1k)<br/> |
| 60 $ CHROMIUM\_BUILD=... (Eg: fad657e-276e633)<br/> | 61 $ CHROMIUM\_BUILD=... (Eg: fad657e-276e633)<br/> |
| 61 $ gsutil -m cp gs://cluster-telemetry/swarming/skps/${REPO\_TYPE}/${CHROMIUM
\_BUILD}/{1..10}/*.skp ${SKP\_DEST} | 62 $ gsutil -m cp gs://cluster-telemetry/swarming/skps/${REPO\_TYPE}/${CHROMIUM
\_BUILD}/{1..10}/*.skp ${SKP\_DEST} |
| 62 | 63 |
| 63 * Substitute the 1 and 10 above with the start and end ranks of the SKPs you wan
t to copy locally. | 64 * Substitute the 1 and 10 above with the start and end ranks of the SKPs you wan
t to copy locally. |
| 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. | 65 * 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 |