Automating Yocto image testing with Gitlab CI/CD
summary
Automates Yocto image builds, remote installs and tests using GitLab CI/CD: a host with a GitLab Runner (shell executor) runs a .gitlab-ci.yml that invokes bash scripts to clean SSTATE, run bitbake, SCP the image to a target, run an install_image script (noting reboot handling) and SSH back in to run lightweight tests like check version. Pipeline uses explicit build → deploy → test stages, deploys take ~15–20 minutes, and the author reports successful green runs with failures visible in job logs.
AI-written summary · about
chapters (10)
- 0:00Introduction to automated testing
- 2:12GitLab basics and setup
- 5:00Configuring GitLab Runner
- 7:09Creating GitLab CI/CD pipeline
- 12:19Building Yocto images automatically
- 17:27Pipeline stages and workflow
- 21:28Deploying images to devices
- 24:24Testing deployed images
- 25:10Alternative deployment methods
- 26:14Summary and Q&A
