Public Repository

Last pushed: 2 years ago
Short Description
Liquibase script tester
Full Description

Go on your liquibase project and make sure you have a file called "changelog-master.xml" in the root of this folder.

Then run this :

docker run -e MYSQL_RANDOM_ROOT_PASSWORD=true -v ${PWD}:/changelogs:ro saagie/liquibase-test

This image was made from mysql:5.7.11, then install liquibase, java and the mysql-connector. It starts a mysqld, then create an empty database, then play liquibase on it (with the updateTestingRollback mode of liquibase : update all, rollback all, then update all again)

Docker Pull Command