CloudBees action: Deploy with Spinnaker

1 minute read

Use this action to deploy your application with Spinnaker, an open-source, multi-cloud continuous delivery platform.

All CloudBees action repositories are listed at CloudBees, Inc. on GitHub.

Inputs

Table 1. Input details
Input name Data type Required? Description

url

String

Yes

The Spinnaker server URL.

token

String

Yes

The Spinnaker token.

app-name

String

Yes

The application name in Spinnaker.

pipeline-name

String

Required only if webhook-url not specified.

The Spinnaker pipeline name for the requested application.

webhook-url

String

Required only if pipeline-name not specified.

The Spinnaker webhook URL for the requested application.

parameters

JSON

No

Any additional parameters, formatted as JSON data in key/value pairs.

Usage example

In your YAML file, add:

      - name: Deploy with Spinnaker
        uses: cloudbees-io/spinnaker-run-pipeline@v1
        with:
          url: ${{ SPINNAKER_URL }}
          token: ${{ secrets.SPINNAKER_TOKEN }}
          app-name: my_application
          pipeline-name: new_deploy
          webhook-url: https://my-webhook-example.net
          parameters: '{}'