summaryrefslogtreecommitdiffstats
path: root/lava-master/scripts
AgeCommit message (Collapse)AuthorFilesLines
2018-07-20Do not add already existing tokenCorentin LABBE1-2/+7
When restoring a database, token are restored and so cannot be re-created.
2018-07-20Permit to backup/restore lavaserver databaseCorentin LABBE1-0/+14
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-19Made the database persistentCorentin LABBE1-0/+7
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.
2018-07-12Add device-types and tokens at startupCorentin LABBE2-7/+20
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-06-05Upgrade to 2018.4Corentin LABBE6-10/+401
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-01-09Permit to create staff/superuser usersCorentin LABBE1-2/+11
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 custom device-type handlingCorentin LABBE1-4/+5
Device-type are jinja2 files and not yaml files and so a have a different filename. So this patch correct the handling of custom device-types.
2017-10-25Handle generated filesCorentin LABBE1-0/+74
This commit add suppot for generated files by lalalab-gen.py.
2017-10-25Move master files in lava-masterCorentin LABBE2-0/+47