summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-04-01Use 2019.03Corentin LABBE2-2/+2
Since 2019.03 is ready, use it
2019-04-01lavalab-gen.py: add ALLOWED_HOSTSCorentin LABBE2-3/+14
Since 2019.03 , ALLOWED_HOSTS is mandatory in settings.conf. Without it all requests are denied with code 500.
2019-03-21lava-slave: fix build failure due to pxe on non-amd64Corentin LABBE1-1/+3
The package grub-efi-amd64-bin is only availlable on amd64. Installing it on arm64 lead to a build failure. This patch permits to install it even on arm64
2019-03-21lava-slave: dont hide lavacli device-types list errorsCorentin LABBE1-1/+1
2019-03-21lava-slave: telnet is needed for ser2netCorentin LABBE1-1/+1
2019-03-19lava-slave: Applying patch need the patch packageCorentin LABBE1-0/+1
2019-03-19lava-master: handle order of LAVA patchsCorentin LABBE1-1/+1
The current way to add patchs is non-determinist and could lead to failure to build. This patch made the order determinist by using sort
2019-03-19lava-xxx-base: do not install recommended packagesCorentin LABBE2-0/+4
For limiting size of docker images, do not install recommended packages
2019-03-19lava-xxx-base: permit to install 2019.03Corentin LABBE2-9/+13
LAVA has changed its repository location. Furthermore, it is now accessible via https which need additionnal package to use it.
2019-03-19lava-master-base: 2019.03 needs python3-junit.xmlCorentin LABBE1-0/+4
LAVA 2019.03 needs python3-junit.xml from stretch-backports.
2019-02-15Merge pull request #84 from montjoie/pxekhilman2-0/+19
lava-slave: support PXE boot
2019-02-15lava-slave: support PXE bootCorentin LABBE2-0/+19
This patch adds support for booting from PXE
2019-01-15Merge pull request #83 from montjoie/misckhilman7-16/+70
Misc
2019-01-14Merge pull request #75 from montjoie/documentationkhilman2-0/+127
Add documentation for LAVA slave install
2019-01-14Add documentation for LAVA slave installCorentin LABBE2-0/+127
This patch adds documentation on how to setup a LAVA slave and connect to a LAVA master.
2019-01-14Permit to choose loglevelCorentin LABBE6-2/+35
By default, all process use the DEBUG loglevel, this could be too much for a production server. This patch permits to tune the loglevel.
2019-01-14lava-master: better check of already existing usersCorentin LABBE1-2/+14
lava-server manage users list does not display inactive users. Furthermore the return code of this action is not tested. lava-server manage users list display also firstname/lastname and this need to be filtered. This patch fix thoses problem.
2019-01-08Merge pull request #82 from kernelci/wip/custom_optionskhilman1-2/+6
lavalab-gen: more flexible custom_options
2019-01-08lavalab-gen.py: Permit qemu to use TAP devicesCorentin LABBE2-0/+6
For full networking capacity, qemu need to access TAP devices. This patch adds the choice of use it via the tap keyword.
2019-01-07lavalab-gen.py: prevent duplication of device mapCorentin LABBE1-12/+13
If two qemu with KVM enabled are on the same node, the device map "/dev/kvm:/dev/kvm" will be present twice. This patch adds an helper for preventing this. This will also clean the code later which adds serial device.
2019-01-07lava-slave: add missing apt-get updateCorentin LABBE1-0/+2
The first action need to be an apt-get update since we dont know how old is the base image.
2018-12-19lavalab-gen: more flexible custom_optionsKevin Hilman1-2/+6
Adding custom options for LAVA often requires specific formatting for the LAVA jinja2 files, including single or double quotes. Rather than also using quotes in the boards.yaml file, use YAML "plain style"[1] avoids the need to add extra quotes or escapes. When using the "|-" for plain style, the custom_options will appear to lavalab-gen as a one long string, rather than a list of options, so here we modify lavalab-gen to handle strings slightly differently than a list. [1] https://yaml.org/spec/1.2/spec.html#id2788859 Signed-off-by: Kevin Hilman <khilman@baylibre.com>
2018-12-18Merge pull request #81 from montjoie/use2018.11khilman2-2/+2
Use 2018.11
2018-12-18Use 2018.11Corentin LABBE2-2/+2
This patch made lava-docker use a known to work dockerhub tag. Keep the latest tag for internal work.
2018-12-11Merge pull request #80 from montjoie/backupkhilman3-6/+18
Cleanup and fix backup/restore process
2018-12-11backup: backup also devices filesCorentin LABBE2-0/+10
The current way to do backup assume that slave will be restarted after each master maintainance. If master is restarted from backup without slaves restarting bring to devices files missing. By backuping devices, a master can be restored from backup without needing slaves worker to be restarted.
2018-12-11lava-master: use /root/backup/ for storing backupsCorentin LABBE2-6/+7
For storing backups to be restored, it is better to use /root/backup/ instead of /
2018-12-11backup: remove backup-latest linkCorentin LABBE1-0/+1
When backup-latest destination exists, the new backup-latest is created inside. The simpliest way fo fix that is to always remove backup-latest before creating it.
2018-12-07Merge pull request #78 from montjoie/misckhilman1-1/+3
lavalab-gen.py: ease to use alternate uart than ser2net
2018-12-07lavalab-gen.py: ease to use alternate uart than ser2netCorentin LABBE1-1/+3
When someone want to use screen/conmux for a board, the current situation imply to adds use_ser2net = False. This patchs remove this need.
2018-12-06Merge pull request #77 from montjoie/misckhilman2-2/+2
Misc
2018-12-05lava-slave: lavacli cleanupCorentin LABBE1-1/+0
Since we use the lavacli package, there are no reason to chdir in /root/lavacli.
2018-12-05lava-master: fix group handlingCorentin LABBE1-1/+2
When there are no group, the grep return non-0 and setup.sh exits. This patch fix by doing the filter in two step. Fixes: e489f60b449b ("lava-master: skip creation of already existing groups")
2018-12-03Merge pull request #76 from montjoie/use_pkg_lavaclikhilman3-3/+9
Use lavacli from package instead of from sources
2018-12-03Merge pull request #74 from montjoie/ser2net_by_defaultkhilman2-10/+14
lavalab-gen.py: Made ser2net the default
2018-12-03Use lavacli from package instead of from sourcesCorentin LABBE3-3/+9
A recent enough lavacli is present on stretch-backports. It is better to use it. This will fix also some commands not working with recent LAVA server.
2018-11-30lavalab-gen.py: Made ser2net the defaultCorentin LABBE2-10/+14
This patch makes ser2net the default uart handler.
2018-11-27Merge pull request #72 from montjoie/fix_backup_groupkhilman1-5/+15
lava-master: skip creation of already existing groups
2018-11-27lava-master: skip creation of already existing groupsCorentin LABBE1-5/+15
When restoring a backup, it is not possible to create a group which already exists. This patch adds detection for this case and skip the creation when the group exists.
2018-11-26Merge pull request #71 from montjoie/bind_devkhilman2-2/+7
lavalab-gen.py: Permits to bind host /dev to slave
2018-11-26Merge pull request #70 from montjoie/support_2018.11khilman4-1/+59
base-images: permit to install LAVA 2018.11
2018-11-26lavalab-gen.py: Permits to bind host /dev to slaveCorentin LABBE2-2/+7
When using a PDU with crelay, we need to access the whole content /dev/hid/ and so need to bind the whole /dev/ This is also necessary when using the HSDK board which have a serial which appears only when board is powered.
2018-11-26base-images: permit to install LAVA 2018.11Corentin LABBE4-1/+59
2018-11-20Merge pull request #68 from montjoie/ser2net_optionskhilman2-6/+10
Ser2net options
2018-11-20README: discourage use of screenCorentin LABBE1-0/+1
2018-11-20lavalab-gen.py: support adding ser2net optionsCorentin LABBE2-6/+9
2018-11-19Merge pull request #67 from montjoie/interfacenumprkhilman2-12/+8
lavalab-gen.py: Remove udev template for support of interfacenum
2018-11-19Merge pull request #65 from montjoie/docsupportkhilman1-0/+4
README: add contact informations
2018-11-19Merge pull request #64 from montjoie/envfixkhilman1-2/+2
lavalab-gen.py: Add missing newline after overrides
2018-11-16lavalab-gen.py: Remove udev template for support of interfacenumCorentin LABBE2-12/+8
The current udev templating is bad since adding a new optional keyword lead to numerous ifelse and templates. This patch simply generate a udev line part by part. This made adding interfacenum easier. This will also permit to mix devpath/serial/etc.. without any problem