This is a repository that contains Liquibase projects (H2 Database) with Github Actions Workflow demonstrations for the following setups:
- Liquibase Command Line Interface (CLI).
- Liquibase Maven commands with a Springboot app
- Liquibase Gradle commands
- Liquibase running in Docker
- Liquibase running in a NodeJS Wrapper (Also please see Node.js wrapper for Liquibase)
- Fork this repository so you can have your own copy. https://guides.github.com/activities/forking/
- From the browser go to your github "githubActions-liquibase" repository, under the "workflow" section, go to the "Actions" tab and pick any workflow mentioned above.
- Click "run workflow".
All workflows are set to be running on a Ubuntu-latest VM Github hosted runner.
- You can adjust your workflow by going to the workflow script in githubActions-liquibase/.github/workflows/<workflow name>.yaml
- You can add more commands and flags to the workflow script
- For each of the projects, you will find its corresponding files in this repository.
For example:
- For Liquibase CLI commands - H2_project folder containing files like "liquibase.properties" and a changeLog file.
- For Gradle - Gradle_h2 folder containing files like "build.gradle".
- For Maven - SalesManager_h2_version folder containing files like "pom.xml" and "application.properties" springboot class java files.
- For Docker - Docker folder containing files like a changeLog file.
- For NodeJS - NodeJS folder containing files like index.js and other pipeline liquibase_<environment>.js files.