Buildbot:LXC: Difference between revisions
From Spring
Jump to navigationJump to search
No edit summary |
|||
| Line 27: | Line 27: | ||
lxc exec buildslave-x64 /bin/bash | lxc exec buildslave-x64 /bin/bash | ||
</pre> | </pre> | ||
=LXC on debian= | |||
lxc-create -t download -n buildslave-x64 -- -d ubuntu -r xenial -a amd64 --no-validate | |||
lxc-create -t download -n buildslave-win32 -- -d ubuntu -r xenial -a amd64 --no-validate | |||
lxc-create -t download -n buildslave-x64 -- -d ubuntu -r xenial -a i686 --no-validate | |||
[[Category:Buildbot]] | [[Category:Buildbot]] | ||
Revision as of 16:38, 22 October 2018
https://springrts.com/mantis/view.php?id=5294
https://github.com/spring/spring-lxc
Setup buildslaves
Create containers
lxc launch ubuntu:x buildslave-x64 lxc launch ubuntu:x buildslave-win32 lxc launch ubuntu:x/i386 buildslave-i686
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
LXC on debian
lxc-create -t download -n buildslave-x64 -- -d ubuntu -r xenial -a amd64 --no-validate lxc-create -t download -n buildslave-win32 -- -d ubuntu -r xenial -a amd64 --no-validate lxc-create -t download -n buildslave-x64 -- -d ubuntu -r xenial -a i686 --no-validate