mirror of https://github.com/MISP/MISP
fix: gh action
parent
559a25c0a7
commit
f134b9c719
|
@ -44,15 +44,14 @@ jobs:
|
|||
- name: Install mysql client
|
||||
run: sudo apt-get install -y mysql-client
|
||||
|
||||
- name: Create database conf
|
||||
run: cat <<EOF >/etc/mysql/conf.d/misp.cnf
|
||||
[client]
|
||||
user=misp
|
||||
password=misp
|
||||
EOF
|
||||
- name: Write database conf file
|
||||
run: |
|
||||
echo "[client]" >> misp.cnf
|
||||
echo "user=misp" >> misp.cnf
|
||||
echo "password=misp" >> misp.cnf
|
||||
|
||||
- name: Populate database with initial schema
|
||||
run: mysql --defaults-file=/etc/mysql/conf.d/misp.cnf -h 127.0.0.1 misp3_test < docker/db/misp-2.4.169.sql
|
||||
run: mysql --defaults-file=misp.cnf -h 127.0.0.1 misp3_test < docker/db/misp-2.4.169.sql
|
||||
|
||||
- name: Install composer packages
|
||||
run: composer install --no-interaction --no-progress --no-suggest --ignore-platform-reqs
|
||||
|
|
Loading…
Reference in New Issue