Go to file
Alexis Lothoré c932ae37d8 scripts/test_send_qa_email.py: allow tests with non static results
When the test assert is about a tag in Poky, the result will not be the same
depending on existing tags at the time of running tests.

Add a LAST_TAG marker to loosen constraints but still allow to tests for general
cases (e.g. : test that tag-depending tests does not return None)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-03-23 16:06:37 +00:00
janitor Clarify license and copyright information 2022-05-17 10:29:45 +01:00
lava resume-lava-jobs: Add lava-job cleanup script 2018-08-30 16:21:51 +01:00
lava-templates lava-templates: Add Jinja2 LAVA job-template on BSP x86_64 2018-08-30 16:21:51 +01:00
scripts scripts/test_send_qa_email.py: allow tests with non static results 2023-03-23 16:06:37 +00:00
.gitignore gitignore: Ignore __pycache__ directories 2022-05-17 09:47:47 +01:00
config-intelqa-x86_64-lava.json config-intelqa-x86_64-lava.json: Add extension to config.json to support BSP 2018-08-30 16:21:51 +01:00
config.json config.json: fix A. Belloni configuration for regression reporting 2023-03-21 17:50:27 +00:00
LICENSE.GPL-2.0-only Add license file 2022-05-17 12:37:51 +01:00
local-example.json utils: Allow customisation using ABHELPER_JSON from the environment 2018-06-20 23:16:10 +01:00
README README: add git-config commands to setup the mailer 2019-12-16 23:41:13 +00:00

This repo is designed to work in conjuction yocto-autobuilder. Whilst yocto-autobuilder is designed to cover all releases, this repo has a branch per release and contains the hooks that do the actual build configuration and execution.

pre-commit-hook.sh can be used to verify the JSON before committing, symlink this to .git/hooks/pre-commit (ln -s ../../scripts/pre-commit-hook.sh .git/hooks/pre-commit).

Its likely most users will end up having to customise this repository for their needs. The scripts themselves should be more generically reusable, the config.json, less so as it represents the Yocto Project Autobuilder test matrix.

There are two customisation options possible, one is through variable substitution, the other is through overlaying configuration files. The standard config.json tries to at least allow substitution of the paths. A local-example.json is included to show how you could override these from a separate config file, simply passing:

ABHELPER_JSON="config.json local-example.json"

into the environment of the autobuilder.

ABHELPER_JSON="config.json /some/location/local.json"

would also allow customisation.

Authors: Richard Purdie richard.purdie@linuxfoundation.org Joshua Lock joshua.g.lock@intel.com

Contributions:

Patches for this code should be sent to the yocto@lists.yoctoproject.org mailing list with [yocto-autobuilder-helper] in the subject. This can be configured automatically with the following commands:

git config --local --add format.subjectprefix 'PATCH yocto-autobuilder-helper' git config --local --add sendemail.to yocto@lists.yoctoproject.org