yocto-autobuilder-helper/scripts
Tim Orling be76b6a5e4 scripts: add list-yp-compatible-layers.py
This is a handy helper script to query the Buildbot REST API to
create a list of Yocto Project Compatible 2.0 layers, as defined by
successful running of the "check-layers*" jobs.

The script only considers the 'jobs' ("Builders" in Buildbot speak) you
ask it to query.

The script looks at the latest -n successful builds for a branch that
matches from a list. The number of builds approach was used because
the property_list cannot be queried for "branch" in the "builders" API.

It looks for a "step" name pattern via a regex, with which all currently
running "check-layer" and "check-layer-nightly" jobs conform.

Once a branch has successfully been queried, it is removed from the list
in further iterations. The intent is to only find the latest passing
list of compatible layers, for each branch.

The output is a yp_compatible_layers.json file which can
be pretty printed with:

cat yp_compatible_layers.json | jq

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-10-29 22:40:32 +00:00
..
auh-config auh-config: systemd now requires usrmerge 2023-08-15 21:20:32 +01:00
docs-build-patches scripts/run-docs-build: Support auto generation of switchers.js and poky.yaml 2022-03-22 22:17:02 +00:00
archive_buildstats.py scripts/archive_buildstats: Exit early if buildstats isn't present 2022-08-24 20:56:12 +01:00
build-perf-test-wrapper Clarify license and copyright information 2022-05-17 10:29:45 +01:00
buildhistory-init Clarify license and copyright information 2022-05-17 10:29:45 +01:00
check-gplv3 Clarify license and copyright information 2022-05-17 10:29:45 +01:00
checkvnc Clarify license and copyright information 2022-05-17 10:29:45 +01:00
collect-results Clarify license and copyright information 2022-05-17 10:29:45 +01:00
cve-generate-chartdata cve-generate-chartdata: Fix syntax error 2023-04-01 11:38:56 +01:00
cve-report.py cve-report: Remove ignore list and expose all CVEs 2023-02-07 21:53:00 +00:00
docs_add_banner.py scripts/docs_add_banner: Fix several issues 2022-06-03 10:51:38 +01:00
generate-testresult-index.py scripts/generate-testresult-index.py: expose regression reports on web page 2023-03-24 10:31:35 +00:00
layer-config scripts/layer-config: remove unused imports 2023-06-13 09:38:32 +01:00
list-yp-compatible-layers.py scripts: add list-yp-compatible-layers.py 2023-10-29 22:40:32 +00:00
oe-build-perf-report-email.py Clarify license and copyright information 2022-05-17 10:29:45 +01:00
oe-build-perf-report-scrape-html-report.js scripts: Import build-perf scripts from oe-core 2019-01-22 22:58:11 +00:00
patchmetrics-generate-chartdata srcipts/generate-chartdata: Drop dateutil dependency 2022-06-30 16:33:54 +01:00
patchmetrics-update scripts/patchmetrics-update: Improve debug output 2022-09-20 15:56:25 +01:00
pre-commit-hook.sh Clarify license and copyright information 2022-05-17 10:29:45 +01:00
prepare-shared-repos scripts/prepare-shared-repos: fix minor typo in autobuilder logs 2023-02-15 11:31:10 +00:00
publish-artefacts config.json: Add patchtest build 2023-10-26 14:22:33 +01:00
run-auh auh: publish output on https://autobuilder.yocto.io/pub/auh/ 2023-05-04 16:29:15 +01:00
run-config config.json: Separate out toolchain targets 2023-06-08 11:16:43 +01:00
run-cvecheck scripts/run-cvecheck: Remove branch iteration 2023-10-23 16:43:24 +01:00
run-docs-build run-docs-build: switch to released docs tarball 2023-01-17 11:04:42 -08:00
run-patchmetrics scripts/run-patchmetrics: Only monitor master branch 2023-10-23 16:43:20 +01:00
runqemu-renice.c scripts: Add runqemu-renice.c for renicing runqemu 2020-09-05 14:59:14 +01:00
send_qa_email.py scripts/send_qa_email: guess latest tested revision when dealing with branch 2023-10-04 23:39:50 +01:00
send-qa-email scripts/send-qa-email: add symlink to preserve compatibility with autobuilder 2023-01-26 22:40:07 +00:00
setup-auh Clarify license and copyright information 2022-05-17 10:29:45 +01:00
setup-config Clarify license and copyright information 2022-05-17 10:29:45 +01:00
shared-repo-unpack scripts/send_qa_email.py: Rename send-qa-email to send_qa_email.py 2023-01-26 22:40:02 +00:00
summarize_top_output.py Clarify license and copyright information 2022-05-17 10:29:45 +01:00
target-present Clarify license and copyright information 2022-05-17 10:29:45 +01:00
test_send_qa_email.py scripts/send_qa_email: guess latest tested revision when dealing with branch 2023-10-04 23:39:50 +01:00
test_utils.py scripts/test_utils.py: update test after BUILD_HISTORY_DIRECTPUSH removal 2023-06-26 16:27:11 +01:00
upload-error-reports Clarify license and copyright information 2022-05-17 10:29:45 +01:00
utils.py scripts/send_qa_email: re-clarify base and target revisions 2023-10-04 23:39:50 +01:00