stable
Clone or download
The site-deploy:fpm command now allows to configure the connection to a redis server. I'm not 100% fan of this design choice but I decided to include the generation of tuleap `redis.inc` file by the site-deploy:fpm command for 2 reasons: - I doesn't really make sense to configure redis for Tuleap but not for the php sessions - Having 2 different commands for that would be too complex for deployment. The generic site-deploy command now handles the fpm/redis generation in addition to images. Finally a docker-compose.yml is added as an example and test purpose. It's based on public enalean/tuleap-aio:centos7 image because it was good enough for most tests and relying on TEE image would have been too heavy. Part of story #14768 have a tuleap enterprise edition docker image production ready Change-Id: I1d656c2f281b7afdf1ede274a7dc27c61810c678
Modified Files
Name | ||||
---|---|---|---|---|
A | plugins/tee_container/docker/docker-compose.yml | +42 | −0 | Go to diff View file |
M | plugins/tee_container/include/StartContainerCommand.php | +1 | −1 | Go to diff View file |
M | src/common/Config/ForgeConfig.php | +8 | −0 | Go to diff View file |
A | src/etc/fpm73/tuleap_sessions_redis.part | +4 | −0 | Go to diff View file |
A | src/etc/fpm74/tuleap_sessions_redis.part | +4 | −0 | Go to diff View file |
M | src/tuleap-cfg/Command/Docker/Tuleap.php | +16 | −2 | Go to diff View file |
M | src/tuleap-cfg/Command/SetupMysqlInitCommand.php | +1 | −1 | Go to diff View file |
A | src/tuleap-cfg/Command/SiteDeploy/FPMSessionFiles.php | +56 | −0 | Go to diff View file |
A | src/tuleap-cfg/Command/SiteDeploy/FPMSessionInterface.php | +35 | −0 | Go to diff View file |
A | src/tuleap-cfg/Command/SiteDeploy/FPMSessionRedis.php | +139 | −0 | Go to diff View file |
M | src/tuleap-cfg/Command/SiteDeploy/SiteDeployCommand.php | +33 | −5 | Go to diff View file |
M | src/tuleap-cfg/Command/SiteDeploy/SiteDeployFPM.php | +39 | −20 | Go to diff View file |
M | src/tuleap-cfg/Command/SiteDeploy/SiteDeployFPMCommand.php | +5 | −7 | Go to diff View file |
A | src/tuleap-cfg/Command/TemplateHelper.php | +44 | −0 | Go to diff View file |
M | src/www/include/pre.php | +1 | −4 | Go to diff View file |
M | tests/phpunit/tuleap-cfg/Command/SiteDeploy/SiteDeployFPMTest.php | +92 | −7 | Go to diff View file |
M | tools/setup.el7.sh | +2 | −2 | Go to diff View file |