Skip to content
Snippets Groups Projects
Commit 3c6148f1 authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Merge branch '549-docker-startup-script-continues-after-failed-migrations' into 'master'

Resolve "[Docker] startup script continues after failed migrations"

Closes #549

See merge request !795
parents a1ca69de b731fec3
No related branches found
No related tags found
Loading
Pipeline #42845 canceled
......@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog`_,
and this project adheres to `Semantic Versioning`_.
Unreleased
----------
Fixed
~~~~~
* [Docker] Stop initialisation if migrations fail
`2.2`_ - 2021-11-29
-------------------
......
......@@ -48,8 +48,7 @@ wait_database() {
prepare_database() {
# Migrate database; should only be run in app container or job
aleksis-admin migrate
aleksis-admin createinitialrevisions
aleksis-admin migrate && aleksis-admin createinitialrevisions
}
# Wait for database to be reachable under all conditions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment