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
|
# CVE Checks
|
||||||
#
|
#
|
||||||
bitbake world --runall cve_check -R conf/distro/include/cve-extra-exclusions.inc
|
|
||||||
mkdir -p $PARENTDIR/yocto-metrics/cve-check/
|
mkdir -p $PARENTDIR/yocto-metrics/cve-check/
|
||||||
cp tmp/log/cve/cve-summary.json $PARENTDIR/yocto-metrics/cve-check-$TIMESTAMP.json
|
for branch in master kirkstone dunfell; do
|
||||||
git -C $PARENTDIR/yocto-metrics add cve-check-$TIMESTAMP.json
|
git -C $PARENTDIR reset origin/$branch --hard
|
||||||
git -C $PARENTDIR/yocto-metrics commit -asm "Autobuilder adding new CVE data"
|
bitbake world --runall cve_check -R conf/distro/include/cve-extra-exclusions.inc
|
||||||
git -C $PARENTDIR/yocto-metrics push
|
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
|
||||||
$OURDIR/cve-report.py tmp/log/cve/cve-summary.json > $RESULTSDIR/cve-status.txt
|
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