summaryrefslogtreecommitdiffstats
path: root/lavalab-gen.py
AgeCommit message (Collapse)AuthorFilesLines
2018-02-02A pdu is optionnalCorentin LABBE1-2/+2
2018-02-02Handle boards without uartCorentin LABBE1-10/+14
Some boards could not have uart like qemu. This patch made having an uart optionnal.
2018-02-02Move conmux and slaves directory creationCorentin LABBE1-4/+10
Thoses two directory are necessary even with setup without conmux and slaves. (Due to Dockerfile COPY). This patch move the creation of thoses two directory at start of lavalav-gen.py
2018-02-02Permit to customize dispatcher_ipCorentin LABBE1-5/+6
dispatcher_ip is the IP used by boards for contacting/downloading images/dtb/etc... For the moment it was harcoded to 192.168.66.1. This patch permit to easily change it.
2018-02-02Place board under boardlistCorentin LABBE1-2/+2
We need to add some information to lab node, so we need to move all boards under a list("boardlist")
2018-02-02stick to LAVA 2017.11Corentin LABBE1-0/+3
Since LAVA packages are ephemeral, this patch permit to build a know release of LAVA. Introducing scripts/build-lava which builds from source any LAVA compoments from any version tag. In the same time, stick to 2017.11 as its a know working release for lava-docker.
2018-01-09Permit to create staff/superuser usersCorentin LABBE1-1/+10
This patch add two user options staff and superuser. This will permit to create users with thoses flag in LAVA. In the process remove the hardcoded admin user from Dockerfile and move it in tokens.yaml
2018-01-08qemu: Some arch does not have kvmCorentin LABBE1-0/+3
Since some arch does not have kvm, remove kvm usage for qemu. We will reintroduce it later via a flag/autodetect.
2017-10-25Introduce docker-composeCorentin LABBE1-0/+141
This commit introduce two compoments: lavalab-en.py which generate: - device files - conmux config files - users files - tokens files - udev rules for host - final docker-compose.yml file Except of docker-compose.yml, all other files are ignored for the moment and will be handled by a following commit. docker-compose: The docker compose permits to building and running easily lava-docker images. It permit also to remove some contraints like knowing the LAVA_SERVER_IP/LAVA_MASTER.