mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(gitlab-ci): prepare conf/config for setup
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
dbeebd3b01
commit
3a65e33abe
1 changed files with 3 additions and 0 deletions
|
@ -9,6 +9,7 @@ variables:
|
|||
AUR_CONFIG: conf/config # Default MySQL config setup in before_script.
|
||||
DB_HOST: localhost
|
||||
TEST_RECURSION_LIMIT: 10000
|
||||
CURRENT_DIR: "$(pwd)"
|
||||
|
||||
test:
|
||||
stage: test
|
||||
|
@ -22,6 +23,8 @@ test:
|
|||
- ./docker/mariadb-entrypoint.sh
|
||||
- (cd '/usr' && /usr/bin/mysqld_safe --datadir='/var/lib/mysql') &
|
||||
- 'until : > /dev/tcp/127.0.0.1/3306; do sleep 1s; done'
|
||||
- cp -v conf/config.dev conf/config
|
||||
- sed -i "s;YOUR_AUR_ROOT;$(pwd);g" conf/config
|
||||
- ./docker/test-mysql-entrypoint.sh # Create mysql AUR_CONFIG.
|
||||
- make -C po all install
|
||||
- make -C test clean
|
||||
|
|
Loading…
Add table
Reference in a new issue