i do the following steps automaticly on repository changes on the release branch with my continious integration server (Jenkins):
- Depency Management (PHP Composer)
- Compilation/Minification
- Testing (PHPUnit)
- Documentation generation and release
- Pakaging (.tar file with revision name)
- Deployment
- Copy tar to release server
- Run puppet script on production server
The puppet script copy the newest release file from release server and untar all files to put them in the right directories.
But how would you connect the PHP Application to different services like MySQL? I have to change the configuration files manualy currently.
Any suggestions?