ROS 2 CI/CD From Repo to Production Robots, With AI Tools

How to maintain a ROS 2 repository and ship releases to production robots: CI gates, simulation, signed artifacts, canary rollout, rollback, and safe use of AI coding tools.

In this article

  • Two pipelines, not one
  • Start with a repository that can be built by a stranger
  • The CI stage: a ladder of gates
  • Branches and protection: make the gate real
  • Build one artifact and promote it
  • Hardware-in-the-loop: the stage simulation cannot replace
  • Staged rollout and automatic rollback
  • Keeping the repository healthy
  • Where AI tools fit in the pipeline
  • An end-to-end picture
  • Trade-offs to decide up front
  • Checklist
  • Further reading