Remove testing-related configurations and references
Remove WordPress test container, test database script, and related dashboard links [MAILPOET-6297]
This commit is contained in:
committed by
Rostislav Wolný
parent
f612c441f8
commit
e0ce65f4d9
@ -56,15 +56,6 @@
|
||||
<td>App for development</td>
|
||||
<td><a href="http://localhost:8002">http://localhost:8002</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>🚥</td>
|
||||
<td>
|
||||
<a href="http://localhost:8003">WordPress Tests</a>
|
||||
[<a href="http://localhost:8003/wp-admin/">wp-admin</a>]
|
||||
</td>
|
||||
<td>App for E2E tests</td>
|
||||
<td><a href="http://localhost:8003">http://localhost:8003</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>💾</td>
|
||||
<td>
|
||||
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
RUNMYSQL="mysql --user=root --password=${MYSQL_ROOT_PASSWORD}"
|
||||
|
||||
$RUNMYSQL <<EOSQL
|
||||
CREATE DATABASE ${MYSQL_TEST_DATABASE};
|
||||
GRANT ALL PRIVILEGES ON ${MYSQL_TEST_DATABASE}.* TO '${MYSQL_USER}'@'%';
|
||||
FLUSH PRIVILEGES;
|
||||
EOSQL
|
@ -9,11 +9,6 @@ services:
|
||||
- nfs-mailpoet:/var/www/html/wp-content/plugins/mailpoet
|
||||
- nfs-mailpoet-premium:/var/www/html/wp-content/plugins/mailpoet-premium
|
||||
|
||||
test_wordpress:
|
||||
volumes:
|
||||
- nfs-mailpoet:/var/www/html/wp-content/plugins/mailpoet
|
||||
- nfs-mailpoet-premium:/var/www/html/wp-content/plugins/mailpoet-premium
|
||||
|
||||
volumes:
|
||||
nfs-wordpress:
|
||||
driver: local
|
||||
|
@ -12,12 +12,10 @@ services:
|
||||
image: mysql:5.7
|
||||
volumes:
|
||||
- my-datavolume:/var/lib/mysql
|
||||
- ./dev/database/create_test_db.sh:/docker-entrypoint-initdb.d/10-create_test_db.sh
|
||||
command: --sql_mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION,ANSI,ONLY_FULL_GROUP_BY
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: somewordpress
|
||||
MYSQL_DATABASE: wordpress
|
||||
MYSQL_TEST_DATABASE: test_wordpress
|
||||
MYSQL_USER: wordpress
|
||||
MYSQL_PASSWORD: wordpress
|
||||
|
||||
|
Reference in New Issue
Block a user