Set up a Raspberry Pi as Self-Hosted Agent in Azure DevOps

Ivan (이반) Porta
The Startup
8 min readDec 17, 2020

--

This article will show you how to configure your Azure DevOps to run your build pipeline via a Raspberry Pi with Linux. By default, Azure DevOps doesn’t have an option to build a Raspberry solution, so you will have to make one from scratch.

Raspberry PI configuration

Download Ubuntu image

If you start with a brand-new Raspberry Pi, you need to install the Operative System in your Micro SD. However, you have a few limitations on the kind of distribution. Azure DevOps’s agent is based on .NET Core 2.1 and supports the following distributions:

x64

  • CentOS 7, 6
  • Debian 9
  • Fedora 30, 29
  • Linux Mint 18, 17
  • openSUSE 42.3 or later
  • Oracle Linux 7
  • Red Hat Enterprise Linux 8, 7, 6
  • SUSE Enterprise Linux 12 SP2 or later
  • Ubuntu 18.04, 16.04

ARM32

  • Debian 9
  • Ubuntu 18.04

In this demo, I’ll use ubuntu 18.04. To download it, follow these steps:

  1. Browse to the download page of the Ubuntu official website…

--

--

Ivan (이반) Porta
The Startup

Senior DevOps Engineer | Terraform Associate | Certified Argo Project Associate