Skip to content

Commit

Permalink
Fix tests w/ changes to dbsetup
Browse files Browse the repository at this point in the history
  • Loading branch information
antmoth committed Mar 27, 2024
1 parent 0069d58 commit 8bd0f31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions db/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

directory=$(dirname "$0")

while getopts u:p:h:P:a:r:d option
while getopts u:p:h:P:arb option
do
case "${option}"
in
Expand All @@ -12,7 +12,7 @@ do
P)P=${OPTARG};;
a)all="true";;
r)root="false";;
d)debug="true";;
b)debug="true";;
esac
done

Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ services:
command:
- /bin/bash
- "-c"
- "/sql/setup.sh -u lauth -p lauth -h db.lauth.local lauth_development && \
/sql/setup.sh -u lauth -p lauth -h db.lauth.local lauth_test && \
/sql/setup.sh -u lauth -p lauth -h db.lauth.local -a lauth_demo"
- "/sql/setup.sh -u lauth -p lauth -h db.lauth.local -b lauth_development && \
/sql/setup.sh -u lauth -p lauth -h db.lauth.local -b lauth_test && \
/sql/setup.sh -u lauth -p lauth -h db.lauth.local -a -b lauth_demo"

volumes:
mariadb_data:
Expand Down

0 comments on commit 8bd0f31

Please sign in to comment.