treeherder/initialize_data.sh

11 строки
283 B
Bash
Executable File

#!/usr/bin/env bash
# Make non-zero exit codes & other errors fatal.
set -euo pipefail
echo '-----> Running Django migrations and loading reference data'
./manage.py migrate --noinput
./manage.py load_initial_data
echo '-----> Initialize SETA'
./manage.py initialize_seta
exec "$@"