This crate can also be used as a library for other tools to generate buildbot projects
Write blue text to the console, and then reset color
This prints a format string with a specific color. The color must be one of the following.
Prints debug message colored blue
Prints error message colored red
Write green text to the console, and then reset color
Prints info message colored green
Write red text to the console, and then reset color
Prints warning message colored yellow
Write yellow text to the console, and then reset color
The Builder struct encapsulates all the operations involved in defining a builder in buildbot. A builder works by giving tasks called steps to workers.
This struct is basically identical to the std::process::Command, but when it is executed, it returns the stdout of the process as a string.
A no-op struct that allows you to easily manipulate files.
This object is responsible for building the
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.
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.
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/".
This struct holds the information that is used to build the worker
This describes a step executed by a builder in buildbot This is used by the Builder struct to construct the Builder config file
This is the path to the file containing the auth / api token for the version control system
This function takes a Yaml object and confirms that there are no unmatched quotes! If there are unmatched quotes, it returns the line with unmatched quotes
This function unwraps a Yaml object, takes its first value, and converts it into a string, and trims quotation marks.