Use this file to discover all available pages before exploring further.
The zenml pipeline command group provides comprehensive pipeline management capabilities, from registration and execution to builds and long-running deployments.
# Basic runzenml pipeline run my_module.training_pipeline# Run with configurationzenml pipeline run my_module.training_pipeline --config config.yaml# Run on specific stackzenml pipeline run my_module.training_pipeline --stack production# Run with specific buildzenml pipeline run my_module.training_pipeline --build build_12345# Force new buildzenml pipeline run my_module.training_pipeline --prevent-build-reuse
Build Docker images for a pipeline without running it:
zenml pipeline build <SOURCE> [OPTIONS]
Options:
Option
Type
Description
--config, -c
File Path
Path to configuration file for the build
--stack, -s
String
Name or ID of stack to build for
--output, -o
File Path
Output path to save build information
Examples:
# Build for active stackzenml pipeline build my_module.training_pipeline# Build for specific stackzenml pipeline build my_module.training_pipeline --stack production# Build and save metadatazenml pipeline build my_module.training_pipeline --output build_info.yaml# Use saved build laterzenml pipeline run my_module.training_pipeline --build build_info.yaml
Filter by status (running, completed, failed, cached)
--user
Filter by user name or ID
--created
Filter by creation date
--sort_by
Sort results (e.g., “desc:created”)
--columns
Select columns to display
--output, -o
Output format (table, json, yaml, csv, tsv)
Examples:
# List all runszenml pipeline runs list# List runs for specific pipelinezenml pipeline runs list --pipeline training_pipeline# List failed runszenml pipeline runs list --status failed# List recent runszenml pipeline runs list --sort_by "desc:created" --limit 10# List with custom columnszenml pipeline runs list --columns id,name,status,created# Export to CSVzenml pipeline runs list --output csv > runs.csv# Filter by date rangezenml pipeline runs list --created "gte:2024-01-01 00:00:00"# Multiple filterszenml pipeline runs list --pipeline training_pipeline --status completed --created "gte:2024-01-01 00:00:00"
# List all buildszenml pipeline builds list# Filter by pipelinezenml pipeline builds list --pipeline training_pipeline# Filter by stackzenml pipeline builds list --stack production# Sort by creation datezenml pipeline builds list --sort_by "desc:created"
# List all pipelineszenml pipeline list# Filter by namezenml pipeline list --name "contains:training"# Sort by namezenml pipeline list --sort_by "asc:name"# Export to JSONzenml pipeline list --output json
# Run with configzenml pipeline run my_module.training_pipeline --config config.yaml# Build with configzenml pipeline build my_module.training_pipeline --config config.yaml# Deploy with configzenml pipeline deploy my_module.training_pipeline --config deploy_config.yaml
# Build oncezenml pipeline build my_module.training_pipeline --output build.yaml# Run multiple times with same buildzenml pipeline run my_module.training_pipeline --build build.yamlzenml pipeline run my_module.training_pipeline --build build.yaml --stack staging