Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| kopiluwak [2009/06/23 13:53] – el_angelo | kopiluwak [2010/10/02 17:26] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| ^ software | ^ software | ||
| | Lunar Linux | 1.6.4 x86_64 | [[http:// | | Lunar Linux | 1.6.4 x86_64 | [[http:// | ||
| - | | Linux | 2.6.29.2 | | | + | | Linux | 2.6.30.5 | | |
| - | | kvm | + | | kvm |
| | vde | 2.2.2 | [[http:// | | vde | 2.2.2 | [[http:// | ||
| | lvm2 | 2.02.45 | | lvm2 | 2.02.45 | ||
| Line 30: | Line 30: | ||
| | / | | / | ||
| - | == Network === | + | === Network === |
| * eth0 - bridged to br0, ip assigned with dhcp | * eth0 - bridged to br0, ip assigned with dhcp | ||
| * br0: run script in screen | * br0: run script in screen | ||
| <code bash> | <code bash> | ||
| #!/bin/bash | #!/bin/bash | ||
| + | if [ $TERM == screen ]; then | ||
| / | / | ||
| /bin/rm -fr / | /bin/rm -fr / | ||
| Line 65: | Line 66: | ||
| echo " | echo " | ||
| / | / | ||
| + | else | ||
| + | echo "USE SCREEN"; | ||
| + | fi | ||
| </ | </ | ||
| * vde_switch: Switch that the virtual machines (buildslaves) will use to communicate with the buildmaster. | * vde_switch: Switch that the virtual machines (buildslaves) will use to communicate with the buildmaster. | ||
| Line 82: | Line 86: | ||
| # This script starts the buildbot | # This script starts the buildbot | ||
| vdeq qemu-system-x86_64 -vnc :1 -hda / | vdeq qemu-system-x86_64 -vnc :1 -hda / | ||
| - | ze | ||
| </ | </ | ||
| == network == | == network == | ||
| Line 93: | Line 96: | ||
| * Create instance of buildbot: | * Create instance of buildbot: | ||
| <code bash> | <code bash> | ||
| - | #!/bin/bash | ||
| buildbot create-master / | buildbot create-master / | ||
| + | </ | ||
| + | * start the buildbot instance: | ||
| + | <code bash> | ||
| + | buildbot start / | ||
| + | </ | ||
| + | * configure the buildbot instance: edit master.cfg | ||
| + | * validate the edits: | ||
| + | <code bash> | ||
| + | buildbot checkconfig master.cfg | ||
| + | </ | ||
| + | * reread the config in the current instance: | ||
| + | <code bash> | ||
| + | buildbot reconfig / | ||
| + | </ | ||
| + | * master.cfg: | ||
| + | <code python> | ||
| </ | </ | ||
| ==== Guest 2: buildslave ==== | ==== Guest 2: buildslave ==== | ||
| + | |||
| + | lunar | ||
| + | ip 10.0.0.3 | ||
| + | vdeq qemu-system-x86_64 -vnc :2 -hda / | ||