Manage your vhost for Behat on continuous integration
Presta meta CI allows you to create virtual hosts for Jenkins / Travis / Behat. It is used by PrestaCMS with our CI and Travis.
📋 Issues are managed in prestaconcept/open-source-management to centralize our open source activity.
mkdir -m775 /etc/httpd/conf.d/jenkins_vhosts
chgrp jenkins /etc/httpd/conf.d/jenkins_vhosts
include jenkins vhosts in an Apache configuration file (after your default vhost)
chmod g+w /etc/hosts
chgrp jenkins /etc/hosts
for visudo syntax check
visudo -f /etc/sudoers.d/jenkins
file content to allow HTTPD configuration test + reload
jenkins ALL=(ALL) NOPASSWD: /usr/sbin/apachectl graceful
jenkins ALL=(ALL) NOPASSWD: /usr/sbin/apachectl -t
In in order to run behat validations or other stuff, this creates a vhost for current job
The server name will be
See behat + jenkins for more details.
💬 If you need help about this project you can post a message on our google group
Pull requests are welcome.
Thanks to everyone who has contributed already.
This project is supported by PrestaConcept
Lead Developer : @remyfrd
Released under the MIT License