Category «Linux»

Azure ARM Templates – How to embed full scripts in your JSON templates!

Earlier today a colleague and I discovered a pretty neat trick when dissecting a broken ARM template; we learned you can encode complete scripts and embed them in your templates. This post will explain how to do so. First, some assumptions: You have a Linux/Unix based machine available (terminal on Mac works fine, as does …

Complete pipeline with Jenkins, ACS (Docker Swarm), and Azure Container Registry

In this blog post, we will walk through a demonstration of a complete pipeline of a deployment to Docker Swarm on Azure Container Service (ACS) using Jenkins (hosted on Azure) and Azure Container Registry (ACR). You can grab the demo file used on my GitHub here. Pro tip! If you’re using BitBucket and you have …

Pro tip: Jenkins and Docker build server

I’m currently sitting at a coffee shop with a Microsoft partner and we just spent the last hour banging our head against the table over the following error as part of our Jenkins pipeline project when running our docker.build command:

We finally figured out the issue by looking at my own Jenkins build server …

PowerShell Core Scripting Pro Tip!

Super quick update today – here’s a handy little pro tip when scripting shell scripts for PowerShell Core. In my previous install scripts I would use the same command one would use from a command line level:

However, I ran into two problems in my latest scripts. First, you now have to use sudo to …

Updated! PowerShell Core [Beta] 6.04, AzureRM.NetCore Module, and Az CLI 2.0 Install Scripts for Ubuntu and OS X

Note: This post is now old. Please use my latest installer from this blog post.  Quick update today – I previously wrote new install scripts for PowerShell Core Versions 6.11 and 6.14 with the AzureRM.NetCore.Preview module and optional install of Azure CLI (1.0). Today, I have updated them! The below scripts have been modified to …