Skip to main content
Version: Early Access

Argo Workflows Plugin

The Argo Workflows plugin allows you to orchestrate complex tasks and workflows as containerized jobs.

important

You must set up a connection to the Argo Workflows server before adding Argo Workflows tasks. For more information, see Set up Connection to Argo Workflows Server.

note

In the release flow editor, Container tasks have a blue border.

Argo Workflows plugin provides the following features:

  • Create Workflow (Container)
  • Delete Workflow (Container)
  • Get Workflow (Container)
  • List Workflows (Container)
  • Resubmit Workflow (Container)
  • Resume Workflow (Container)
  • Retry Workflow (Container)
  • Stop Workflow (Container)
  • Suspend Workflow (Container)
  • Terminate Workflow (Container)

Prerequisites

For Argo Workflow integration, you need the following:

  • Argo Workflow server running and accessible via HTTP(s)
  • Digital.ai Release Runner setup to run the container tasks

Set up Connection to Argo Workflow Server

  1. From the navigation pane, under CONFIGURATION, click Connections.
  2. Under HTTP Server connections, next to Argo Workflows API Server (Container), click add button. The New Argo Workflows API Server (Container) page opens.
  3. In the Title field, enter a name for the configuration.
  4. In the URL field, enter the server URL.
  5. If you want to connect to the server, using HTTP, select the Use HTTP checkbox.
  6. If you want to connect to the server, without validating the TLS certificate, select the Insecure checkbox.
  7. In the Bearer Token field, enter the bearer token.
  8. To test the connection, click Test.
  9. To save the configuration, click Save.

Create Argo Workflow server

Create Workflow (Container)

The Create Workflow (Container) task allows you to create complex workflows based on your requirements.

  1. In the release flow tab of a Release template, add a task of type Argo Workflows > Create Workflow (Container).
  2. Click the added task to open it.
  3. In the Capabilities field, enter a value that matches the capability set for your Runner. This will help you to route jobs to that particular Runner.
  4. In the Server field, select the configured Argo Workflow server.
  5. In the Namespace field, enter the name of the Kubernetes namespace.
  6. In the Workflow Format drop-down list, select the format of your workflow.
  • yaml
  • json
  1. In the Workflow field, you can copy the workflow in its specific format.

Create Workflow (Container)

Delete Workflow (Container)

The Delete Workflow (Container) task allows you to effortlessly remove obsolete or redundant workflows.

  1. In the release flow tab of a Release template, add a task of type Argo Workflows > Delete Workflow (Container).
  2. Click the added task to open it.
  3. In the Capabilities field, enter a value that matches the capability set for your Runner. This will help you to route jobs to that particular Runner.
  4. In the Server field, select the configured Argo Workflow server.
  5. In the Namespace field, enter the name of the Kubernetes namespace.
  6. In the Workflow Name drop-down list, enter the name of the workflow.
  7. In the Force toggle, select the toggle if you want to forcefully delete the workflow.

Delete Workflow (Container)

Get Workflow (Container)

This task gets an Argo workflow. It is used to retrieve the details of a specific workflow for monitoring or debugging purposes.

Get Workflow (Container)

List Workflows (Container)

This task lists all the Argo workflows. It is used to provide an overview of all existing workflows for better management and visibility.

List Workflow (Container)

Resubmit Workflow (Container)

This task resubmits an Argo workflow. It is used to restart a workflow from the beginning, often after resolving issues that caused a failure.

Resubmit Workflow (Container)

Resume Workflow (Container)

This task resumes an Argo workflow. It is used to continue a previously paused workflow, ensuring it completes its execution.

Resume Workflow (Container)

Retry Workflow (Container)

This task retries an Argo workflow. It is used to attempt executing a failed workflow again, often to handle transient errors.

Retry Workflow (Container)

Stop Workflow (Container)

This task stops an Argo workflow. It is used to halt a running workflow, usually for troubleshooting or to prevent unnecessary resource usage.

Stop Workflow (Container)

Suspend Workflow (Container)

This task suspends an Argo workflow. It is used to temporarily pause a workflow, allowing for intervention or resource reallocation.

Suspend Workflow (Container)

Terminate Workflow (Container)

This task terminates an Argo workflow. It is used to forcefully end a workflow, typically when it is no longer needed or is causing issues.

Terminate Workflow (Container)