Age | Commit message (Collapse) | Author | Files | Lines |
|
Persistantdb pr
|
|
When restoring a database, token are restored and so cannot be re-created.
|
|
This patch add an easy way to backup postgresql database and needed data stored in filesystem.
In the mean time, a way to restore backup during start is added
|
|
Until now, each docker-compose down will loose all data (jobs, devices, etc...).
By creating a docker volume, the database will now be persistent other restart.
Due to a risk of the lava package reseting the password, it is always reseted at start.
This patch add also another volume for job output which are stored in the filesystem and not in database.
|
|
Fix072018
|
|
|
|
This patch remove the use of setup.sh during build.
So setup.sh is now ran during startup.
Since setup.sh could ran multiple times (start -> stop -> start) against
the same database, we need to handle already existing objects (user,
devices,...)
So all "add objects" are done only after a check that this object is not
already present.
|
|
If backporting LAVA patch is necessary, this patch add an easy way to do
it.
|
|
It is unnecessary to copy start/stop twice during build
|
|
This patch warnings the user when using lavalab-gen.py with unknow
keywords in boards.yaml.
|
|
This patch add support for using screen instead of conmux-console.
screen can be used by adding "use_screen: True" to uart.
screen is necessary for some board with internal uart which have a micro
cut when switching power (like DRA7-EVM and M3ULCB)
|
|
lavalab-gen: add \n between custom options
|
|
This patch add support for ser2net.
ser2net can be used by adding "use_ser2net: True" to uart.
|
|
If a board has mutliple custom options, they need to be separated by a newline.
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
|
|
Multi slave 2018 x
|
|
This patch permits to access LAVA webadmin via HTTPS.
Resolve SPEC-1493
|
|
|
|
This patch upgrade lava-docker to LAVA 2018.4
|
|
This patch implement multiple slave support.
Instead of having a maximum of one master and one slave in one docker
image, it is now possible to have multiple slave accross several docker
host.
For helping this change, a new boards.yaml format is introduced (See
README.md for details)
Note that tokens.yaml is also squashed in boards.yaml
|
|
Miscfix03
|
|
Some board need some jinja options (ex: nanopik2 need use_vendor_uboot) but
adding all possible options is not worth the cost.
So this patch adds a custom way to add option to board file.
|
|
For clarify the use of macaddr, rename it to uboot_macaddr.
|
|
Some boards have broken uboot dhcp, so we need to set a static ip in
uboot.
This patch add a way to specify such IP via uboot_ipaddr.
|
|
Some generated files are not cleaned, add them to the toclean list
|
|
Starting lava-slave too early is dangerous since some services it needs
are not started yet.
Always start lava-slave in last.
|
|
This patch fix the misleading name lab to the more proper worker since
a lab could be a group of workers.
|
|
Since nothing depends on them, copy them at last step.
This prevents rebuild of all docker steps when changing them.
|
|
qemu-kvm is not availlable on ARM.
Install it only on supported x86/x86_64
|
|
On some OS, the rights/user from host are not duplicated on guest.
So the tty is owned by root and cu could not read it.
Force the owning of all tty by uucp
|
|
Fix "Remove tty/stdin options"
|
|
The commit "Remove tty/stdin options" miss a part of the changes, since Dockerfile still exec bash.
Remove bash and replace it with a forever sleep
|
|
Misc
|
|
Keeping stdin open is not necessary since a long time.
Remove thoses unused options
|
|
The format for vendor/product ID need to be prefixed by 0x.
|
|
|
|
lavalab-gen.py does not handle arguments, lets remove all arg parsing
stuff.
|
|
Support python3, fix handling of hex values for vendor/product IDs.
|
|
Allow KVM support for slaves
|
|
Using "idproduct: 6001" let python convert 6001 to 24577 and so corrupt
the UDEV line.
|
|
lavalab-gen.py cannot be used with python3.
This patch made it compatible with both python2 and python3.
|
|
Now host_has_cpuflag_kvm is used, we need to document it.
|
|
The "devices" node is now automaticly generated and added, so remove
them from docker-compose.template.
|
|
Since lava-docker must run on all arch, and that KVM is x86 specific,
KVM support was disabled for qemu.
Reintroduce it now as an option for each lab via the
host_has_cpuflag_kvm flag.
|
|
The node devices was hardcoded for lava-slave.
For example, lava-master could never have devices.
Remove that hard-coding and made devices dynamic for any labname.
|
|
The boards.yaml documentation state that lava-slave should be named lab-slave-XXX
but docker-compose.template does not use this convention.
This force the use of this convention.
|
|
Documentation: document lava-docker
|
|
More board attributes
|
|
Rework udev
|
|
Pdugeneric
|
|
Rework misc
|