Skip to content

Commit bb4f7e2

Browse files
robertericreevesjandroavjandroav
authored
Add Liquibase (#1803)
Co-authored-by: Alejandro Alvarez <avazquez@liquibase.com> Co-authored-by: jandroav <jandroav@icloud.com>
1 parent dd68db9 commit bb4f7e2

File tree

6 files changed

+27
-0
lines changed

6 files changed

+27
-0
lines changed

liquibase/README-short.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Liquibase is DevOps for your database.

liquibase/content.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# What is Liquibase?
2+
3+
Liquibase is DevOps for your database. More information about Liquibase can be found at [http://www.liquibase.org](http://www.liquibase.org).
4+
5+
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.
6+
7+
%%LOGO%%
8+
9+
# How to use this image
10+
11+
If you are executing Liquibase via the command line today, you are probably doing it like so:
12+
13+
```console
14+
$ liquibase update --driver=org.postgresql.Driver --url="jdbc:postgresql://<DATABASE_IP>:<DATABASE_PORT>/<DATABASE>" --changeLogFile=/liquibase/changelog/changelog.xml --username=<USERNAME> --password=<PASSWORD>
15+
```
16+
17+
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
18+
19+
```console
20+
$ docker run -v /home/user/changelog:/liquibase/changelog %%IMAGE%% --driver=org.postgresql.Driver --url="jdbc:postgresql://<DATABASE_IP>:<DATABASE_PORT>/<DATABASE>" --changeLogFile=/liquibase/changelog/changelog.xml --username=<USERNAME> --password=<PASSWORD>
21+
```
22+
23+
All Liquibase commands, such as `rollback`, `updateSQL`, and others, are available, as well.

liquibase/github-repo

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://github.com/liquibase/docker

liquibase/license.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
View [license information](https://github.com/liquibase/liquibase/blob/master/LICENSE.txt) for the Liquibase software contained in this image.

liquibase/logo.png

38.6 KB
Loading

liquibase/maintainer.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[Liquibase](%%GITHUB-REPO%%)

0 commit comments

Comments
 (0)