Skip to content

Commit 7c143dc

Browse files
Ensure that setup script fails fast.
1 parent af5f683 commit 7c143dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.s2i/action_hooks/setup

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
set -eo pipefail
4+
35
echo " -----> Running Django database table migrations."
46

57
python manage.py migrate --noinput

0 commit comments

Comments
 (0)