...
Install and setup Buildbot
Buildbot can be installed in any location but it is preferable to install in C:\
to avoid hitting the maximum path limit on windows. Please run following commands to install buildbot-worker
Code Block | ||
---|---|---|
| ||
:: Create Directory for buildbot installation
mkdir C:\Workspace
cd C:\Workspace
:: Create virtual venv
python -m venv venv
:: Activate venv
.\venv\Scripts\activate
:: Install buildbot-worker in virtual env
python -m pip install pypiwin32 buildbot-worker |
Now create a worker using the following command
Code Block | ||
---|---|---|
| ||
buildbot-worker create-worker buildarea buildbot.python.org:9020 linaro-win-arm64 <PASSWORD> |
Edit following files to add admin email address and host information
C:\Workspace\buildarea\info\admin
...
Code Block |
---|
Linaro Windows on Arm Support <woa-support@op-lists.linaro.org> |
C:\Workspace\buildarea\info\host
...
Code Block |
---|
Microsoft Surface X Pro; RAM 16GB
OS: Windows 10 Pro (ARM64) |
Now create a batch file to run as a service
C:\Workspace\buildbot.bat
...
https://dev-private-git.linaro.org/windowsonarm/automation.git/tree/ext-ci/python/run_buildbot.bat
You can automate service launch by following those instructions: Service management . You need a user which can execute winget.exe
(needed in a python test). Local SYSTEM account can’t.
...