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.

The state of config file formats: XML vs. YAML vs. JSON vs. HCL

Learn about the different configuration file formats that are available and when you should use them.
Loading...

Documentation

Remove a project from team

An example script that removes a project from a team.

Export step templates

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

Delete targets by role

An example script to delete targets by role.

Get all steps using role

An example script to find all steps targeting a role.

Add an environment to step

An example script that scopes a step to an environment.

Find projects using library set

An example script that finds all projects using a specific library variable set.

Add an environment to a team

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

Bulk add a project to a list of tenants

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

Run a health check

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

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.

Create a project group

An example script that creates a project group.

Add library set to a project

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

Add or update project variable

An example script that adds or updates a project variable.

Create a channel

An example script that creates a channel.

Create a lifecycle

An example script that creates a lifecycle.

Find events by date

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

Find teams with role

An example script that finds all teams using a specific role.

Create an API Key

An example script that creates an API Key.

Create a certificate

An example script to add a certificate to the Octopus certificate library.

Replace existing certificate

An example script to replace an existing certificate in Octopus Deploy.

Delete project releases

An example script that deletes releases for a project.

Update variable set variable value

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

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

Variable filters

Octopus variable substitutions support *filters* to correctly encode values for a variety of target file types.

Find library variable set variables usage

An example script that loads variables from a library variable set and finds usages in project variables, and optionally deployment processes and runbooks.

Find variable usage

An example script that finds usages of a variable, searching in project variables, and optionally deployment processes and runbooks.

Clear sensitive variables

An example script that clears all sensitive variables.

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