Skip to main content
Version: Early Access

Spinnaker Container Plugin

The Spinnaker container plugin integrates Spinnaker's continuous delivery platform with Digital.ai Release. It allows you to trigger and monitor Spinnaker pipelines directly from your release workflows, enabling end-to-end orchestration across your delivery pipeline alongside other tools and processes managed in Release.

Prerequisites

Before you set up the Spinnaker plugin, ensure you have:

Set Up a Connection to the Spinnaker Server

To set up a connection to the Spinnaker server:

  1. From the navigation pane, select Configuration > Connections.
  2. Under HTTP Server Connections, next to Spinnaker: Server (Container), click Add button.
  3. Configure the connection with the following fields:
    FieldDescription
    Title*Symbolic name for the configuration
    URL*Spinnaker API URL
    UI URLSpinnaker UI URL
    Authentication method*Authentication method. Default is Basic
    UsernameLogin user ID on the server
    PasswordLogin user password on the server
    Capabilities*Route jobs to specific remote runners
  4. Click Test to verify the connection.
  5. Click Save to save the configuration.

Available Tasks

The Spinnaker plugin includes the following tasks:

Get Applications

Use the Get Applications task to retrieve a list of all applications available in Spinnaker.

To add a Get Applications task:

  1. In your release template, add a task of type Spinnaker: Get Applications.
  2. Configure the task with the options described in the following table.
  3. Save the task.

Input Properties

OptionDescription
Capabilities*Route jobs to particular types of remote runners based on capabilities
Server*Spinnaker server configuration

Output Properties

PropertyDescription
ApplicationsList of application names available in Spinnaker

Get Applications

Get Pipelines

Use the Get Pipelines task to retrieve a list of pipelines for a specific application in Spinnaker.

To add a Get Pipelines task:

  1. In your release template, add a task of type Spinnaker: Get Pipelines.
  2. Configure the task with the options described in the following table.
  3. Save the task.

Input Properties

OptionDescription
Capabilities*Route jobs to particular types of remote runners based on capabilities
Server*Spinnaker server configuration
Application*Application name

Output Properties

PropertyDescription
PipelinesList of pipeline names for the specified application

Get Pipelines

Get Pipeline Config

Use the Get Pipeline Config task to retrieve the configuration of a specific pipeline in Spinnaker.

To add a Get Pipeline Config task:

  1. In your release template, add a task of type Spinnaker: Get Pipeline Config.
  2. Configure the task with the options described in the following table.
  3. Save the task.

Input Properties

OptionDescription
Capabilities*Route jobs to particular types of remote runners based on capabilities
Server*Spinnaker server configuration
Application*Application name
Pipeline Name*Pipeline name or ID

Output Properties

PropertyDescription
ConfigurationPipeline configuration as JSON

Get Pipeline Config

Get Pipeline Execution Status

Use the Get Pipeline Execution Status task to retrieve the status of a specific pipeline execution in Spinnaker.

To add a Get Pipeline Execution Status task:

  1. In your release template, add a task of type Spinnaker: Get Pipeline Execution Status.
  2. Configure the task with the options described in the following table.
  3. Save the task.

Input Properties

OptionDescription
Capabilities*Route jobs to particular types of remote runners based on capabilities
Server*Spinnaker server configuration
Execution ID*Pipeline execution ID

Output Properties

PropertyDescription
Execution StatusThe current status of the pipeline execution

Get Pipeline Execution Status

Trigger Pipeline

Use the Trigger Pipeline task to trigger a Spinnaker pipeline for a specific application.

To add a Trigger Pipeline task:

  1. In your release template, add a task of type Spinnaker: Trigger Pipeline.
  2. Configure the task with the options described in the following table.
  3. Save the task.

Input Properties

OptionDescription
Capabilities*Route jobs to particular types of remote runners based on capabilities
Server*Spinnaker server configuration
Application*Application name
Pipeline Name*Pipeline name or ID
ParametersPipeline parameters as key-value pairs
Wait For CompletionWhen enabled, waits for the pipeline to complete before proceeding
Retry wait timeTimeout in seconds between status checks when waiting for completion. Default is 15
Max retriesMaximum number of retries for status checks when waiting for completion. Default is 3

Output Properties

PropertyDescription
Execution IDPipeline execution ID
Execution StatusExecution status of the triggered pipeline

Trigger Pipeline