aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-06-04Merge branch 'healtcheck-hosting' of https://github.com/montjoie/lava-dockerKevin Hilman5-2/+52
* 'healtcheck-hosting' of https://github.com/montjoie/lava-docker: Permit to host healtchecks
2019-06-04Revert "Init travis"Kevin Hilman1-20/+0
Revert until this can be properly configured. This reverts commit e83393eab386fadc2bc6dab79cde3ff8d619a54d.
2019-06-04Permit to host healtchecksCorentin LABBE5-2/+52
This patch adds an optional container which host healthchecks images.
2019-05-28Merge pull request #85 from aliceinwire/travis_testingkhilman1-0/+20
WIP: Travis CI for KernelCI-lava
2019-05-23Merge pull request #90 from montjoie/fix-2019.03khilman2-12/+11
Fix 2019.03
2019-05-17lavalab-gen.py: fix read of bind_devCorentin LABBE1-3/+3
Since bind_dev could be set to false, just testing its presence is wrong. This patch made lavalab-gen.py check its value.
2019-05-17lavalab-gen.py: fix NFSCorentin LABBE1-2/+2
The NFS code produce a working docker-compose.yml but this file is dumped before this modification. This patch moves the docker-compose.yml dump after last modifications of the dockcomp variable.
2019-05-17lavalab-gen.py: Modify how to enable TAP devicesCorentin LABBE2-7/+6
Enabling TAP devices is global to a whole worker. So having the flag on devices is wrong. This patchs move the flag "tap" at worker level.
2019-05-16Merge pull request #89 from montjoie/enhance-2019.03-2khilman6-2/+32
Enhance 2019.03 2
2019-05-13lava-slave: generate lavacli default identitiesCorentin LABBE3-0/+8
2019-05-13lava-slave: support lava-coordinatorCorentin LABBE4-2/+23
This patchs adds a new flag "lava-coordinator" for slave which enables the generation of a lava-coordinator.conf file.
2019-05-09lava-master: Ensure that device-types are owned by LAVACorentin LABBE1-0/+1
Like for health-checks, device-types must be owned by lavaserver
2019-05-08Merge pull request #88 from montjoie/enhance-2019.04khilman2-1/+60
Enhance 2019.03
2019-05-03Permit to add extra devices in the slaveCorentin LABBE2-1/+23
This patch permit to adds extra devices (like a USB relay) in the slave
2019-04-25Permit to set arch for arm64 slavesCorentin LABBE2-1/+9
Currently arm64 workers need to modify at hand the from in the dockerfile for using arm64 images. This patch automate this;
2019-04-25Permit to do NFS jobsCorentin LABBE2-1/+17
This patch adds an helper for doing NFS jobs
2019-04-25README: Add an example on how to use PXECorentin LABBE1-0/+13
This patch adds an example on how to uses PXE with lava-docker.
2019-04-25Merge pull request #87 from montjoie/SPEC-2345khilman1-1/+4
lava-slave: Install git for checkout tests
2019-04-25lava-slave: Install git for checkout testsCorentin LABBE1-1/+4
When checkouting tests, git is necessary.
2019-04-07Merge pull request #86 from montjoie/support_2019.03khilman10-22/+52
Support 2019.03
2019-04-03lava-master: fix the applying of patchs against LAVACorentin LABBE1-3/+4
Lava patch which contains device-type changes are ignored since final device-types are already in /etc/lava-server/device-types/ So for fixing this, we apply lava-patch before device-type patch and synchronize them.
2019-04-01lava-slave: PXE: remove a File Not Found errorCorentin LABBE1-1/+0
biosdisk is not provided in default install and is not used, remove it.
2019-04-01lava-master: warning when overwriting existing device-typesCorentin LABBE1-0/+4
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-26Init travisAlice Ferrazzi1-0/+20
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.