summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-12-09backup.sh: remove docker interactive switch (does not work through crontab)Philippe Mazet1-6/+6
2019-12-06Allow using different folder than /tmp for tar operationsPhilippe Mazet1-0/+4
When backup size grows to several GB, tar operation can fail with "no space left on device" error. This is because of the limited size of /tmp on certain machines This changes allows using a different folder. This can be done by simply adding such line in Dockerfile: ENV TMPDIR /wherever/tmp
2019-12-06backup.sh: avoid "file changed as we read it" errorPhilippe Mazet1-1/+2
In some case (long jobs), backup failed because some files were changed during tar operation.
2019-12-06backup.sh: allow using different tmp dirPhilippe Mazet1-0/+5
When backup size grows, we had cases where tar was filling up /tmp This patch allows specifying a different tmp dir, used by tar (through TMPDIR variable). Example usage: TMPDIR=/home/user/mytempdir ./backup.sh
2019-11-22Merge pull request #109 from montjoie/use_dockerKevin Hilman2-1/+7
Permit to use docker commands in slave
2019-11-22Merge pull request #108 from montjoie/install-pkg-nbdKevin Hilman1-0/+4
Install xnbd-server
2019-11-22Permit to use docker commands in slaveCorentin LABBE2-1/+7
When docker devices are needed, docker socket must be availlable in the slave. This is now possible via the new use_docker
2019-11-21Install xnbd-serverCorentin LABBE1-0/+4
The recent LAVA packages does not pull xnbd-server. So we need to install it when use_nbd is set.
2019-11-03Merge pull request #107 from montjoie/documentationKevin Hilman2-2/+8
Enhance documentation
2019-10-16Enhance documentationCorentin LABBE2-2/+8
This patch enhance a bit the documentation - On the reason of the install of nfs-kernel-server - On how to upgrade
2019-10-10Merge pull request #105 from montjoie/2019.9-visibility-fixKevin Hilman1-0/+25
lava-master: patch: Add fix for visibility issue
2019-10-09lava-master: patch: Add fix for visibility issueCorentin LABBE1-0/+25
This patch backport a LAVA patch which fix an issue with lavacli commands.
2019-10-04Merge pull request #104 from montjoie/2019.09Kevin Hilman6-9/+21
2019.09
2019-10-04lavalab-gen: Permit to have tags per slaveCorentin LABBE2-1/+10
This patchs permits to have tags per slave. All tags set on a slave will be added to each of its devices.
2019-09-27lava-slave: handle better board without worker setCorentin LABBE1-4/+8
2019-09-27lava-master: automaticaly agree on DB migrationCorentin LABBE1-1/+1
2019-09-27Upgrade to 2019.09Corentin LABBE2-3/+2
2019-09-19Merge pull request #103 from montjoie/optional-portsKevin Hilman2-6/+100
Optional ports
2019-09-19Merge pull request #102 from rosen-group/fix/lava_slave_pythonKevin Hilman2-4/+4
Fix/lava slave python
2019-09-19Permit to custom SMTP serverCorentin LABBE2-3/+71
This patch permits to specify a SMTP server which LAVA will use for report.
2019-09-19Document a bit more how to use a proxyCorentin LABBE1-1/+8
This patchs adds an example on how to add proxy env on the master.
2019-09-19Permit to not export overlay server portCorentin LABBE2-2/+8
When doing a qemu-only slave, there are no need to export the overlay server. This patch adds a use_overlay_server option.
2019-09-19Permit to not export NBD portCorentin LABBE2-2/+9
When doing a qemu-only slave, there are no need of NBD. This patch adds a use_nbd option.
2019-09-19Permit to not export TFTP portCorentin LABBE2-2/+8
When doing a qemu-only slave, there are no need of TFTP. This patch adds a use_tftp option.
2019-09-09lava-slave: Use python3 xmlrpcChristoph Rahn1-3/+3
2019-09-09lava-slave: Use python3 http server in start.shChristoph Rahn1-1/+1
2019-09-04Merge pull request #99 from montjoie/2019.07Kevin Hilman21-773/+65
2019.07
2019-09-03Use yaml safe_load insteald of loadCorentin LABBE1-4/+4
On my gentoo, using yaml.load now give: Traceback (most recent call last): raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348") RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348 Note that on recent ubuntu, a warning appears also. YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. This is due to a security risk of using yaml.load() Since we didnt rely on any behavour provided by load(), let's convert the call to safe_load().
2019-08-26Add support for device-type aliasCorentin LABBE5-0/+26
This patch adds support for the device-type aliases.
2019-08-26Upgrade to 2019.07Corentin LABBE18-769/+35
This patch upgrade LAVA to 2019.07 via their official docker images. Along with the change of the baseimage from our lava-xx-base to official 2019.07, some minor changes are needed: - Activate the en_US.UTF-8 locale needed for postgresql - chown to lavaserver all copied device-types - Fix the start scripts for using the official entrypoints
2019-06-27Merge pull request #95 from montjoie/pre-2019.05Kevin Hilman5-11/+44
Pre 2019.05
2019-06-26Permit to modify apache2 configurationCorentin LABBE2-0/+2
This patch permits to copy configurations files in lava-master/apache2/, there will be copied over in the /etc/apache2 directory of master.
2019-06-25lava-master: remove tftp/lava-slaveCorentin LABBE3-11/+1
The lava-docker infrastructure have now splitted master and slave. So there are no reason to keep tftp/lava-slave on master.
2019-06-25lava-master: move the start.sh from lava-master-base to lava-masterCorentin LABBE2-0/+41
The start.sh will now be stored in lava-master. This will help for migrating to official LAVA docker images
2019-06-25lavalab-gen.py: Do not use ser2net when connection_command is setCorentin LABBE1-2/+2
When a custom way of getting serial is set, we should not defaulting to ser2net. This is the case for hsdk which use a spetial console handler via connection_command.
2019-06-17Merge pull request #94 from montjoie/pxe-fixKevin Hilman2-2/+7
Install PXE stuff at runtime
2019-06-17Merge pull request #93 from tobsan/topic/allow_localKevin Hilman1-1/+1
lavalab-gen.py: add localhost to allowed_hosts
2019-06-13Install PXE stuff at runtimeCorentin LABBE2-2/+7
When /var/lib/lava/dispatcher/tmp is a volume (like when using NFS), it masks all PXE stuff installed during the build. For preventing this, this patchs made this data installed at runtime.
2019-06-10lavalab-gen.py: add localhost to allowed_hostsTobias Olausson1-1/+1
The README mentions using localhost in the quickstart guide, but it doesn't work if only 127.0.0.1 is in that list.
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.