mirror of
git://git.yoctoproject.org/yocto-autobuilder-helper.git
synced 2025-07-19 20:59:02 +02:00
scripts: Extend CVE testing to kirkstone and dunfell branches
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
7eca1ae4d7
commit
e3beeb9328
|
@ -28,13 +28,15 @@ cp $PARENTDIR/yocto-metrics/patch-status/* $RESULTSDIR
|
|||
#
|
||||
# CVE Checks
|
||||
#
|
||||
bitbake world --runall cve_check -R conf/distro/include/cve-extra-exclusions.inc
|
||||
mkdir -p $PARENTDIR/yocto-metrics/cve-check/
|
||||
cp tmp/log/cve/cve-summary.json $PARENTDIR/yocto-metrics/cve-check-$TIMESTAMP.json
|
||||
git -C $PARENTDIR/yocto-metrics add cve-check-$TIMESTAMP.json
|
||||
git -C $PARENTDIR/yocto-metrics commit -asm "Autobuilder adding new CVE data"
|
||||
git -C $PARENTDIR/yocto-metrics push
|
||||
|
||||
$OURDIR/cve-report.py tmp/log/cve/cve-summary.json > $RESULTSDIR/cve-status.txt
|
||||
for branch in master kirkstone dunfell; do
|
||||
git -C $PARENTDIR reset origin/$branch --hard
|
||||
bitbake world --runall cve_check -R conf/distro/include/cve-extra-exclusions.inc
|
||||
cp tmp/log/cve/cve-summary.json $PARENTDIR/yocto-metrics/cve-check-$branch-$TIMESTAMP.json
|
||||
git -C $PARENTDIR/yocto-metrics add cve-check-$branch-$TIMESTAMP.json
|
||||
git -C $PARENTDIR/yocto-metrics commit -asm "Autobuilder adding new CVE data for branch $branch"
|
||||
git -C $PARENTDIR/yocto-metrics push
|
||||
|
||||
$OURDIR/cve-report.py tmp/log/cve/cve-summary.json > $RESULTSDIR/cve-status-$branch.txt
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user