buildbot_config/worker
Stanislav Motylkov 2b07c9c3c1
[WORKER] Add workaround for VSCMD_* environment variables (#10)
Should fix MSVC_x64 build failing since 2ffcda90b2
2023-08-09 13:08:36 +03:00
..
build_reactos Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
build_rostests [WORKER] Add missing executable bits for build_rostests and run_rostests 2020-04-05 12:58:37 +02:00
buildbot_start.cmd [WORKER] Reboot Windows testers after every run of run_rostests 2022-07-13 18:29:08 +02:00
buildbot.tac [WORKER] Reboot Windows testers after every run of run_rostests 2022-07-13 18:29:08 +02:00
clean Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
config.inc Export BISON_PKGDATADIR in config.inc now that we're building with Bison 2021-01-29 07:38:40 +01:00
configure [WORKER] Add workaround for VSCMD_* environment variables (#10) 2023-08-09 13:08:36 +03:00
get_suffix Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
prepare_ahk Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
prepare_source Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
reactos.xml.template Update VM templates for sysreg2 2020-05-05 21:38:23 +02:00
README Merge configure and configure_msvc to a single configure script that autodetects the environment. 2020-01-08 07:45:00 +01:00
regtest Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
regtestcd Make the bootcdregtest upload directory configurable. 2020-01-26 15:15:34 +01:00
requirements.txt Update BuildBot to 2.7.0 and its treq dependency to 20.3.0 2020-04-05 12:40:20 +02:00
run_rostests Unify run_rostests and submit_result 2023-02-02 14:25:01 +01:00
submit_result Unify run_rostests and submit_result 2023-02-02 14:25:01 +01:00
sysreg.xml.template Update VM templates for sysreg2 2020-05-05 21:38:23 +02:00
time Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
uploadiso Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
vbox_clean Launching xvfb-run inside a detached screen seems to work even better than running it in the background of the current shell. 2019-06-29 14:03:43 +02:00
vmware_clean Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00

ReactOS BuildBot Build Scripts
==============================

Some possible usage scenarios for these scripts:

* Plainbot: Builds a Boot-CD, Live-CD, Test-CD, triggers a Testbot for testing it and uploads the created ISO file.
  If a patch ID is given, the patch is applied first, but the build is not uploaded.
* Testbot:  Triggered by a Plainbot, performs regression testing on a Test-CD and submits the results.
  Generally, this one is implemented as an independent builder to not block the Plainbot doing its other tasks. But its steps can also be integrated inside a Plainbot.


Add the following steps in this order to the Buildmaster's master.cfg depending on what type of Buildslave you want to set up.
If your Buildslave is more specific, you may as well leave out some steps.


Step                                   | Plainbot | Testbot
-----------------------------------------------------------
clean                                       *
Git update                                  *
prepare_source                              *
configure                                   *
build_reactos bootcd                        *
build_reactos livecd                        *
regtestcd                                   *
Trigger Testbot                             *
vbox_clean / vmware_clean                              *
regtest                                                *
submit_result                                          *
uploadiso                                   *


Configuration files
-------------------
* buildbot.tac - Buildslave configuration file for BuildBot
* config.inc - Script settings, shared for all builders of this buildslave
* builder_config.inc - File in the "builddir" of each builder containing per-builder overrides of the config.inc settings

Also copy the following files to the "builddir" of each builder and rename them
* sysreg.xml.template -> sysreg.xml - General Settings for sysreg2
* reactos.xml.template -> reactos.xml - Settings of the VM used by sysreg2 and libvirt


Testing these scripts
---------------------
You can easily test these scripts as follows:
  * Move to /srv/buildbot/buildername/build
  * Run "sudo -u buildbot ../../SCRIPTNAME"