[][src]Module rusty_ci::buildbot

Structs

Builder

The Builder struct encapsulates all the operations involved in defining a builder in buildbot. A builder works by giving tasks called steps to workers.

MailNotifier

This object is responsible for building the MailNotifier object in the buildbot master config. It contains the information for authenticating an SMTP request to send email. This information is sensitive and should be kept separate from the master yaml file

MasterConfig

This struct represents the configuration file for the master. This file contains the Python code for the builders and the schedulers. In addition, it contains some basic data such as the title for the web ui, the title url for the webui, and so on.

MergeRequestHandler

The purpose of a continuous integration tool is to continuously confirm the validity and robustness of code. It follows then that you must check code BEFORE it is deployed. To do this, you must take the code that someone wants to merge into the repository, and test what the merged code would look like. This struct allows us to add this functionality to the output buildbot project.

Scheduler

The scheduler struct controls when a builder is run. This is done when certain requirements specified by the scheduler are fulfilled. For example, you could define a scheduler that would trigger one or more builders when a file ending in ".py" is changed in a branch beginning with "fix/".

Worker

This struct holds the information that is used to build the worker buildbot.tac file Each worker has:

Enums

Step

This describes a step executed by a builder in buildbot This is used by the Builder struct to construct the Builder config file

Constants

AUTH_TOKEN_PATH

This is the path to the file containing the auth / api token for the version control system