[−][src]Struct rusty_ci::buildsystem::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.
Methods
impl Bash
[src]
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 install_python(&mut self) -> Result<(), String>
[src]
fn install_buildbot(&mut self) -> Result<(), String>
[src]
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 build(
&mut self,
master: MasterConfig,
workers: Vec<Worker>
) -> Result<(), String>
[src]
&mut self,
master: MasterConfig,
workers: Vec<Worker>
) -> Result<(), String>
fn start(&mut self, workers: &Vec<Worker>) -> Result<(), String>
[src]
This starts the master and the workers
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: &Vec<Worker>) -> Result<(), String>
[src]
This method is used by the start
method to spin up the workers
fn create_workers(&mut self, workers: &Vec<Worker>) -> Result<(), String>
[src]
Creates each worker in its proper directory
fn write_worker_configs(&mut self, workers: &Vec<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
Auto Trait Implementations
impl Sync for Bash
impl Send for Bash
impl Unpin 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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,