diff --git a/liquibase/README-short.txt b/liquibase/README-short.txt new file mode 100644 index 000000000000..fb08a9ad6f19 --- /dev/null +++ b/liquibase/README-short.txt @@ -0,0 +1 @@ +Liquibase is DevOps for your database. \ No newline at end of file diff --git a/liquibase/content.md b/liquibase/content.md new file mode 100644 index 000000000000..b0b21d2f1cb0 --- /dev/null +++ b/liquibase/content.md @@ -0,0 +1,23 @@ +# What is Liquibase? + +Liquibase is DevOps for your database. More information about Liquibase can be found at [http://www.liquibase.org](http://www.liquibase.org). + +Liquibase compares the contents of a Change Log to the database to determine which, if any, changes need to be applied to the database. For example, you can create tables, add columns, and many more with Liquibase. Liquibase is delivered via a Docker container to assist users that are leveraging Docker for their CI/CD solution. + +%%LOGO%% + +# How to use this image + +If you are executing Liquibase via the command line today, you are probably doing it like so: + +```console +$ liquibase update --driver=org.postgresql.Driver --url="jdbc:postgresql://:/" --changeLogFile=/liquibase/changelog/changelog.xml --username= --password= +``` + +The only change to use this docker image, is to use `docker run ...` and mount the folder containing your changelog.xml (or .yml or .json or .sql) to `/liquibase/changelog` in the Liquibase container + +```console +$ docker run -v /home/user/changelog:/liquibase/changelog %%IMAGE%% --driver=org.postgresql.Driver --url="jdbc:postgresql://:/" --changeLogFile=/liquibase/changelog/changelog.xml --username= --password= +``` + +All Liquibase commands, such as `rollback`, `updateSQL`, and others, are available, as well. diff --git a/liquibase/github-repo b/liquibase/github-repo new file mode 100644 index 000000000000..2d758d9c20e6 --- /dev/null +++ b/liquibase/github-repo @@ -0,0 +1 @@ +https://github.com/liquibase/docker diff --git a/liquibase/license.md b/liquibase/license.md new file mode 100644 index 000000000000..f80fe12052df --- /dev/null +++ b/liquibase/license.md @@ -0,0 +1 @@ +View [license information](https://github.com/liquibase/liquibase/blob/master/LICENSE.txt) for the Liquibase software contained in this image. diff --git a/liquibase/logo.png b/liquibase/logo.png new file mode 100644 index 000000000000..9f6d31750b24 Binary files /dev/null and b/liquibase/logo.png differ diff --git a/liquibase/maintainer.md b/liquibase/maintainer.md new file mode 100644 index 000000000000..43a5852a9422 --- /dev/null +++ b/liquibase/maintainer.md @@ -0,0 +1 @@ +[Liquibase](%%GITHUB-REPO%%)