~/talk

Keep it clean: QA automation with linters from Yocto

Talkat Yocto Project Summit 2023.11 · 2023-11-28..11-30· [embedded-and-hardware]
links:none on file
slides:none on file

A Yocto layer integrates linters (shellcheck, checkbashisms, cppcheck, checkbashism wrappers) into bitbake builds and CI so builds produce machine-readable reports and results-to-console summaries; an initial sweep surfaces 10–15,000 findings but the demo reduces noise by suppressing or fatalizing IDs like SC-3034 and SC-1073. The process finds concrete problems (non-executable third‑party scripts, wrong interpreter, missing supplier keys), supports automatic build failure, pushes results to Jenkins (roughly 5,000 warnings in one run) and runs the same checks locally via an SCA Docker SDK and pre-commit hooks.

AI-written summary · about

  1. 0:00Introduction to linters in Yocto
  2. 1:27Choosing linter tools for Yocto
  3. 7:27Building the demo image
  4. 15:43Fixing third-party package errors
  5. 21:10Automating error detection in CI
  6. 31:59Jenkins integration for results
  7. 39:00Linting C code with SDK
  8. 46:51Pre-commit hooks for automation
  9. 50:33Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.