Add a stable_release boolean argument to _compare(). If True just
ignore missing workers on the AB, because we want to keep the full list
of tested releases in poky.conf for stable branches.
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
On older releases the bitbake server output is confusing the script.
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
For autobuilder use, it will be more helpful to print warnings for the issues found
which will show up in the autobuilder UI in this format. We can then save the error
exit code for actual script failures which should improve usability from the autobuilder
perspective.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Add scripts/yocto-supported-distros to either:
- List the supported distros on the autobuilder (prints the workers for
one or more release).
- With --compare, get the supported distro from poky.conf
(SANITY_TESTED_DISTROS), mangle the worker names to make them match the
lsb_release distro strings, and return 1 in case of difference (and
print the differences). Return 0 in case of 1 to 1 match.
The aim of this script is to make maintaining the poky.conf file and the
workers easier.
The release-from-env flag can be used to get the current release from
METADATA_BRANCH.
The --config-from-web flag can be used to get the current autobuilder
config.py by fetching it from the web repo.
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>