Getting Started with Workflows

Creating Gradient Workflows

  1. Make sure you have the latest version of the Gradient CLI

  2. Create your first workflow using the Gradient CLI

gradient workflows create --name <MY_FIRST_WORKFLOW> --projectId <project-id>

Running your first workflow run

Create a workflow spec yaml file (View the full workflow yaml spec). You will also need:

workflow-id : Grab this by running gradient workflows list in the CLI, i.e., 7634c165-5034-4f49-95fa-005fc0e7970b

cluster-id : Currently workflows require that you have a Gradient Private Cluster. The cluster ID looks like this: cla7rjbzz

gradient workflows run \
--id <worklow-id> \
--clusterId <cluster-id> \
--path ./workflow.yaml