Octopus Deploy Library

Be part of it!
Submit templates, report issues and send patches at the GitHub project site.

  • Image

    ApexSQL DevOps toolkit - Sync

    The step will compare the database from a deployment package with the target database to create a schema synchronization script deployment resource

  • Image

    ApexSQL DevOps toolkit - Sync data

    The step will compare database from a deployment package with target database to create data synchronization script deployment resource.

  • Image

    ASPState Database

    This uses the .Net framework aspnet_regsql tool to create an ASPState database using the credentials provided. If the username and password are both empty then it will attempt a trusted connection.

  • Image

    AWS RDS SQL Server - Backup to S3 Bucket

    Will create a database user using an existing server user if that database user does not exist without using SMO.

  • Image

    AWS RDS SQL Server - Restore from S3 Bucket

    Will restore a database backup from an S3 bucket

  • Image

    Azure Database - Export

    Exports a database to a bacpac

  • Image

    Azure Database - Import

    Imports a bacpac file into an existing database.

  • Image

    Azure Database - Import Create New DTU

    restores a bacpac to a new database

  • Image

    Azure Database - Import Create New vcpu

    Restores a bacpac to a new database

  • Image

    Azure DB - Execute SQL

    Runs a sql command against an Azure SQL Server database.

  • Image

    Backup Azure Database To Azure Storage

    Create a backup of SQL Azure Database and store it in Azure Blob Storage. Requires Azure PowerShell to be installed on Tentacle machine.

  • Image

    Cassandra - Create database if not exists

    This template creates a keyspace on a Cassandra server if it doesn't already exist. Note this template is written in Python and requires that pip is installed to function correctly.,

  • Image

    Flyway Database Migrations

    Step template to leverage Flyway to deploy migration scripts. This is the latest and greatest Flyway step template that leverages all the newest features of both Flyway and Octopus Deploy.

  • Image

    grate Database Migrations

    Database migrations using grate.

  • Image

    Liquibase - Apply changeset

    Deploy database updates using Liquibase. You can include Liquibase in the package itself or choose Download to download it during runtime. Use the Report only? option to output the SQL it will run and upload it as an Artifact. NOTE: Report only? does not work with NoSQL databases such as MongoDB

  • Image

    Liquibase - Run command

    Run Liqbuibase commands against a database. You can include Liquibase in the package itself or choose Download to download it during runtime.

  • Image

    MariaDB - Add Database User To Role

    Adds a database user to a role

  • Image

    MariaDB - Create Database If Not Exists

    Creates a MariaDB database if it doesn't already exist.

  • Image

    MariaDB - Create User If Not Exists

    Creates a new user account on a MariaDB database server

  • Image

    MongoDB - Add or update user roles

    Adds roles to an existing user in a MongoDB database.

  • Image

    MongoDB - Create Database if not exists

    Creates a new database on a MongoDB server with an initial collection.

  • Image

    MongoDB - Create User if not exists

    Creates a new database user on a MongoDB server.

  • Image

    MySQL - Add Database User To Role

    Adds a database user to a role

  • Image

    MySQL - Backup Database

    Backs up a MySQL database on a windows instance hosting MySQL.

  • Image

    MySQL - Create Database If Not Exists

    Creates a MySQL database if it doesn't already exist. This template is also compatible with MariaDB.

  • Image

    MySQL - Create User If Not Exists

    Creates a new user account on a MySQL database server

  • Image

    Octopus - Serialize Project to Terraform

    Serialize an Octopus project as a Terraform module and upload the resulting package to the Octopus built in feed.

  • Image

    Oracle - Add Database User To Role

    Adds database user to a role

  • Image

    Oracle - Create User If Not Exists

    Creates a new user account on a Oracle database server

  • Image

    Postgres - Add Database User To Role

    Adds database user to a role.

  • Image

    Postgres - Create Database If Not Exists

    Creates a Postgres database if it doesn't already exist.

  • Image

    Postgres - Execute SQL

    Creates a Postgres database if it doesn't already exist.

  • Image

    Postgres- Create User If Not Exists

    Creates a new user account on a Postgres database server.

  • Image

    RavenDB - Create Database

    Used to create a new database on a server

  • Image

    RavenDB - Delete Database

    Used to delete a database from a server, with a possibility to remove all the data from hard drive.

  • Image

    RavenDB - Smuggler - Move Data Between Databases

    To move data directly between two instances (or different databases in the same instance) using the between option introduced in Smuggler version 3.

  • Image

    ReadyRoll - Deploy Database Package

    Deploy database changes packaged with Redgate's ReadyRoll. Requires the Microsoft SQL Command Line Utilities 11 or later to be installed on the tentacle.

  • Image

    Redgate - Create Database Release

    Creates the resources (including the SQL update script) to deploy database changes using Redgate's SQL Change Automation, and exports them as Octopus artifacts so you can review the changes before deploying.

  • Image

    Redgate - Create Database Release (Worker Friendly)

    Creates the resources (including the SQL update script) to deploy database changes using Redgate's SQL Change Automation, and exports them as Octopus artifacts so you can review the changes before deploying.

  • Image

    Redgate - Create Oracle Release

    This step will use the Redgate Oracle Deployment Suite. It will create a delta sql script and report so you can review it prior to being deployed to the Oracle Server. This step will download a package containing the scripts generated by Redgate Source Control for Oracle.

  • Image

    Redgate - Deploy from Database

    Uses Redgate's SQL Change Automation to deploy a source schema to a SQL Server database without a review step.

  • Image

    Redgate - Deploy from Database Release

    Uses the deployment resources from the 'Redgate - Create Database Release' step to deploy the database changes using Redgate's SQL Change Automation.

  • Image

    Redgate - Deploy from Database Release (Worker Friendly)

    Uses the deployment resources from the 'Redgate - Create Database Release' step to deploy the database changes using Redgate's SQL Change Automation.

  • Image

    Redgate - Deploy from Package

    Uses Redgate's SQL Change Automation to deploy a package containing a database schema to a SQL Server database, without a review step.

  • Image

    Redgate - Deploy from Package (Worker Friendly)

    Uses Redgate's SQL Change Automation to deploy a package containing a database schema to a SQL Server database, without a review step.

  • Image

    Redgate - SQL Clone, Create Clone

    Creates a database clone with Redgate SQL Clone.

  • Image

    Redgate - SQL Clone, Create Image

    Creates a database image with Redgate SQL Clone.

  • Image

    Redgate - SQL Clone, Delete Clone

    Deletes a database clone with Redgate SQL Clone.

  • Image

    Redgate - SQL Clone, Delete Image

    Deletes a database image with Redgate SQL Clone.

  • Image

    RoundhousE Database Migrations

    Database migrations using RoundhousE.

  • Image

    Run Entity Framework migrations (Update-Database)

    Runs Update-Database to update the database to the latest Entity Framework migrations

  • Image

    Run Oracle SQLPlus Script

    This step will run a script file on an Oracle database using SQLPlus. This script assumes you have SQLPlus installed and a TNS entry for the database you wish to connect to.

  • Image

    SQL - Add Database User To Role

    Adds a database user to a role without using SMO. Please note: this is NOT for server roles or server users.

  • Image

    SQL - Backup Database

    Backup a MS SQL Server database to the file system.

  • Image

    SQL - Create Database If Not Exists

    Creates a database if the database does not exist without using SMO.

  • Image

    SQL - Create Database If Not Exists Enhanced

    Creates a database if the database does not exist without using SMO.

  • Image

    SQL - Create Database Login and User using SMO

    Requires SMO to be installed on the machine where this step will be run.

  • Image

    SQL - Create Database User If Not Exists

    Will create a database user using an existing server user if that database user does not exist without using SMO.

  • Image

    SQL - Create Database Using SMO (only if does not exists)

    This uses Sql Management Objects to create a database. If the username and password are both empty then it will attempt a trusted connection using integrated security.

  • Image

    SQL - Delete Database

    Deletes a database from the server without using SMO.

  • Image

    SQL - Drop Database Using SMO

    This uses Sql Management Objects to drop a database if it exists. If the username and password are both empty then it will attempt a trusted connection.

  • Image

    SQL - Execute Scripts Ordered

    Given a path to a folder containing SQL scripts, this module will execute each script on the database server and catalog provided. It will execute them in order based on their name.

  • Image

    SQL - Execute SQL Script Files

    Executes SQL script file(s) against the specified database using the SQLServer Powershell Module. This template includes an Authentication selector and supports SQL Authentication, Windows Authentication, and Azure Managed Identity.

  • Image

    SQL - Execute SQL Script with SQL or Windows Authentication

    Executes SQL script file(s) against the specified database using either SQL or Windows authentication. SQL Scripts can be hardcoded value or can be from an extracted NuGet package.

  • Image

    SQL - Fix Orphaned User

    Will fix an orphaned user in the database by re-associating the SID.

  • Image

    SQL - Query Octopus Database for Fragmentation

    This step template will run a fragmentation query on your Octopus database and report the results of the tables.

  • Image

    SQL - Restore Database

    Restore a MS SQL Server database to the file system.

  • Image

    SQL - Test Connection String

    Tests a SQL Server connection string by attempting to connect to the database.

  • Image

    SQLAzure - Restore a SQL Azure database from a .bacpac located in Azure Storage

    Given an existing .bacpac in Azure Storage this template restores a SQL Azure database.

  • Image

    SSIS deploy ISPAC With Environment

    A Template which will deploy any .ISPAC files from the published package step selected to the SQL Server catalog database.

  • Image

    Upgrade Octopus Server

    This step downloads the latest version of Octopus Server and upgrades an existing instance. Run this step on a tentacle that has privileges to install software and start/stop services on the target server.

The Octopus Deploy Library is a way for users of Octopus Deploy to share useful code.

Need help? Feel free to contact the team via our support forum.

Built with by the
team
Advertisement