Skip to content

Overview

Reference documentation for creating workflows and quality gates.

Workflow syntax

The workflow file is written in YAML. In that file, you can use expression syntax to evaluate contextual information, literals, operators, and functions. Contextual information includes workflow, resources, and environment variables. When you use run in a workflow step to run shell commands, you can use specific workflow command syntax to set environment variables, set output parameters for subsequent steps, and set error or debug messages.

Environment variables

The OpenTestFactory orchestrator sets default environment variables for each OpenTestFactory workflow run. You can also set custom environment variables in your workflow file.

Quality gate syntax

The OpenTestFactory includes a quality gate service. It applies quality gate definitions (rule sets) to evaluate workflow execution results. These definitions, written in YAML, use workflow expression syntax with test context to set rules scopes.