[Discourse.ros.org] [Buildfarm] Setting up buildfarm

43 views
Skip to first unread message

Prem Anand Lakshmanan

unread,
Jul 27, 2017, 9:01:36 PM7/27/17
to ros-sig-...@googlegroups.com
prem_anand_lakshmana
July 28

Im trying to setup a build and trying to follow the tutorial on this page.

ros-infrastructure/buildfarm_deployment/blob/master/doc/DevelopmentTesting.md

## Docker based local testing

For development a quick way to test is to run a local docker instance of each type of machine.
The following are instructions for setting up these elements.

### Change docker storage driver

Edit `/etc/default/docker` and add the following line:

DOCKER_OPTS="--bip=172.17.42.1/16 --dns=172.17.42.1 --dns 8.8.8.8 --dns-search dev.docker --storage-driver=devicemapper"

### DNS via skydns

DNS lookup will be made available from the default dns above through [skydock](https://github.com/crosbymichael/skydock) in the `dev.docker` domain.
The hostname format is `IMAGE.dev.docker` or `CONTAINER.IMAGE.dev.docker` if there are multiple containers with the same image.

NOTE: For this to work `master::io`, `repo::ip`, and `slave::ip` must all be commented out in all `common.yaml` files.
And the images for the master and repo must be named `master` and `repo` for the DNS lookup to work


This file has been truncated. show original

I cloned this repo and entered the directory.

git clone https://github.com/ros-infrastructure/buildfarm_deployment_config.git

but im unable to locate the build.py file to build the image.


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

Tully Foote

unread,
Jul 27, 2017, 9:33:19 PM7/27/17
to ros-sig-...@googlegroups.com
tfoote
July 28

Hi @prem_anand_lakshmana, that documentation is out of date from our old docker in docker experiments. I’ve removed it. Please follow the main instructions in the README.md to set things up.

I’ve opened a PR to update the docs here

Reply all
Reply to author
Forward
0 new messages