[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>
Showing
- Build/bamboo/src/main/java/core/AbstractCoreSpec.java 563 additions, 251 deletionsBuild/bamboo/src/main/java/core/AbstractCoreSpec.java
- Build/bamboo/src/main/java/core/NightlySpec.java 36 additions, 36 deletionsBuild/bamboo/src/main/java/core/NightlySpec.java
- Build/bamboo/src/main/java/core/PreMergeSpec.java 44 additions, 31 deletionsBuild/bamboo/src/main/java/core/PreMergeSpec.java
- Build/testing-docker/bamboo/docker-compose.yml 154 additions, 0 deletionsBuild/testing-docker/bamboo/docker-compose.yml
- typo3/sysext/core/Tests/Acceptance/Install.suite.yml 1 addition, 1 deletiontypo3/sysext/core/Tests/Acceptance/Install.suite.yml
- typo3/sysext/core/Tests/Acceptance/Install/Mysql/BlankPageCest.php 1 addition, 0 deletions...ext/core/Tests/Acceptance/Install/Mysql/BlankPageCest.php
- typo3/sysext/core/Tests/Acceptance/Install/Mysql/IntroductionPackageCest.php 1 addition, 0 deletions...ests/Acceptance/Install/Mysql/IntroductionPackageCest.php
- typo3/sysext/core/Tests/Acceptance/Install/Postgresql/BlankPageCest.php 2 additions, 1 deletion...ore/Tests/Acceptance/Install/Postgresql/BlankPageCest.php
- typo3/sysext/core/Tests/Acceptance/Install/Postgresql/IntroductionPackageCest.php 2 additions, 1 deletion...Acceptance/Install/Postgresql/IntroductionPackageCest.php
- typo3/sysext/core/Tests/Functional/Cache/Backend/MemcachedBackendTest.php 37 additions, 39 deletions...e/Tests/Functional/Cache/Backend/MemcachedBackendTest.php
- typo3/sysext/core/Tests/Functional/Session/Backend/RedisSessionBackendTest.php 15 additions, 9 deletions...ts/Functional/Session/Backend/RedisSessionBackendTest.php
- typo3/sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php 22 additions, 10 deletions...sysext/core/Tests/Unit/Cache/Backend/RedisBackendTest.php
Please register or sign in to comment