diff --git a/dev/build/celery-start.sh b/dev/build/celery-start.sh index d0dda4b237..f6284e84db 100644 --- a/dev/build/celery-start.sh +++ b/dev/build/celery-start.sh @@ -1,14 +1,14 @@ -#!/bin/bash +#!/bin/bash -e # # Run a celery worker # echo "Running Datatracker checks..." ./ietf/manage.py check -if ! ietf/manage.py migrate --skip-checks --check ; then +if ! ietf/manage.py migrate --check ; then echo "Unapplied migrations found, waiting to start..." sleep 5 - while ! ietf/manage.py migrate --skip-checks --check ; do + while ! ietf/manage.py migrate --check ; do echo "... still waiting for migrations..." sleep 5 done diff --git a/dev/build/datatracker-start.sh b/dev/build/datatracker-start.sh index 85017dc548..5eb99c4745 100644 --- a/dev/build/datatracker-start.sh +++ b/dev/build/datatracker-start.sh @@ -1,12 +1,12 @@ -#!/bin/bash +#!/bin/bash -e echo "Running Datatracker checks..." ./ietf/manage.py check -if ! ietf/manage.py migrate --skip-checks --check ; then +if ! ietf/manage.py migrate --check ; then echo "Unapplied migrations found, waiting to start..." sleep 5 - while ! ietf/manage.py migrate --skip-checks --check ; do + while ! ietf/manage.py migrate --check ; do echo "... still waiting for migrations..." sleep 5 done diff --git a/dev/build/migration-start.sh b/dev/build/migration-start.sh index d3505f3b20..211638aec6 100644 --- a/dev/build/migration-start.sh +++ b/dev/build/migration-start.sh @@ -1,6 +1,6 @@ -#!/bin/bash +#!/bin/bash -e echo "Running Datatracker migrations..." -./ietf/manage.py migrate --skip-checks --settings=settings_local +./ietf/manage.py migrate --settings=settings_local echo "Done!"