Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/main/resources/doc/io.kestra.plugin.sqlmesh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# How to use the SQLMesh plugin

Run SQLMesh CLI commands — plan, apply, test, and audit transformations — from Kestra flows inside a container.

## Common properties

`containerImage` defaults to `ghcr.io/kestra-io/sqlmesh`. `taskRunner` controls where the container runs — defaults to Docker.

## Tasks

`cli.SQLMeshCLI` runs one or more SQLMesh CLI commands set in `commands` (e.g. `sqlmesh plan --auto-apply`, `sqlmesh run`, `sqlmesh test`). Use `beforeCommands` for setup steps. Pass database credentials and other secrets as environment variables via `env` — store sensitive values in [secrets](https://kestra.io/docs/concepts/secret). Pass supporting config files via `inputFiles` or pull them from [namespace files](https://kestra.io/docs/concepts/namespace-files). Apply runner properties globally with [plugin defaults](https://kestra.io/docs/workflow-components/plugin-defaults).
Loading