Search

Blog posts

Outage on octopus.com - report and learnings

Public incident report and our learnings about the octopus.com DNS disruption from January 25 – 26, 2023.

Calculating DORA metrics with Runbooks

Learn how to measure the performance of your deployments using the DORA metrics and a custom runbook.
Loading...

Documentation

Environment permissions report

An example script that will provide a report of which users have access to a specific permission for a specific environment.

Find unused targets

An example script the will find provide a list of targets being unused that might cause your target count to be inflated.

Find target usage

An example script that will loop through all the steps in the deployment process and runbooks and determine if a target is being used

Create and deploy a release

Example scripts to create and deploy a release.

List users with editing roles

An example script to list all users that have any user roles (permissions) containing the words Edit, Create or Delete.

Delete project releases

An example script that deletes releases for a project.

Find events by date

An example script that finds events by date in Octopus using the REST API and Octopus.Client.

Clear sensitive variables

An example script that clears all sensitive variables.

Create a release with specific version

An example script that creates a release with a specific version number.

Bulk add a project to a list of tenants

An example script that will add a project to a lot of tenants at once.

Delete projects with no process

An example script that deletes projects that have no deployment process in Octopus using the REST API and Octopus.Client.

Remove a project from team

An example script that removes a project from a team.

Create a lifecycle

An example script that creates a lifecycle.

Update variable set variable value

An example script that loads variables from a variable set, looks for a match and replaces the variable value.

Add library set to a project

An example script that adds a library variable set to a project.

Run a health check

An example script that creates and runs a health check task.

Add an environment to step

An example script that scopes a step to an environment.

Cancel queued deployments

An example script to cancel queued deployments.

Create a project

An example script that creates a project.

Export step templates

An example script that exports all step templates in a Space to files.

Add an environment to a team

An example script that adds an environment to a team user role.

Create a tag set

An example script that creates a Tenant tag set.

Download Runbook Artifact

An example script to download a runbook artifact to a specified location.

Download Deployment Artifact

An example script to download a deployment artifact to a specified location.

Find variable value usage

An example script that finds all variables with a specific value in project variables and library variable sets.

Deploy existing release with prompted variables

An example script to deploy an existing release with prompted variables.

Add a Space with environments

An example script to create a new space and populate it with some default environments.

Add or update project variable

An example script that adds or updates a project variable.

Can't find what you are looking for? You can also search our support forum.