Skip to content

Latest commit

 

History

History
113 lines (75 loc) · 3.89 KB

index.rst

File metadata and controls

113 lines (75 loc) · 3.89 KB

ROS build farm based on Docker

For an overview about the ROS build farm including how to deploy the necessary machines see the ROS wiki page.

Job types

The ROS build farm performs several different jobs. For each job type you will find a detailed description what they do and how they work.

  • release jobs generate binary packages
  • devel jobs build and test ROS repositories
  • doc jobs generate the API documentation of packages and extract information from the manifests
  • miscellaneous jobs perform maintenance tasks and generate informational data to visualize the status of the build farm and its generated artifacts

Configuration

The configuration is stored in a separate repository (e.g. ros_buildfarm_config for the official ROS build farm).

Every ROS build farm requires a custom configuration to specify URLs, credentials, and notification settings. Please see the list of the basic configuration options which need to be modified.

Beside the use case focused descriptions below a reference listing all configuration options is available.

Customize "what" to build

The configuration options to change:

  • which packages / repositories to process
  • which platforms and architectures to target

are described here.

Use a custom rosdistro database

In the case when you want to add packages and repositories to the rosdistro database and / or modify the version number of released packages (e.g. lock the version number of certain packages) you must maintain your own rosdistro database.

Please see the documentation about using a custom rosdistro database for the necessary configuration options and administrative tasks.

Generate the Jenkins jobs

After creating a custom configuration repository you can deploy the configuration which includes:

  • generating the administrative Jenkins jobs
  • triggering a few jobs to perform necessary initialization steps
  • generate all release / devel / doc jobs

After the initial deployment the administrator should continuously monitor the build farm and perform some manual task in regular intervals.

Run jobs locally

Some of the job types can be easily run locally. This allows to reproduce the behavior of the build farm locally, eases debugging, and shortens the round-trip time for testing. It also means that you can run any of these jobs anywhere, e.g. on Travis.

Another job type can be used locally which is not offered on the build farm.

  • prerelease jobs build and test ROS repositories as well as build and test released ROS packages depending on them

Optimization

If you are going to be running one or more jobs on any machine we recommend using squid-in-a-can to cache downloads. It can greatly speed up download times and saves a lot of bandwidth. It's used by all our developers as well as on all the build machines.