summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-07-13Merge pull request #122 from montjoie/postgres-fixKevin Hilman4-25/+75
Postgres fix
2020-07-13Merge pull request #121 from aliceinwire/handle_upper_caseKevin Hilman1-4/+4
Fix upper case on boards.yaml
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-13Persistent DB need /etc/lava-server to be kept.Corentin LABBE1-0/+3
Since the LAVA DB password is set in /etc/lava-server/, we need to keep it accross restart. So put /etc/lava-server on a volume. This will also permit to keep some live configuration like dispatcher IP.
2020-07-13Permit to set the postgres lavaserver passwordCorentin LABBE4-3/+16
By setting pg_lava_password, the final lavaserver password will be set to this value.
2020-07-13Sort master/workers keywordsCorentin LABBE1-2/+31
The keyword list is too long, so split it in multiline, one letter per line.
2020-07-13Fix upper case on boards.yamlAlice Ferrazzi1-4/+4
Fixes #29 Signed-off-by: Alice Ferrazzi <alice.ferrazzi@miraclelinux.com>
2020-07-10Merge pull request #120 from aliceinwire/fix_documentationKevin Hilman1-1/+1
healthcheck need a supported url protocol scheme to work
2020-07-10healthcheck need a supported url protocol scheme to workAlice Ferrazzi1-1/+1
Job error: Unsupported url protocol scheme: healthcheck Signed-off-by: Alice Ferrazzi <alice.ferrazzi@miraclelinux.com>
2020-07-09Merge pull request #119 from aliceinwire/add_build_argsKevin Hilman2-2/+12
Add option to add docker build args
2020-07-09Merge pull request #117 from Rahix/hws/tftp-bindingKevin Hilman1-1/+4
Make docker bind the TFTP server to the correct interface
2020-07-01Add build_args option explanation to the README fileAlice Ferrazzi1-0/+6
Signed-off-by: Alice Ferrazzi <alice.ferrazzi@miraclelinux.com>
2020-07-01Add option to add docker build argumentsAlice Ferrazzi1-2/+6
Signed-off-by: Alice Ferrazzi <alice.ferrazzi@miraclelinux.com>
2020-06-20Merge pull request #118 from montjoie/support_2020.05Kevin Hilman4-4/+25
Support 2020.05
2020-06-01Handle the change of device-type storageCorentin LABBE2-2/+15
device-types are now in /usr/share/lava-server/device-types/ and so device-type-patch does not work anymore. This patch support both location
2020-06-01Support dockerCorentin LABBE1-1/+3
docker need some more bind mounts.
2020-06-01Support 2020.05Corentin LABBE1-1/+7
LAVA has changed the place of DB password from instance.conf to a yaml file.
2020-05-20Make docker bind the TFTP server to the correct interfaceHarald Seiler1-1/+4
With UDP, docker sometimes can't route UDP packets to the correct address because the source address gets mangled [1]. This happens indeterministically because by default the kernel uses some heuristics to decide which interface to use. But in some rare circumstances, those can fail and a wrong source address is used. This can be worked around by explicitly binding to a concrete interface instead of 0.0.0.0. [1]: https://github.com/moby/libnetwork/issues/1729 Signed-off-by: Harald Seiler <hws@denx.de>
2020-04-28Merge pull request #116 from montjoie/misc-04-2020Kevin Hilman2-3/+5
Misc 04 2020
2020-04-27lavalab-gen.py: use python3Corentin LABBE1-1/+1
2020-04-27increase timeout when waiting for masterCorentin LABBE1-2/+4
2020-03-18Merge pull request #115 from montjoie/noentrypointKevin Hilman2-1/+1
lava-slave: handle the case where there are no entrypoints to copy
2020-03-18lava-slave: handle the case where there are no entrypoints to copyCorentin LABBE2-1/+1
If there are no entrypoint to copy, the COPY docker action will fail. For fixing this issue, simply copy all files instead of just "*sh". Since the entrypoint.d directory is not empty (got an empty file) it will always works. The LAVA script run only *sh files so we are still safe.
2020-03-04Merge pull request #114 from montjoie/update-to-2020.02Kevin Hilman3-27/+2
Update LAVA to 2020.02
2020-03-03Update LAVA to 2020.02Corentin LABBE3-27/+2
2020-03-02Merge pull request #111 from montjoie/pr-2020.01Kevin Hilman5-3/+34
Pr 2020.01
2020-02-26lava-slave: copy entrypointsCorentin LABBE2-0/+2
This patch permit to adds custom entrypoints.
2020-02-26Permit to specify LAVA version in boards.yamlCorentin LABBE1-2/+15
This patch permit to override the LAVA version in boards.yaml For example with 'version: 2020.01' the Dockerfile FROM lavasoftware/lava-server:2019.09 become FROM lavasoftware/lava-server:2020.01
2020-02-12Merge pull request #110 from philm06/masterKevin Hilman2-6/+16
Improve backup handling
2020-02-12Merge pull request #113 from slawr/stevel/upstream-ser2net-readme-improvementsKevin Hilman1-1/+7
README.md: Correction / improvement to ser2net documentation
2020-02-12Merge pull request #112 from bearrito/bugfix/device-type-linkKevin Hilman1-1/+1
Update Device Types Link
2020-02-07README.md: Add note about passing LOCAL in ser2net_optionsStephen Lawrence1-0/+6
Add a note about passing LOCAL as an option in ser2net_options to mitigate certain serial connection issues. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
2020-02-07README.md: correct boards.yaml syntax for ser2net_optionsStephen Lawrence1-1/+1
Add missing ':' to syntax for 'ser2net_options' in boards.yaml doc. Signed-off-by: Stephen Lawrence <stephen.lawrence@renesas.com>
2020-01-28Update Device Types Linkbearrito1-1/+1
2020-01-16Add custom volumesCorentin LABBE2-1/+10
For some case, we need to add custom volumes (like for /var/lib/lxc/cache)
2020-01-16Add raw_custom_optionCorentin LABBE2-1/+6
For some options we need to not have the space around them, like ones needing "-%}" or coments. Introduce raw_custom_option for such cases.
2020-01-16master: handle migrationsCorentin LABBE1-0/+2
This patch permits to handle migrations when upgrading.
2019-12-09backup.sh: remove docker interactive switch (does not work through crontab)Philippe Mazet1-6/+6
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-12-06backup.sh: avoid "file changed as we read it" errorPhilippe Mazet1-1/+2
In some case (long jobs), backup failed because some files were changed during tar operation.
2019-12-06backup.sh: allow using different tmp dirPhilippe Mazet1-0/+5
When backup size grows, we had cases where tar was filling up /tmp This patch allows specifying a different tmp dir, used by tar (through TMPDIR variable). Example usage: TMPDIR=/home/user/mytempdir ./backup.sh
2019-11-22Merge pull request #109 from montjoie/use_dockerKevin Hilman2-1/+7
Permit to use docker commands in slave
2019-11-22Merge pull request #108 from montjoie/install-pkg-nbdKevin Hilman1-0/+4
Install xnbd-server
2019-11-22Permit to use docker commands in slaveCorentin LABBE2-1/+7
When docker devices are needed, docker socket must be availlable in the slave. This is now possible via the new use_docker
2019-11-21Install xnbd-serverCorentin LABBE1-0/+4
The recent LAVA packages does not pull xnbd-server. So we need to install it when use_nbd is set.
2019-11-03Merge pull request #107 from montjoie/documentationKevin Hilman2-2/+8
Enhance documentation
2019-10-16Enhance documentationCorentin LABBE2-2/+8
This patch enhance a bit the documentation - On the reason of the install of nfs-kernel-server - On how to upgrade
2019-10-10Merge pull request #105 from montjoie/2019.9-visibility-fixKevin Hilman1-0/+25
lava-master: patch: Add fix for visibility issue
2019-10-09lava-master: patch: Add fix for visibility issueCorentin LABBE1-0/+25
This patch backport a LAVA patch which fix an issue with lavacli commands.
2019-10-04Merge pull request #104 from montjoie/2019.09Kevin Hilman6-9/+21
2019.09