Buildbot:LXC: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
|||
| Line 6: | Line 6: | ||
=== Create containers === | === Create containers === | ||
lxc-create -t download -n buildslave-x64 -- | lxc-create -t download -n buildslave-x64 -- -d ubuntu -r xenial -a amd64 | ||
lxc-create -t download -n buildslave- | lxc-create -t download -n buildslave-i686 -- -d ubuntu -r xenial -a i386 | ||
lxc-create -t download -n buildslave- | lxc-create -t download -n buildslave-win32 -- -d ubuntu -r xenial -a amd64 | ||
| Line 14: | Line 14: | ||
lxc launch images:debian/9 buildslave-debian-x64 | lxc launch images:debian/9 buildslave-debian-x64 | ||
=== Configure Buildslaves === | === Configure Buildslaves === | ||
Revision as of 23:11, 22 October 2018
https://springrts.com/mantis/view.php?id=5294
https://github.com/spring/spring-lxc
Setup buildslaves
Create containers
lxc-create -t download -n buildslave-x64 -- -d ubuntu -r xenial -a amd64 lxc-create -t download -n buildslave-i686 -- -d ubuntu -r xenial -a i386 lxc-create -t download -n buildslave-win32 -- -d ubuntu -r xenial -a amd64
experimental:
lxc launch images:debian/9 buildslave-debian-x64
Configure Buildslaves
git clone https://github.com/spring/spring-lxc cd spring-lxc/scripts ./setup-buildslaves.sh
Shell inside container
lxc exec buildslave-x64 /bin/bash