Cheatsheet might be a bit of a lie though TBH us bloggers just call something a cheat sheet when we can’t be bothered writing verbose instructions. I’ve made a few Powershell functions now and there’s a few bits and bobs that seem like they’d be really easy to do but they are not. Now it’s possible that all this info is in the massive Functions Powershell Developer reference but I am lazy so have collated the stuff I end up looking to see how I solved before into this blog post.
This will be short one and mostly will just be an example of how to do it without much pizazz. Though not completely bereft of it, since the people want a show!! This didn’t seem to be coveed in Terraform AzureRM docs or any another blog I could find, at least not clearly. As part of throwing up a sandbox ansible environment I was trying to figure out a way to run the ansible script in github that opens up comms on the machine being spun up so I could connect.
Hello there ! New blog, new post. I know what you’re thinking, how can he keep up this breakneck speed of posting a whole 500 words every few months?! I’m just that good basically. Also no quality checks. Just. None. Keeping it nice and quick then, but we’ll both be satisfied. Shortish script to get you the external IP for Microsft Hosted Agents in Azure DevOps (ADO). It’s in Powershell and will work on ubuntu or the windows agent as far as I’ve tested.
Serverless Docker Container CI CD Azure DevOps Pipelines Build Agent OMG THE BUZZWORDS. Do you SEE the Buzzwords in that title. You must be so PUMPED to read this blog. The SEO will be off the charts. Now I’m not some expert in any of these techs, but I’ve got something cool working and I thought I’d share it since I’ll probably forget how all this works in a few months and need something to refer to.
Welcome back to the JFDI series! Date: 06-07-2020 UPDATE 12-06-2020 The requirement to add the tag :194 to the docker image is no longer needed. I’ve managed to add a :latest tag which means you can leave it off and it will pull the latest container version down, whatever that happens to be. Secondly, if using the latest image, your ADOAgent will register with a random name. Meaning you can scale your swarm up to 2-3 ADO Agents if you want to try that.