BUILDBOT(1)

✨ NAME ✨

buildbot β€” it's the BUILDBOT(1) page from User Commands, and it's literally a tool for managing buildbot master instances πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

🌸 General Invocation

buildbot [ global options ] command [ command options ]

buildbot command -h|--help

🌸 Command Options

buildbot create-master [ -q|--quiet ] [ -f|--force ] [ -r|--relocatable ] [ -n|--no-logrotate ] [ -s|--log-size SIZE ] [ -l|--log-count COUNT ] [ -c|--config CONFIG ] [ --db DATABASE ] [ PATH ]

buildbot upgrade-master [ -q|--quiet ] [ -r|--replace ] [ --db DATABASE ] [ PATH ]

buildbot [ --verbose ] { start|stop|restart|sighup|reconfig } [ PATH ]

buildbot sendchange [ -m|--master MASTER ] [ -u|--username USERNAME ] [ -R|--repository REPOSITORY ] [ -P|--project PROJECT ] [ -b|--branch BRANCH ] [ -C|--category CATEGORY ] [ -r|--revision REVISION ] [ --revision-file REVISIONFILE ] [ -p|--property PROPERTY ] [ -c|--comments MESSAGE ] [ -F|--logfile LOGFILE ] [ -w|--when TIMESTAMP ] FILES...

buildbot try [ --wait ] [ -n|--dry-run ] [ --get-builder-names ] [ -c|--connect {ssh|pb} ] [ --tryhost HOSTNAME ] [ --trydir PATH ] [ -m|--master MASTER ] [ -u|--username USERNAME ] [ --passwd PASSWORD ] [ --diff DIFF ] [ --patchlevel PATCHLEVEL ] [ --baserev BASEREV ] [ --vc {cvs|svn|tla|baz|darcs|p4} ] [ --branch BRANCH ] [ -b|--builder BUILDER ] [ --properties PROPERTIES ] [ --try-topfile FILE ] [ --try-topdir PATH ]

buildbot tryserver [ --jobdir PATH ]

buildbot checkconfig [ CONFIGFILE ]

buildbot [ --verbose ] { start|stop|restart|sighup|reconfig } [ PATH ]

buildbot [ --verbose ] { --help|--version }

(and yes bestie, the start|stop|restart|sighup|reconfig line really does show up twice in here β€” that's not me being extra, that's just what the page says πŸ™ˆ)


πŸ¦‹ DESCRIPTION πŸ¦‹

The buildbot command-line tool is your little remote control for a buildmaster β€” you can use it to start or stop a buildmaster, and to interact with a buildmaster instance that's already running. πŸ‘‘

Some of its subcommands are for the buildmaster admins (the people keeping the whole thing alive), and some are for developers who are out here editing the code that the buildbot is monitoring. Two different audiences, one command, main character energy fr fr.


πŸ’– OPTIONS πŸ’–

πŸ‘‘ Commands

  • create-master β€” creates a directory for a brand new buildmaster and populates it πŸŽ€
  • upgrade-master β€” takes a buildmaster directory you already have and upgrades it for the current version
  • start β€” starts a buildmaster ✨
  • stop β€” stops a buildmaster
  • restart β€” restarts a buildmaster πŸ”„
  • sighup|reconfig β€” sends a SIGHUP signal to the buildmaster so it re-reads the config file
  • sendchange β€” sends a change to the buildmaster πŸ“¨
  • try β€” runs a build with your local changes. Important: this command needs the buildmaster to be configured in advance to accept build requests like this. The docs have the details on how to set that up, so go read them, bestie.
  • tryserver β€” the buildmaster-side try support function. Not for users. Hands off, that's staff only πŸ’€
  • checkconfig β€” validates your buildbot master config file βœ…

🌈 Global options

  • -h|--help β€” prints the list of available commands and global options. Everything you put after it gets ignored, no cap.
  • --version β€” prints the Buildbot and Twisted versions. Also ignores all subsequent commands. πŸ‘‹
  • --verbose β€” verbose output, so you see everything going on πŸ—£οΈ

