summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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
2018-11-15README: add contact informationsCorentin LABBE1-0/+4
2018-11-15lavalab-gen.py: Add missing newline after overridesCorentin LABBE1-2/+2
This patch adds missing newline after overrides. Without them, the generated file is not a valid yaml file
2018-11-02Merge pull request #63 from montjoie/lavalagen-argskhilman1-3/+1
lavalab-gen.sh: Handle arguments
2018-11-02lavalab-gen.sh: Handle argumentsCorentin LABBE1-3/+1
This patch mades lavalab-gen.sh pass all arguments to lavalab-gen.py Cleaning in the process the non-needed "rm build-lava"
2018-11-02Merge pull request #56 from montjoie/proxykhilman4-7/+41
Allow seeting ENV variables from YAML config.
2018-11-02lavalab-gen.py: permit to set env settings on slave via the master nodeCorentin LABBE2-1/+16
Since some setup use distinct boards.yaml for master and slave, a way to set env settings for a slave via the master node is needed.
2018-11-02lavalab-gen.py: permit to set env settings on slaveCorentin LABBE4-6/+25
This patch permits to add some env settings on slave. The primary goal of this is to permits to add a proxy for a specific slave.
2018-11-02Merge pull request #62 from montjoie/lava-patch-slavekhilman2-0/+3
Permit to have backported LAVA patch on slave
2018-11-02Merge pull request #61 from montjoie/backup-latest-linkkhilman1-0/+1
backup: Create a symlink to recent backup
2018-11-02Permit to have backported LAVA patch on slaveCorentin LABBE2-0/+3
Previoulsy it was possible to backport LAVA patch only on master, this patch permits it on slave.
2018-11-02backup: Create a symlink to recent backupCorentin LABBE1-0/+1
backup will now create a backup-latest symlink to the backup just being made.