- Concept
- Version · 6.0
- Deliver
Set up the automation prerequisites
Last updated: September 29, 2026
Both the GitHub Actions and the Azure DevOps examples in this guide run from the same sample repository and the same three databases. Set those up once, before you configure either pipeline.
Set up the repository
A GitHub repository is required for both the GitHub Actions and the Azure DevOps Pipeline examples.
Create a new repository, or select an existing one for the pipeline, with
developas the default branch.Clone the example repository into your development environment.
The sample repository contains both the GitHub and the Azure pipelines, so you do not need a different repository per tool.
Configure branches
This example uses the Gitflow branching strategy:
The
mainbranch is created by default.Create the remaining long-living branch,
develop, frommain.Create the
qabranch fromdevelop.
If your organization uses trunk-based development instead, the pipelines still work, but the triggers in the sample workflows are written against these branch names and will need changing. See Choose a branching strategy.
Set up the databases
The sample automations use three PostgreSQL database environments: DEV, QA, and PROD.
You can create PostgreSQL instances yourself, or use the script in the sample repository to spin up three Docker PostgreSQL databases. Once initialized, the three instances have the following connection details:
Environment | Liquibase environment variable | Value |
|---|---|---|
DEV |
|
|
DEV |
|
|
DEV |
|
|
QA |
|
|
QA |
|
|
QA |
|
|
PROD |
|
|
PROD |
|
|
PROD |
|
|
The three environments differ only by port. These are throwaway sandbox credentials, published here on purpose so the sample runs without setup. Nothing in this table belongs in a real environment.
Test your connection to each of them before configuring a pipeline. See How do I connect to my database?. A connection problem found here takes a minute; the same problem found inside a pipeline surfaces as a confusing build failure.