🧚 create-master command options

  • -q|--quiet β€” do not emit the commands being run 🀫
  • -f|--force β€” re-use a directory that already exists (heads up: it will not overwrite the master.cfg file)
  • -r|--relocatable β€” creates a relocatable buildbot.tac πŸ“¦
  • -n|--no-logrotate β€” does not permit the buildmaster to rotate logs by itself
  • -c|--config β€” sets the name of the buildbot master config file to CONFIG. Default file name is master.cfg. 🌸
  • -s|--log-size β€” sets the size at which the twisted log file is rotated to SIZE bytes. Default value is 1000000 bytes.
  • -l|--log-count β€” limits the number of kept old twisted log files to COUNT. By default, all files are kept.
  • --db β€” sets the database connection for storing scheduler/status state to DATABASE. Default value is sqlite:///state.sqlite. πŸ—„οΈ
  • PATH β€” directory where buildbot master files will be stored.

πŸ“ upgrade-master command options

  • -q|--quiet β€” do not emit the commands being run.
  • -r|--replace β€” replaces any modified files without confirmation. No take-backs, it's not gonna ask first.
  • --db β€” sets the database connection for storing scheduler/status state to DATABASE. Default value is sqlite:///state.sqlite.
  • PATH β€” directory where buildbot master files are stored.

πŸ’œ sendchange command options

  • --master β€” sets the location of the buildmaster's PBChangeSource to attach to, in the form HOST:PORT.
  • -u|--username β€” sets the committer's username to USERNAME.
  • -R|--repository β€” sets the repository URL to REPOSITORY.
  • -P|--project β€” sets the project specifier to PROJECT.
  • -b|--branch β€” sets the branch name to BRANCH.
  • -c|--category β€” sets the category of the repository to CATEGORY.
  • -r|--revision β€” sets the revision being built to REVISION.
  • --revision-file β€” uses the REVISIONFILE file to read revision spec data from.
  • -p|--property β€” sets a property for the change to PROPERTY. It should be in the format NAME:VALUE.
  • -m|--comments β€” sets the log message to MESSAGE.
  • -F|--logfile β€” sets the logfile to LOGFILE.
  • -w|--when β€” sets the timestamp used as the change time to TIMESTAMP. ⏰
  • FILES β€” the list of files that have been changed.

🫢 try command options

  • --wait β€” waits until the builds have finished. ⏳
  • -n|--dry-run β€” gathers info, but does not actually submit anything.
  • --get-builder-names β€” gets the names of the available builders. Doesn't submit anything. Only supported for 'pb' connections.
  • -c|--connect β€” the connection type. Can be either 'ssh' or 'pb'.
  • --tryhost β€” sets the hostname (used by ssh) for the buildmaster to HOSTNAME.
  • --trydir β€” specifies the trydir (on the tryhost) where tryjobs are deposited.
  • -m|--master β€” sets the location of the buildmaster's try scheduler in the form HOST:PORT.
  • -u|--username β€” sets the username performing the trial build to USERNAME.
  • --passwd β€” sets the password for PB authentication to PASSWORD. πŸ”
  • --diff β€” uses the DIFF file as a patch instead of scanning a local tree. Use '-' for stdin.
  • --patchlevel β€” specifies the patchlevel to apply with. Defaults to 0. See patch for details.
  • --baserev β€” uses the BASEREV revision instead of scanning a local tree.
  • --vc β€” specifies the version control system in use. Possible values: cvs, svn, tla, baz, darcs, p4.
  • --branch β€” specifies the branch in use, for VC systems that can't figure it out themselves. 😭
  • -b|--builder β€” runs the trial build on the specified Builder. Can be used multiple times. πŸ”
  • --properties β€” specifies the set of properties made available in the build environment, in the format prop1=value1,prop2=value2...
  • --try-topfile β€” specifies the name of a file at the top of the tree. This option is used to find the top. Only needed for SVN and CVS.
  • --try-topdir β€” specifies the path to the top of the working copy. Only needed for SVN and CVS.

⭐ tryserver command options

  • --jobdir β€” the jobdir (maildir) for submitting jobs πŸ“¬

🌸 FILES 🌸

  • master.cfg β€” the Buildbot master configuration file. The one you keep editing. The one you keep breaking. Iconic. πŸ’…

🌈 SEE ALSO 🌈

buildbot-worker(1), patch(1)


okay that's the whole page, every flag, every default, every PATH, all of it β€” nothing skipped, nothing invented, just vibes + facts 🫢

this was Buildbot, dated August 2010, living its life as BUILDBOT(1) β€” mwah, slay, periodt πŸ’–βœ¨πŸŽ€