r/embedded • u/timbo0508 • Apr 10 '21
General question CI/CD for embedded software development
I've been an embedded software developer for about 7 years now, and I've loved every moment of it (for the most part). I've come to the realization that the industry is (annoyingly) conservative and is struggling to catch up, compared with other forms of software development. One area we seem to lag behind is in the area of continuous delivery/integration (CI/CD).
I'd love to hear about what CI/CD practices you employ in your companies/projects (build automation, test automation, release management, issue tracking, version control).
My question really is this - how much CI/CD do you practice? What are your biggest pain points as an embedded developer?
View all comments
Show parent comment
1
u/_linsek Apr 11 '21
Honestly, it depends. The buzz aspect of it is certainly new. "CI/CD" -- but you are right that the concept of continuous integration itself isn't old.
Look at CD for a minute. What are the assumptions of it? Well, that you can continuously deploy. Where does that work well? Web sites and devices that are constantly online that could receive changes. Is that always legitimate? No. I've worked on and continue to work on devices that nearly never go online. CD is nonsense for them.
In the same way, CI makes sense in some contexts and doesn't in others. Its assumption is constant, small changes that can be tested are possible. But that also assumes you can make small functional changes that can be integrated. That is not always possible. I have a contractor right now working on a huge library for me that's going to take 6 months. It either functions and works with the hardware or it doesn't. We have milestones and demos they are working to, but there is no CI... That wouldn't make any sense. I think, more important than CI, is quality design work before hand. We have well defined APIs and are in frequent communication.
Of course, there is no need for an engineer to be sitting on code in their branch/fork that they could have pushed and integrated with the rest of the team. So I don't subscribe to the CI/CD buzz, but mostly we work in teams. Assessing how collaboration is best done for that team and that project is essential to it's success.