
Liquibase
CertifiedTasks that run Liquibase change management commands.
Provide database connection details and changelog files to run updates, diffs, rollbacks, validations, or status checks via Liquibase CLI options, returning output for deployment pipelines.
Liquibase
Tasks that run Liquibase change management commands.
Provide database connection details and changelog files to run updates, diffs, rollbacks, validations, or status checks via Liquibase CLI options, returning output for deployment pipelines.
tasks
How to use the Liquibase plugin
Run Liquibase database migrations and schema diffs from Kestra flows inside a container.
Common properties
containerImage defaults to ghcr.io/kestra-io/liquibase: latest for CLI and ghcr.io/kestra-io/liquibase for Diff. taskRunner controls where the container runs — defaults to Docker.
Tasks
CLI runs arbitrary Liquibase CLI commands (e.g. liquibase update, liquibase rollback). Pass changelog files and properties via inputFiles or pull them from namespace files. Use beforeCommands for setup steps.
Diff compares two database schemas — set url (target JDBC URL) and referenceUrl (reference JDBC URL), both required. Optionally set username/password and referenceUsername/referencePassword for each connection. Set changelogFile to write the diff output to a file (XML, SQL, or JSON format). Store secrets in secrets and apply connection properties globally with plugin defaults.