Skip to content
| Marketplace
Sign in
Azure DevOps>Azure Pipelines>Liquibase Fleet Migration
Liquibase Fleet Migration

Liquibase Fleet Migration

tulkas

|
1 install
| (0) | Free
Native Azure DevOps Classic Release task (not YAML) for Liquibase CE supporting Canary transactional testing, segmented fleet deployments, and TARGET_BRANCH stage variables.
Get it free

Liquibase Fleet Migration

Liquibase Fleet Migration is a native Azure DevOps Classic Release Pipelines task (Node20_1, Classic view only — not YAML pipelines) for Liquibase Community Edition that automates safe Canary validation and segmented fleet database deployments.

Required Pipeline Variable (Classic Release Stage Scope): Configure TARGET_BRANCH per Stage/Scope (e.g., develop, qa, main). The plugin uses TARGET_BRANCH exclusively to determine credential scope (DB_SVC_USER/DB_SVC_PASSWORD for main/master, <TARGET_ID>_USER/_PASSWORD for lower environments) and branch rollback policies.

Supported Database Engines

  • PostgreSQL (postgresql)
  • Microsoft SQL Server (mssql)
  • YugabyteDB (yugabytedb)

Key Capabilities

  • Preflight & Path Security (preflight-validator): Enforces exclusive YAML (.yaml/.yml) for databaseChangeLog (changelog-master.yaml) with recursive include (cycle detection) and includeAll (alphabetical order, hidden files ignored), validates targets.json (JSON), JDBC URLs, and confines all paths to System.DefaultWorkingDirectory (blocks Path Traversal, external symlinks, and embedded credentials).
  • Credential Resolution by Scope (credential-resolver): Resolves database credentials from protected Azure DevOps pipeline variables (DB_SVC_USER/DB_SVC_PASSWORD on main/master, 1:1 <TARGET_ID>_USER/_PASSWORD on lower branches) and masks secrets with tl.setSecret().
  • Canary Transactional Dry-Run (canary-transaction-tester): Tests pending SQL changesets inside a native transaction (BEGIN ... ROLLBACK) on the Canary database, validates non-transactional DML with EXPLAIN, and delegates non-transactional DDL safely to Canary Gate with a warning.
  • Canary Gate with Circuit Breaker (canary-deployer): Executes liquibase update on the Canary instance first; aborts immediately if Canary fails so remaining fleet databases remain untouched (SKIPPED).
  • Segmented Fleet Worker Pool (fleet-worker-pool): Deploys across remaining databases sequentially by segment (or automatic 10% / 30% / 60% waves) with bounded maxConcurrency, transient error retries (retry-executor), and idempotent redeploy support.
  • Deployment Summary (SummaryReporter): Generates deployment-summary.md and deployment-summary.json on every run and attaches the summary to the Azure DevOps pipeline view.

Task Parameters

Parameter Required Default Description
changelogMasterPath Yes changelog-master.yaml Path to the master Liquibase YAML changelog manifest (.yaml or .yml).
targetsCatalogPath Yes targets.json Path to the target database catalog JSON file.
targetBranch Yes $(TARGET_BRANCH) Target environment branch via pipeline variable (e.g. develop, qa, main) used to filter targets.json.
dbUsername Yes "" Database username via protected pipeline variable macro (e.g. $(DB_DEVELOP_01_USER) or $(DB_SVC_USER)).
dbPassword Yes "" Database password via protected pipeline variable macro (e.g. $(DB_DEVELOP_01_PASSWORD) or $(DB_SVC_PASSWORD)).
maxConcurrency No 5 Maximum parallel deployments per segment.
maxRetries No 5 Maximum retry attempts for transient infrastructure errors.
retryDelayMs No 3000 Delay in milliseconds between retry attempts.
commandTimeoutMs No 300000 Timeout in milliseconds per database command (0 disables timeout).
outputDirectory No .fleet-output Output directory for deployment-summary.md and .json.
disabledModules No "" Comma-separated optional module IDs to disable at runtime.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft