|
6 | 6 | run: |
|
7 | 7 | set -x
|
8 | 8 |
|
9 |
| - service postgresql start |
10 |
| - service slapd start |
11 |
| - mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" |
12 |
| - # Ensure local_infile tests can run. |
13 |
| - mysql -uroot -proot -e "SET GLOBAL local_infile = true" |
14 |
| - -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';" |
15 |
| - -u postgres psql -c "CREATE DATABASE test;" |
16 |
| - docker exec sql1 /opt/mssql-tools/bin/sqlcmd -S 127.0.0.1 -U SA -P "<YourStrong@Passw0rd>" -Q "create login pdo_test with password='password', check_policy=off; create user pdo_test for login pdo_test; grant alter, control to pdo_test;" |
17 |
| - locale-gen de_DE |
| 9 | + if [ -f /etc/alpine-release ]; then |
| 10 | + echo "TODO SETUP" |
| 11 | + else |
| 12 | + service postgresql start |
| 13 | + service slapd start |
| 14 | + mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" |
| 15 | + # Ensure local_infile tests can run. |
| 16 | + mysql -uroot -proot -e "SET GLOBAL local_infile = true" |
| 17 | + -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';" |
| 18 | + -u postgres psql -c "CREATE DATABASE test;" |
| 19 | + docker exec sql1 /opt/mssql-tools/bin/sqlcmd -S 127.0.0.1 -U SA -P "<YourStrong@Passw0rd>" -Q "create login pdo_test with password='password', check_policy=off; create user pdo_test for login pdo_test; grant alter, control to pdo_test;" |
| 20 | + locale-gen de_DE |
18 | 21 |
|
19 |
| - ./.github/scripts/setup-slapd.sh |
| 22 | + ./.github/scripts/setup-slapd.sh |
20 | 23 |
|
21 |
| - cp ext/snmp/tests/snmpd.conf /etc/snmp |
22 |
| - cp ext/snmp/tests/bigtest /etc/snmp |
23 |
| - service snmpd restart |
| 24 | + cp ext/snmp/tests/snmpd.conf /etc/snmp |
| 25 | + cp ext/snmp/tests/bigtest /etc/snmp |
| 26 | + service snmpd restart |
24 | 27 |
|
25 |
| - groupadd -g 5000 vmail |
26 |
| - useradd -m -d /var/vmail -s /bin/false -u 5000 -g vmail vmail |
27 |
| - cp ext/imap/tests/setup/dovecot.conf /etc/dovecot/dovecot.conf |
28 |
| - cp ext/imap/tests/setup/dovecotpass /etc/dovecot/dovecotpass |
29 |
| - service dovecot restart |
| 28 | + groupadd -g 5000 vmail |
| 29 | + useradd -m -d /var/vmail -s /bin/false -u 5000 -g vmail vmail |
| 30 | + cp ext/imap/tests/setup/dovecot.conf /etc/dovecot/dovecot.conf |
| 31 | + cp ext/imap/tests/setup/dovecotpass /etc/dovecot/dovecotpass |
| 32 | + service dovecot restart |
| 33 | + fi |
0 commit comments