CI, CD and Fleet Management with git, GitHub Actions, Mender, Ansible, pytest and Debian

I would like to start a discussion about efficient IoT device management at scale.

Here is my (developer centric) approach for various aspects:

I rely on a small toolbox containing carefully chosen tools:

  • git: Not only for source code management but also for fleet orchestration.
  • GitHub Actions: For anything that can be automated.
  • Mender: For OTA updates, configuration dispatching, inventory management and remote access.
  • Ansible: For OS image builds, device configuration management and fleet orchestration.
  • Python, pytest, Testinfra, edi: For building and testing OS images.
  • Debian: As a basis for building the customized OS images.

What tools are you using?
Are you striving for an all-in-one IoT offering from a single vendor or are you building your system by combining several best in class solutions (like above)?
What tool(s) shall I add to the above toolbox to cover the monitoring aspect?
How are you orchestrating your fleet?

2 Likes

Hi @lueschem!

Wow, that is some really cool stuff that you created there, and we’re super happy to be the in as the OTA provider.

Speaking from my personal perspective, I am actually somewhat curious about the mental model. Is it more like a pipeline, or rather like a pot? Means, do you think about or even expect people to swap out things from your suggested toolbox for something else? Or do you rather understand it as holistic approach, that is best used in this exact combination?

Really curious to hear other opinions, too!

Greetz, Josef

Hi @TheYoctoJester

Actually I am very happy if I have the possibility to replace a tool within my toolbox with an equivalent tool. In the above example the replacements could be:

  • git β†’ Mercurial
  • GitHub Actions β†’ GitLab
  • Mender β†’ SWUpdate + hawkBit
  • Ansible β†’ Saltstack
  • Python, pytest, Testinfra, edi β†’ Yocto
  • Debian β†’ Yocto

Wherever possible, I try to avoid a vendor/technology lock-in.

So I am pretty sure that others will fill their toolbox with several different tools.

Best regards
Matthias

1 Like

Here is a presentation I did at the OS summit in Dublin: https://www.get-edi.io/assets/pdfs/AutomatingAndManagingAnIoTFleetUsingGit.pdf

3 Likes