summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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.
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