I submitted a pull request for a modified version of this that was accepted into the template directory in Octopus Deploy. You should use that instead!
This repository contains PowerShell modules and step templates for Octopus Deploy. Importing into Octopus Deploy will allow you to then define steps that work with SSDT packages.
With the modules and step it is possible to:
- Create deploy reports
- Create the deployment sql script
- Deploy a dacpac to a target database
- Create a new script module in the library of your OctopusDeploy server
- Paste the module code from Octopus.PS.psm1 into the module Body.
- Under settings give the module a name and description
- Under the step templates libray, import a new template
- Use the JSON in SSDT DacPac Command
- In your project create a new SSDT DacPac Command
- Define the values for the parameters
- Ensure you add the module to your project process