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

Using PowerShell to Create Windows Users

Posted on

Due to replication needing a few Windows users scattered about the place, I needed to write a PowerShell script to create the users as part of the Octopus Deploy automated deployment. For completeness, I have added some users to this script, but you can use “Sensitive” variables in Octopus Deploy to hide away important information […]

Automation

Run Custom Database Scripts With PowerShell and Octopus Deploy

Posted on

We are using model-based deployments using Visual Studio database projects and Octopus Deploy. One of the things you can’t do when performing DacPac deployments is include a pre-deployment scrip to disable replication prior to running the deployment (although you can re-enable it in a post-deployment script). The solution is to change the “disable replication” script […]