Automation

Avoiding Complex Octopus Deploy Variables

Posted on

Octopus Deploy has a very smart system of variable management that allows you to scope variables to machines, environments, steps, roles – and to store variables in projects and in shared library sets. It is so flexible, you could make your life very miserably if you don’t make things as manageable as possible. Scope Octopus […]

Programming

Run a Console Application With PowerShell

Posted on

I have a DbUp console application that needed to be executed with PowerShell (in my case via Octopus Deploy – but this works in any case), but I wanted to be able to get the result when executing it. By default, running the “Database.exe” from PowerShell will open a new console window for the application […]

Automation

Highlight Versions on Octopus Deploy Dashboard

Posted on

Unless you enjoy carefully comparing numbers, the Octopus Deploy Dashboard is a bit of a pain when it comes to seeing what version is one what environment. What follows is a terribly hacky trick you can use to colourise the version numbers on the dashboard (a feature that I imagine will eventually become a graceful […]

Automation

Cannot Create a File When That File Already Exists

Posted on

This is one of the few hitches you may come across when deploying to IIS from Octopus Deploy: Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7) This error simply means something is already running on the port number that you are planning on using (and that probably means the default […]

Automation

Reconfigure Octopus Deploy on a Cloned VM

Posted on

If you clone a VM that has an existing Octopus Deploy tentacle running, you’ll find that you’ll have a problem with a thumbprint clash. All you need to do is generate a new thumprint using tentacle.exe. You can do this using a command window, or PowerShell… cd “c:\Program Files\Octopus Deploy\Tentacle” .\tentacle.exe new-certificate This command will […]

Automation

Octopus Deploy: Deployments are Code

Posted on

In the professional software development community, we use a disciplined approach to releasing our software. This is why many of us use tools such as Octopus Deploy to manage releases and deployments. Because this post is specifically about Octopus Deploy, I will assume that you understand why a code change should flow through a continuous […]