stable

Clone or download

Read-only

fix(forge-config): Propagate config for TULEAP_SYS_DBPORT

With refactorings of ForgeConfig loading we lost the ability to customize the database with environment variables. This commit brings it back. This commit also fix an issue with mediawiki that was not possible to run with a database not running on 3306 port. In addition to that: * The legacy `TULEAP_DB_SSL_MODE` and `TULEAP_DB_SSL_CA` env variables are removed in favor of TULEAP_SYS_ENABLESSL, TULEAP_SYS_DB_SSL_CA and TULEAP_SYS_DB_SSL_VERIFY_CERT * the --skip-database option was removed because it was there only for tests and the error was introduced because of this option (it skipped a part of the code that was triggering the initial issue). Closes request #26380 mediawiki doesn't work when db port is not 3306 Part of: story #22708 flexibility in the management of Tuleap Configuration Change-Id: Iaa7349ad0aaf73557c34aafdb513cb7ccb0cabee

Modified Files

Name
M plugins/mediawiki/www/LocalSettings.php +1 −1 Go to diff View file
M plugins/tee_container/docker/docker-compose.yml +2 −1 Go to diff View file
M src/common/Config/ConfigKeyInt.php +1 −1 Go to diff View file
M src/tuleap-cfg/Command/SetupMysql/DatabaseConfigurator.php +1 −1 Go to diff View file
M src/tuleap-cfg/Command/SetupMysql/MysqlCommandHelper.php +59 −39 Go to diff View file
M src/tuleap-cfg/Command/SetupMysqlInitCommand.php +30 −57 Go to diff View file
M tests/unit/tuleap-cfg/Command/SetupMysqlInitCommandAzureTest.php +0 −4 Go to diff View file
M tests/unit/tuleap-cfg/Command/SetupMysqlInitCommandTest.php +61 −38 Go to diff View file