Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CLI

rbuild {nix,ansible,test} [-h] [-f FOLDER] [-c CONFIG] [-v] [-V]

Subcommands

CommandDescription
testTest the SSH connection to the remotes
nixBuild the project on remotes, using Nix derivation
ansibleBuild the project on remotes, using Ansible playbook

Options

ShortLongDescription
-h–helpShow the help message
-f–folder FOLDERPath to the folder containing the project to build/test
-c–config CONFIGPath to the configuration file
-v–verboseEnable verbose output
-V–versionShow the version number and exit

Exemples

# Test the connection on the remotes
./rbuild test 

# Build the project remotely using Nix
./rbuild.py nix --folder test-project/

# Build the project remotely using Nix
./rbuild.py ansible --folder test-project/ --verbose