[TASK] Run tests on new bamboo infrastructure 04/57604/11
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 15 Jul 2018 16:33:59 +0000 (18:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 15 Jul 2018 20:16:54 +0000 (22:16 +0200)
commitdfcd57185ce9b9996b3daa43aa24ec5484bba2e6
tree71943ab1b30e5b086737c3aa83c69f2348429732
parentfc4b8ca1fbf0190101d71f6a857de1f35c767841
[TASK] Run tests on new bamboo infrastructure

A new bamboo agent infrastructure has been deployed that
significantly changes how tests are executed: The agent
docker containers are now "stupid" and no longer bundle
specific php versions or daemons. Instead, they can run
own containers to start needed daemons for specific jobs
and execute needed php commands in ad-hoc containers that
provide the required php version.
Daemons needed for single jobs are defined in a
docker-compose.yml file provided by core itself.
This docker-compose.yml file can not be used directly for
local test execution since it has to fiddle quite a bit
with docker volume mounts, networks and executing users
that is specific to the bamboo environment.
However, another yml file can be added later to ease local
test execution in a similar way.
The patch rewrites the bamboo plan pre-merge and nightly
specs of core master to use the new infrastructure and brings
a couple of minor changes to tests that rely on a running
memcached or redis to retrieve the daemon host from an
environment variable.

Patch for core v8 - note the installer acceptance tests
are disabled for now since they need preparation patches
in typo3/testing-framework v8 flavor first.

Change-Id: I65777eeee6e28fca5b3d3d979498293cc91a77af
Resolves: #85563
Resolves: #36934
Releases: 8.7
Reviewed-on: https://review.typo3.org/57604
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Build/bamboo/src/main/java/core/AbstractCoreSpec.java
Build/bamboo/src/main/java/core/NightlySpec.java
Build/bamboo/src/main/java/core/PreMergeSpec.java
Build/testing-docker/bamboo/docker-compose.yml [new file with mode: 0644]
typo3/sysext/core/Tests/Functional/Database/DatabaseConnectionTest.php
typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/MemcachedBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php