Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
typo3
CI
testing-infrastructure
Commits
02221179
Commit
02221179
authored
Jul 15, 2018
by
Christian Kuhn
Browse files
[TASK] Update README.md
parent
b594c63d
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
02221179
...
...
@@ -31,46 +31,26 @@ correct use within Docker containers. It is Ubuntu, plus:
*
Modifications for Docker-friendliness.
*
Administration tools that are especially useful in the context of Docker.
*
Mechanisms for easily running multiple processes, without violating the Docker philosophy.
baseimage is a fork from
[
passenger-docker
](
https://github.com/phusion/passenger-docker
)
.
### phpXY
Images on top of baseimage. The images
are "all-
in
-
one
" container that contain both PHP as well as
various daemons and databases at the same time
.
Images on top of baseimage. The images
contain php
in
one
version per container, nodejs and
some other packages like graphicsmagick
.
*
Single images per PHP version. There is an image coming with PHP 7.0 and an image for PHP 7.1 and so on.
*
The images package and start a mariaDB, a PostgreSQL, and have sqlite3 installed.
*
Various other services like a memcache and a redis daemon.
*
A chrome browser, used "headless" to execute acceptance tests.
Users can start these images to execute unit, functional, acceptance and JS tests in an environment that is identical
to the core testing infrastructure.
Users can use these images to execute unit, functional, acceptance and JS tests in an environment that is
identical to the core testing infrastructure. Note that some core tests need additional containers that
run a database or selenium with chrome.
Simple usage example, executing accepance tests on a fresh core clone:
```
# fetch latest version of php72 image
docker pull typo3gmbh/php72:latest
# start a local image, start processes and get a bash on it, delete everything on container logout
docker run -it --rm typo3gmbh/php72:latest /sbin/my_init -- bash
mkdir /srv/tmp && cd /srv/tmp
git clone git://git.typo3.org/Packages/TYPO3.CMS.git .
mkdir -p typo3temp/var/tests/
export HOME=/root typo3DatabaseName="func" typo3DatabaseUsername="funcu" typo3DatabasePassword="funcp" typo3DatabaseHost="localhost"
COMPOSER_ROOT_VERSION=9.1.0 composer install
php -S localhost:8000 >/dev/null 2>&1 &
./bin/chromedriver --url-base=/wd/hub >/dev/null 2>&1 &
./bin/codecept run Acceptance -d -c vendor/typo3/testing-framework/Resources/Core/Build/AcceptanceTests.yml
```
The images allow running mysql in a ramdisk to speed up functional tests and allows to use an already
existing local core or typo3 instance as code source.
### bamboo-remote-agent-phpXY
typo3gmbh/bamboo-remote-agent-phpXY adds the bamboo test runner on top of the phpXY images for integration in
TYPO3 GmbH testing infrastructure. Users usually don't have to deal with these images and use the phpXY ones instead.
\ No newline at end of file
### bamboo-remote-agent
typo3gmbh/bamboo-remote-agent adds the bamboo test runner on top of the baseimage images for integration in
TYPO3 GmbH testing infrastructure. Users usually don't have to deal with these images and use the phpXY ones instead.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment