Skip to content

port-labs/ocean-sail

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

Ocean Sail GitHub Action - by getPort.io

Slack

Description

Runs the Ocean Sail command for a specific type of integration

The sail command is part of the Ocean framework and is used to run integrations.

Read more about the Ocean framework here

Inputs

name description required default
type

The type of the integration to run

true ""
identifier

The identifier of the integration to run

false ""
port_client_id

The Port client id

true ""
port_client_secret

The Port client secret

true ""
initialize_port_resources

Should ocean try to create the default blueprints, pages & integration config for the integration

false true
config

The configuration for the integration

false ""
platform

The platform to run the integration on

false linux/amd64
image

The image to run the integration from

false ""
version

The version of the integration to run

false latest

Outputs

name description
exit_code

The exit code of the Ocean Sail command

Available integration types

All available integration types are listed in the Ocean integrations library and can also be found in the data sources menu in the Port UI.

Example usage

- uses: port-labs/ocean-sail@v1
  with:
    type: 'jira'
    port_client_id: ${{ secrets.PORT_CLIENT_ID }}
    port_client_secret: ${{ secrets.PORT_CLIENT_SECRET }}
    config: |
      jira_host: ${{ secrets.JIRA_HOST }}
      atlassian_user_email: ${{ secrets.ATLASSIAN_USER_EMAIL }}
      atlassian_user_token: ${{ secrets.ATLASSIAN_USER_TOKEN }}