Commit 1ec837c2 authored by Marc Egger's avatar Marc Egger
Browse files

Refs #12159 fix selenium tests

parent 20b2cc11
Pipeline #5211 failed with stages
in 3 minutes and 16 seconds
......@@ -108,16 +108,17 @@ fi
# QFQ config
echo "
<?php
return [
'DB_1_USER' => '${MYSQL_USER}',
'DB_1_SERVER' => 'db',
'DB_1_PASSWORD' => '${MYSQL_PASSWORD}',
'DB_1_NAME' => '${QFQ_DATABASE}',
];" > config.qfq.php
docker cp config.qfq.php ${T3_CONTAINER}:/var/www/html/typo3conf/config.qfq.php
rm config.qfq.php
docker exec ${T3_CONTAINER} chown www-data:www-data /var/www/html/typo3conf/config.qfq.php
{
'DB_1_USER': '${MYSQL_USER}',
'DB_1_SERVER': 'db',
'DB_1_PASSWORD': '${MYSQL_PASSWORD}',
'DB_1_NAME': '${QFQ_DATABASE}',
'baseUrl': 'http://typo3container:80'
}" > qfq.json
docker exec ${T3_CONTAINER} mkdir -p "/var/www/html/fileadmin/protected/qfqProject/conf"
docker cp qfq.json ${T3_CONTAINER}:/var/www/html/fileadmin/protected/qfqProject/conf/qfq.json
rm qfq.json
docker exec ${T3_CONTAINER} chown www-data:www-data /var/www/html/fileadmin/protected/qfqProject/conf/qfq.json
# Typo3 config
docker exec ${T3_CONTAINER} sed -i -e "s/<MYSQL_USER>/${MYSQL_USER}/g" /var/www/html/typo3conf/LocalConfiguration.php
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment