Age | Commit message (Collapse) | Author | Files | Lines |
|
WIP: Travis CI for KernelCI-lava
|
|
Fix 2019.03
|
|
Since bind_dev could be set to false, just testing its presence is
wrong.
This patch made lavalab-gen.py check its value.
|
|
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.
|
|
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.
|
|
Enhance 2019.03 2
|
|
|
|
This patchs adds a new flag "lava-coordinator" for slave which enables
the generation of a lava-coordinator.conf file.
|
|
Like for health-checks, device-types must be owned by lavaserver
|
|
Enhance 2019.03
|
|
This patch permit to adds extra devices (like a USB relay) in the slave
|
|
Currently arm64 workers need to modify at hand the from in the
dockerfile for using arm64 images.
This patch automate this;
|
|
This patch adds an helper for doing NFS jobs
|
|
This patch adds an example on how to uses PXE with lava-docker.
|
|
lava-slave: Install git for checkout tests
|
|
When checkouting tests, git is necessary.
|
|
Support 2019.03
|
|
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.
|
|
biosdisk is not provided in default install and is not used, remove it.
|
|
|
|
Since 2019.03 is ready, use it
|
|
Since 2019.03 , ALLOWED_HOSTS is mandatory in settings.conf.
Without it all requests are denied with code 500.
|
|
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
|
|
|
|
|
|
|
|
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
|
|
For limiting size of docker images, do not install recommended packages
|
|
LAVA has changed its repository location.
Furthermore, it is now accessible via https which need additionnal
package to use it.
|
|
LAVA 2019.03 needs python3-junit.xml from stretch-backports.
|
|
|
|
lava-slave: support PXE boot
|
|
This patch adds support for booting from PXE
|
|
Misc
|
|
Add documentation for LAVA slave install
|
|
This patch adds documentation on how to setup a LAVA slave and connect
to a LAVA master.
|
|
By default, all process use the DEBUG loglevel, this could be too much
for a production server.
This patch permits to tune the loglevel.
|
|
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.
|
|
lavalab-gen: more flexible custom_options
|
|
For full networking capacity, qemu need to access TAP devices.
This patch adds the choice of use it via the tap keyword.
|
|
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.
|
|
The first action need to be an apt-get update since we dont know how old
is the base image.
|
|
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>
|
|
Use 2018.11
|
|
This patch made lava-docker use a known to work dockerhub tag.
Keep the latest tag for internal work.
|
|
Cleanup and fix backup/restore process
|
|
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.
|
|
For storing backups to be restored, it is better to use /root/backup/
instead of /
|
|
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.
|
|
lavalab-gen.py: ease to use alternate uart than ser2net
|