summaryrefslogtreecommitdiffstats
path: root/lava-master/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
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-01-14Permit to choose loglevelCorentin LABBE1-0/+2
By default, all process use the DEBUG loglevel, this could be too much for a production server. This patch permits to tune the loglevel.
2018-12-18Use 2018.11Corentin LABBE1-1/+1
This patch made lava-docker use a known to work dockerhub tag. Keep the latest tag for internal work.
2018-12-11lava-master: use /root/backup/ for storing backupsCorentin LABBE1-1/+1
For storing backups to be restored, it is better to use /root/backup/ instead of /
2018-11-02lavalab-gen.py: permit to set env settings on slaveCorentin LABBE1-4/+2
This patch permits to add some env settings on slave. The primary goal of this is to permits to add a proxy for a specific slave.
2018-10-31lava-master: fix permissions on health-checksPatryk Mungai1-0/+1
This fix allows users to add healthcheck files via API by changing ownership from root to lavaserver. Without it users encounter a permissions error. Signed-off-by: Patryk Mungai <patryk.mungai-ndungu.kx@renesas.com>
2018-10-17Permit to create groupsCorentin LABBE1-0/+1
This patch adds support for creating groups
2018-09-18README: enhance documentation on dependencies and CSRF issuesCorentin LABBE1-1/+0
This patch add the missing pyyaml requirement in the documentation, fixing issue #31 in the process. Note that this patch adds also a requirements.txt for easy pip install. This patch also a note on http_fqdn stating this option as necessary when using https.
2018-07-26Permit to choose the FQDN printed in emailCorentin LABBE1-0/+2
2018-07-25Split dockerfile in two imagesCorentin LABBE1-67/+1
The process of building LAVA is hard to maintain. But since we need to be able to go back in time (or just stay longer with a specific version) we need a way to keep a LAVA version. For achieving this, we build a minimal image with just LAVA and tag it with the version of LAVA inside.
2018-07-23Handle ZMQ authCorentin LABBE1-0/+2
This patch add support for using ZMQ auth. Basicly adding "zmq_auth: True" to a master is sufficient to enable it. Since "ZMQ certificates" are using a custom format (vs X509 classic), we need to use the custom generator. For helping with that a temporary docker is generated which handle generating thoses files.
2018-07-20Permit to backup/restore lavaserver databaseCorentin LABBE1-0/+2
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
2018-07-12Exit if device-types patch does not applyCorentin LABBE1-1/+1
2018-07-12Add device-types and tokens at startupCorentin LABBE1-1/+0
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.
2018-07-12Permit to have backported LAVA patchCorentin LABBE1-0/+3
If backporting LAVA patch is necessary, this patch add an easy way to do it.
2018-07-12Do not copy start/stop scripts twiceCorentin LABBE1-4/+0
It is unnecessary to copy start/stop twice during build
2018-06-05Allow to have device-types-patchCorentin LABBE1-0/+3
2018-06-05Upgrade to 2018.4Corentin LABBE1-4/+18
This patch upgrade lava-docker to LAVA 2018.4
2018-06-05Implement MultipleslaveCorentin LABBE1-1/+1
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
2018-03-08Install qemu-kvm only on x86/x86_64Corentin LABBE1-1/+2
qemu-kvm is not availlable on ARM. Install it only on supported x86/x86_64
2018-02-23Fix "Remove tty/stdin options"Corentin LABBE1-1/+1
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
2018-02-16Add healths check jobsCorentin LABBE1-0/+2
2018-02-02stick to LAVA 2017.11Corentin LABBE1-22/+17
Since LAVA packages are ephemeral, this patch permit to build a know release of LAVA. Introducing scripts/build-lava which builds from source any LAVA compoments from any version tag. In the same time, stick to 2017.11 as its a know working release for lava-docker.
2018-01-09Permit to create staff/superuser usersCorentin LABBE1-5/+0
This patch add two user options staff and superuser. This will permit to create users with thoses flag in LAVA. In the process remove the hardcoded admin user from Dockerfile and move it in tokens.yaml
2018-01-08Fix libguestfs on slaveCorentin LABBE1-0/+2
Libguestfs actions are done by the dispatcher, so the slave must be able to do them. In the same time, add a TODO for setting volumes as read_only.
2018-01-08Disable CSRF cookieCorentin LABBE1-0/+3
When working with HTTP interface, it is impossible to login. Ths patch also document that in Readme.md
2017-10-27Add squid for caching LAVA downloadsCorentin LABBE1-0/+3
2017-10-26Add health-checks copyCorentin LABBE1-0/+2
2017-10-26Need to copy slaves files in dispatcher.dCorentin LABBE1-0/+1
2017-10-26Forgot to comment the git install on masterCorentin LABBE1-13/+13
2017-10-25Handle generated filesCorentin LABBE1-0/+7
This commit add suppot for generated files by lalalab-gen.py.
2017-10-25Move master files in lava-masterCorentin LABBE1-0/+70