Apolo
HomeConsoleGitHub
  • Apolo concepts
  • CLI Reference
  • Examples/Use Cases
  • Flow CLI
  • Actions Reference
  • Apolo Extras CLI
  • Python SDK
  • Workflows
  • Workflow syntax
    • Expression syntax
    • Live workflow syntax
      • Live contexts
    • Batch workflow syntax
      • Batch contexts
      • Batch workflow commands
    • Project configuration syntax
    • Actions syntax
      • Actions contexts
  • CLI reference
  • Expression functions
  • Mixins
  • Modules
Powered by GitBook
On this page
  • Workflow kinds
  • Live workflows
  • Batch workflows

Was this helpful?

Workflows

NextWorkflow syntax

Last updated 2 months ago

Was this helpful?

A workflow is a configurable automated process made up of one or more job, task, or action call. You must create a YAML file to define your workflow configuration.

Workflow kinds

There are two kinds of workflows: live and batch.

Live workflows

workflows are executed locally on the developer's machine. They contain a set of job definitions that spawn jobs in the Apolo cloud.

Here's an example of a typical job:

  1. Executing a Jupyter Notebook server in the cloud on a powerful node with a lot of memory and a high-performant GPU.

  2. Opening a browser with a Jupyter web client connected to this server.

Batch workflows

workflows serve for orchestration of a set of remote tasks that depend on each other. Batch workflows are executed by the main job that manages workflow graphs by spawning required jobs, waiting for their results, and starting dependent tasks when all of their requirements are satisfied. When possible, operations inside the batch runner will be re-ran on failing to ensure maximum batch stability.

Batch
Live