[TASK] Replace `php -S` with apache2 and php-fpm
This change uses a slighty modified httpd (apache2) image based on alpine along with a own php-fpm image to spawn up a webserver with php-fpm in two containers as a replacement for the `php -S` webserver used prior. Modification for the apache2 (httpd) image are minimal and gives us the ability to mount the project with the exact same path in the image as from outside. Further all required apache2 modules are loaded missing the official image. Due to moving away from the php webserver we now need to adjust some configurations: * Use port 80 instead of 8000 the for acceptance and acceptanceInstall tests webserver. * Use the acceptance test instance as DocumentRoot instead of the monorepo root. * Copy several `.htaccess` files to the acceptance test instance as we now have a real apache2. * Copy the favicon.ico to the test instance instead of the monorepo root. * Ensure that created frontend SiteConfiguration no longer uses the relative test inst...
Showing
- Build/Scripts/runTests.sh 28 additions, 9 deletionsBuild/Scripts/runTests.sh
- typo3/sysext/core/Tests/Acceptance/Application.suite.yml 3 additions, 3 deletionstypo3/sysext/core/Tests/Acceptance/Application.suite.yml
- typo3/sysext/core/Tests/Acceptance/Application/BackendUser/CompareUserCest.php 3 additions, 0 deletions...ts/Acceptance/Application/BackendUser/CompareUserCest.php
- typo3/sysext/core/Tests/Acceptance/Application/BackendUser/ListGroupCest.php 2 additions, 0 deletions...ests/Acceptance/Application/BackendUser/ListGroupCest.php
- typo3/sysext/core/Tests/Acceptance/Application/FormEngine/ElementsBasicInputTextTableCest.php 21 additions, 0 deletions...pplication/FormEngine/ElementsBasicInputTextTableCest.php
- typo3/sysext/core/Tests/Acceptance/Application/FormEngine/FalMetadataCest.php 2 additions, 2 deletions...sts/Acceptance/Application/FormEngine/FalMetadataCest.php
- typo3/sysext/core/Tests/Acceptance/Application/InstallTool/UpgradeCest.php 16 additions, 4 deletions.../Tests/Acceptance/Application/InstallTool/UpgradeCest.php
- typo3/sysext/core/Tests/Acceptance/Application/PageTree/PageTreeFilterCest.php 3 additions, 3 deletions...ts/Acceptance/Application/PageTree/PageTreeFilterCest.php
- typo3/sysext/core/Tests/Acceptance/Application/PageTree/SelectPagetreeWithKeyboardCest.php 2 additions, 0 deletions...e/Application/PageTree/SelectPagetreeWithKeyboardCest.php
- typo3/sysext/core/Tests/Acceptance/Application/Site/SiteModuleCest.php 12 additions, 1 deletion...core/Tests/Acceptance/Application/Site/SiteModuleCest.php
- typo3/sysext/core/Tests/Acceptance/Application/Template/TemplateCest.php 9 additions, 0 deletions...re/Tests/Acceptance/Application/Template/TemplateCest.php
- typo3/sysext/core/Tests/Acceptance/Install.suite.yml 2 additions, 2 deletionstypo3/sysext/core/Tests/Acceptance/Install.suite.yml
- typo3/sysext/core/Tests/Acceptance/Support/Extension/ApplicationEnvironment.php 44 additions, 6 deletions...s/Acceptance/Support/Extension/ApplicationEnvironment.php
- typo3/sysext/core/Tests/parameters.yml 2 additions, 1 deletiontypo3/sysext/core/Tests/parameters.yml
Please register or sign in to comment