[][src]Struct rusty_ci::buildsystem::Bash

pub struct Bash;

This is the best build system rusty-ci supports right now. It writes the dependency installation instructions to a shell script file, And tells you how to use them. The process for building the master and the workers is set to the default.

Trait Implementations

impl BuildSystem for Bash[src]

fn install(&mut self) -> Result<(), String>[src]

Writes install script to install.sh for user to run

fn preinstall(&mut self) -> Result<(), String>[src]

Preinstall is called by the install method unless it is overloaded. This is usefult for printing a warning message or prompting the user before installing the dependencies for rusty-ci Read more

fn prebuild(&mut self) -> Result<(), String>[src]

This method is similar to preinstall, but it is called by the build method instead of the install method Read more

fn rebuild(&mut self, master: MasterConfig) -> Result<(), String>[src]

Rebuild master without killing any running processes

fn build(&mut self, master: MasterConfig) -> Result<(), String>[src]

fn start(&mut self, workers: &[Worker]) -> Result<(), String>[src]

This starts the master and the workers

fn stop(&mut self) -> Result<(), String>[src]

This kills the buildbot workers and all instances of python and python3

fn reconfigure_master(&mut self) -> Result<(), String>[src]

This method is used by the rebuild method to update the master without killing it

fn start_master(&mut self) -> Result<(), String>[src]

This method is used by the start method to spin up the master

fn start_workers(&mut self, workers: &[Worker]) -> Result<(), String>[src]

This method is used by the start method to spin up the workers

fn create_workers(&mut self, workers: &[Worker]) -> Result<(), String>[src]

Creates each worker in its proper directory

fn write_worker_configs(&mut self, workers: &[Worker]) -> Result<(), String>[src]

Writes the configuration buildbot.tac file for each worker

fn create_master(&mut self) -> Result<(), String>[src]

Creates the master in the master directory

fn write_master_config(&mut self, master: &MasterConfig) -> Result<(), String>[src]

Writes the master configuration file

impl Default for Bash[src]

Auto Trait Implementations

impl Unpin for Bash

impl Send for Bash

impl Sync for Bash

impl RefUnwindSafe for Bash

impl UnwindSafe for Bash

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,