How to bring DevOps to the database with GitLab and Liquibase
Jan 5, 2022Tsvi Zandany

Summary
This post introduces a tutorial on integrating Liquibase with GitLab CI/CD to manage database changes. It details the setup of a GitLab project with Liquibase, including configuring CI/CD variables and a self-managed GitLab Runner. The tutorial demonstrates making database changes via a SQL changeset, merging them to trigger a pipeline, and showcases Liquibase commands like `checks run`, `update`, `history`, `diff`, and `snapshot` within the pipeline jobs. It also highlights the use of Liquibase Hub for reporting.
More from the Database Migration Debugging and Cross-Database Compatibility trail
- Seamlessly migrate from Jira to GitLab with Jira2Lab at scale
- We are upgrading the operating system on our Postgres database clusters
- Decomposing the GitLab backend database, Part 1: Designing and planning
- GitLab database decomposition: Final migration and results
- Decomposing the GitLab backend database, Part 3: Challenges and surprises