[TASK] Run tests on new bamboo infrastructure 22/57522/50
authorChristian Kuhn <lolli@schwarzbu.ch>
Mon, 9 Jul 2018 22:41:03 +0000 (00:41 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 15 Jul 2018 15:06:40 +0000 (17:06 +0200)
commit18193657f61cea5eed05b1b1d8420c872f1311cf
tree4845a6b15fc6ed2388850cc2d7bb4e838a0101e4
parent0f811d40b71a5febc72762eb42bddc48160cc824
[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.
There will be separated patche for older core versions.

Change-Id: I65777eeee6e28fca5b3d3d979498293cc91a77af
Resolves: #85563
Resolves: #36934
Releases: master
Reviewed-on: https://review.typo3.org/57522
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
12 files changed:
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/Acceptance/Install.suite.yml
typo3/sysext/core/Tests/Acceptance/Install/Mysql/BlankPageCest.php
typo3/sysext/core/Tests/Acceptance/Install/Mysql/IntroductionPackageCest.php
typo3/sysext/core/Tests/Acceptance/Install/Postgresql/BlankPageCest.php
typo3/sysext/core/Tests/Acceptance/Install/Postgresql/IntroductionPackageCest.php
typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php
typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php
typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php