summaryrefslogtreecommitdiffstats
path: root/lava-master/entrypoint.d/01_setup.sh
AgeCommit message (Collapse)AuthorFilesLines
2021-02-10Fix rigths on /etc/lava-server/dispatcher-configCorentin LABBE1-0/+3
When using persistent /etc/lava-server, a device-type could be copied without proper rights. But the fix of rights is done during docker build and at that time, volume are not setup, so not fixed. So the rigths fix need to be done at run time.
2020-07-13Do not apply backup twiceCorentin LABBE1-21/+26
If we use persistend_db, a restart with an image containing a backup will re-apply the backup and so overrun current DB. So when backup is used, apply a flag to not reuse it.
2020-07-13Permit to set the postgres lavaserver passwordCorentin LABBE1-2/+5
By setting pg_lava_password, the final lavaserver password will be set to this value.
2020-06-01Support 2020.05Corentin LABBE1-1/+7
LAVA has changed the place of DB password from instance.conf to a yaml file.
2020-03-02Merge pull request #111 from montjoie/pr-2020.01Kevin Hilman1-0/+2
Pr 2020.01
2020-01-16master: handle migrationsCorentin LABBE1-0/+2
This patch permits to handle migrations when upgrading.
2019-12-06Allow using different folder than /tmp for tar operationsPhilippe Mazet1-0/+4
When backup size grows to several GB, tar operation can fail with "no space left on device" error. This is because of the limited size of /tmp on certain machines This changes allows using a different folder. This can be done by simply adding such line in Dockerfile: ENV TMPDIR /wherever/tmp
2019-09-27lava-master: automaticaly agree on DB migrationCorentin LABBE1-1/+1
2019-08-26Upgrade to 2019.07Corentin LABBE1-0/+200
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