summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-11-04Merge pull request #125 from montjoie/fix-2020.07Kevin Hilman2-0/+4
Fix 2020.07
2020-11-04lavalab-gen.py: Name workers images with version tagCorentin LABBE1-0/+2
If version is specified, we can generate docker images with tags set to it.
2020-11-04Fix device-types patcherCorentin LABBE1-0/+2
The device-types patchs were not used since 9918419127b ("Handle the change of device-type storage"). The patch was correctly modified with path hacks, but not applied.
2020-09-04Merge pull request #127 from montjoie/misc-09-2020Kevin Hilman3-8/+35
Misc 09 2020
2020-09-04README: add more ZMQ documentationCorentin LABBE1-0/+25
This patch adds more ZMQ documentation
2020-09-04README: add lava-dispatcher-host in prerequisitesCorentin LABBE1-0/+2
For fastboot/docker, lava-dispatcher-host could be necessary
2020-09-04deploy.sh: Remove udev rules in a more restrictive wayCorentin LABBE1-2/+2
Now lava-dispatcher-host package exists, we should not remove its udev rules. So remove only only lava-docker rules.
2020-09-04backup.sh: do not allocate ttyCorentin LABBE1-6/+6
For backuping we dont need a tty. Furthermore, this break AGL cron backup.
2020-08-18Merge pull request #124 from montjoie/BumptoLAVA-2020.07Kevin Hilman2-2/+2
Increase LAVA version to 2020.07
2020-08-18Increase LAVA version to 2020.07Corentin LABBE2-2/+2
Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
2020-07-17Merge pull request #123 from Rosepeter/masterKevin Hilman1-1/+1
[Fix] Ensure proper filename of public master key
2020-07-14[Fix] Ensure proper filename of public master keyFabian Scheler1-1/+1
Currently, the public master key is references as $LAVA_MASTER.key in e.g. scripts/setup.sh. If the key is named master.key it is copied to $LAVA_MASTER.key by scripts/setup.sh. However, no nameing convention for the public master key provided to lavalab-gen.py is documented, so the worker simply will not start if the key is stored as e.g. master-public.key. Running into such error scenarios could simply be prevented by copying the public master key to an appropriatly named file in lavalab-gen.py. This is done here.
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