| OLD | NEW |
| 1 SkiaLab | 1 SkiaLab |
| 2 ======= | 2 ======= |
| 3 | 3 |
| 4 Overview | 4 Overview |
| 5 -------- | 5 -------- |
| 6 | 6 |
| 7 Skia's buildbots are hosted in three places: | 7 Skia's buildbots are hosted in three places: |
| 8 | 8 |
| 9 * Google Compute Engine. This is the preferred location for bots which don't | 9 * Google Compute Engine. This is the preferred location for bots which don't |
| 10 need to run on physical hardware, ie. anything that doesn't require a GPU, | 10 need to run on physical hardware, ie. anything that doesn't require a GPU, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 | 126 |
| 127 1. Locate or add a host machine. We generally want to keep the number of | 127 1. Locate or add a host machine. We generally want to keep the number of |
| 128 devices attached to each host below 5 or so. If a new host machine is | 128 devices attached to each host below 5 or so. If a new host machine is |
| 129 required, follow the above instructions for bringing up a new buildbot | 129 required, follow the above instructions for bringing up a new buildbot |
| 130 host machine, with the exception that the slave corresponds to the Android | 130 host machine, with the exception that the slave corresponds to the Android |
| 131 device, not the host machine itself. | 131 device, not the host machine itself. |
| 132 2. Ensure that the buildslave is not yet running: | 132 2. Ensure that the buildslave is not yet running: |
| 133 | 133 |
| 134 $ killall python | 134 $ killall python |
| 135 | 135 |
| 136 3. Connect the device to the host machine, either through a powered USB hub or | 136 3. Disable MTP and PTP on the device. Some devices require one or the other to |
| 137 be enabled; in that case, select PTP and choose to 'do nothing' when |
| 138 attaching to the host machine. |
| 139 4. Connect the device to the host machine, either through a powered USB hub or |
| 137 directly to the machine. | 140 directly to the machine. |
| 138 4. Make sure that the device is in developer mode and that USB debugging is | 141 5. Make sure that the device is in developer mode and that USB debugging is |
| 139 enabled. | 142 enabled. |
| 140 5. Authorize the device for USB debugging on the host machine by checking the | 143 6. Authorize the device for USB debugging on the host machine by checking the |
| 141 "always allow" box on dialog box which appears on the Android device after | 144 "always allow" box on dialog box which appears on the Android device after |
| 142 plugging it into the host. | 145 plugging it into the host. |
| 143 6. Ensure that the device appears as "connected" when you run the | 146 7. Ensure that the device appears as "connected" when you run the |
| 144 `which_devices.py` script: | 147 `which_devices.py` script: |
| 145 | 148 |
| 146 $ python buildbot/scripts/which_devices.py | 149 $ python buildbot/scripts/which_devices.py |
| 147 | 150 |
| 148 7. Reboot the machine to start the buildslave. | 151 8. Reboot the machine to start the buildslave. |
| 149 | 152 |
| 150 | 153 |
| 151 ### Bringing up a new machine from scratch | 154 ### Bringing up a new machine from scratch |
| 152 | 155 |
| 153 TODO(borenet): Migrate from Google Docs. | 156 TODO(borenet): Migrate from Google Docs. |
| 154 | 157 |
| 155 OS-specific instructions are available in a | 158 OS-specific instructions are available in a |
| 156 [Google Doc](https://docs.google.com/document/d/1X7Hvsj33AlBmj-KEWfFbmdCArUJJAIC
LkB7ipDcxRV8/edit) | 159 [Google Doc](https://docs.google.com/document/d/1X7Hvsj33AlBmj-KEWfFbmdCArUJJAIC
LkB7ipDcxRV8/edit) |
| 157 | 160 |
| 158 | 161 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 11. Select the external drive to use for /home/partimag, something like, | 211 11. Select the external drive to use for /home/partimag, something like, |
| 209 "1000GB_ntfs_My_Passport". | 212 "1000GB_ntfs_My_Passport". |
| 210 12. Select the bot_img directory. | 213 12. Select the bot_img directory. |
| 211 13. "Beginner" | 214 13. "Beginner" |
| 212 14. "savedisk" | 215 14. "savedisk" |
| 213 15. Choose a name for the disk image. The convention is: | 216 15. Choose a name for the disk image. The convention is: |
| 214 `skiabot-<hardware type>-<OS>-<disk image revision #>` | 217 `skiabot-<hardware type>-<OS>-<disk image revision #>` |
| 215 12. Choose the hard drive in the machine. It should be the only option. | 218 12. Choose the hard drive in the machine. It should be the only option. |
| 216 13. "y" | 219 13. "y" |
| 217 14. Choose "reboot" or "shut down" when finished. | 220 14. Choose "reboot" or "shut down" when finished. |
| OLD | NEW |