{"id":1545,"date":"2020-02-16T13:36:19","date_gmt":"2020-02-16T13:36:19","guid":{"rendered":"https:\/\/wordpress-634681-2064240.cloudwaysapps.com\/?p=1545"},"modified":"2020-03-30T14:21:29","modified_gmt":"2020-03-30T14:21:29","slug":"azure-iot-edge-devops-part1","status":"publish","type":"post","link":"https:\/\/www.petecodes.co.uk\/azure-iot-edge-devops-part1\/","title":{"rendered":"Azure DevOps with Azure IoT Edge and the Raspberry Pi – Part 1 – Setting up Raspbian Buster"},"content":{"rendered":"\n
This is Part 1 of an 8 part series in getting Azure IoT Edge setup with the Raspberry Pi. <\/strong><\/em> In this post we’ll run through getting Raspbian Buster set up on two Raspberry Pi’s ready to get Azure IoT Edge up and running. Working up to my talk on DevOps in an IoT World<\/a> at DevOps Notts <\/a>in February 2020, I worked through getting a CICD Release Pipeline working with Azure DevOps<\/a> and a Self Hosted Build Agent running on a Raspberry Pi<\/a>.<\/p>\n\n\n\n This turned out to be more complicated than I’d envisaged due to dependencies of the Build Agent for the Pi.<\/p>\n\n\n\n With that in mind I’m detailing here the steps to get a full Azure DevOps Raspberry Pi CICD Pipeline up and running.<\/p>\n\n\n\n The setup I’ve used is a Raspberry Pi 3 as a Custom Build Agent and a Raspberry Pi 4 as the actual Edge Device.<\/p>\n\n\n\n The Azure DevOps Pipeline can than build the Edge Module code directly on a real Pi, which deploys the artifacts back to the pipeline ready for deployment to the Edge Device Pi.<\/p>\n\n\n\n The first thing we need to do is get our Raspberry Pis Setup. We’ll be using Raspbian Buster here as, at the time of writing, this is the latest OS.<\/p>\n\n\n\n Go ahead and download the latest image from the Raspberry Pi Website here<\/a>.<\/p>\n\n\n\n
You can read the other parts here…
Part 2 – Creating an IoT Hub and Edge Device<\/a><\/strong><\/em>
Part 3 – Creating an Azure DevOps Organisation, Project, Settings, et<\/a><\/strong>c<\/strong><\/a><\/em>
Part 4<\/strong><\/em> – Setting up the Azure IoT Edge Device Pi<\/em><\/strong><\/a>
Part 5 – Setting up the Azure IoT Edge Build Pi<\/a><\/em><\/strong>
Part 6 – Creating an Azure Container Registry<\/em><\/strong><\/a>
Part 7 – Download the Azure DevOps Project Source Code<\/a><\/em><\/strong><\/p>\n\n\n\nContents<\/h2>\n\n\n\n
<\/strong><\/em>What we’ll be doing<\/a><\/em><\/strong>
Step 1 – Writing Raspbian Buster to an SD Card<\/a><\/strong><\/em>
Step 2 – Raspbian Buster Setup<\/a><\/em><\/strong>
Step 3 – Raspberry Pi Settings<\/a><\/em><\/strong><\/p>\n\n\n\nWhat we’ll be doing<\/h2>\n\n\n\n
\n\n\n\n1: Writing Raspbian Buster to an SD Card<\/h2>\n\n\n\n