buildbot_config/worker
2020-01-26 15:15:34 +01:00
..
build_reactos Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
build_rostests get_suffix (used as input for run_rostests) concatenates the revision suffix and the upload suffix, so we have to do that in build_rostests as well. 2020-01-08 08:54:44 +01:00
buildbot.tac Fix umask for build products of the new workers. 2019-06-29 14:15:57 +02:00
clean Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
config.inc Make the bootcdregtest upload directory configurable. 2020-01-26 15:15:34 +01:00
configure Update builder_config.inc example for MSVC 2019. 2020-01-10 10:36:52 +01: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 workers to latest BuildBot release. 2019-06-29 11:46:24 +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 workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
run_rostests Exit prematurely if certain commands fail. 2020-01-06 08:06:38 +01:00
submit_result Update workers to latest BuildBot release. 2019-06-29 11:46:24 +02:00
sysreg.xml.template Update workers to latest BuildBot release. 2019-06-29 11:46:24 +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"