mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Docker: add scripts/setup-sqlite.sh
This script purely removes any existing sqlite and is used before tests are run. This causes the test flow to run `aurweb.initdb` again (if ever). Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
f4406ccf5c
commit
3f60f5048e
2 changed files with 9 additions and 2 deletions
|
@ -304,7 +304,7 @@ services:
|
|||
environment:
|
||||
- AUR_CONFIG=conf/config.sqlite
|
||||
entrypoint: /docker/test-sqlite-entrypoint.sh
|
||||
command: /docker/scripts/run-pytests.sh clean
|
||||
command: setup-sqlite.sh run-pytests.sh clean
|
||||
stdin_open: true
|
||||
tty: true
|
||||
volumes:
|
||||
|
@ -331,7 +331,7 @@ services:
|
|||
- AUR_CONFIG=conf/config
|
||||
- DB_HOST=mariadb
|
||||
entrypoint: /docker/tests-entrypoint.sh
|
||||
command: /docker/scripts/run-tests.sh
|
||||
command: setup-sqlite.sh run-tests.sh
|
||||
stdin_open: true
|
||||
tty: true
|
||||
depends_on:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue