Skip to content
This repository has been archived by the owner on Sep 30, 2020. It is now read-only.

prestaconcept/meta-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meta-ci

Presta meta CI allows you to create virtual hosts for Jenkins / Travis / Behat. It is used by PrestaCMS with our CI and Travis.

Issue tracker

📋 Issues are managed in prestaconcept/open-source-management to centralize our open source activity.

Requirement for ci_init_vhost

httpd configuration

create a directory to store your CI vhosts

mkdir -m775 /etc/httpd/conf.d/jenkins_vhosts
chgrp jenkins /etc/httpd/conf.d/jenkins_vhosts

auto include vhosts

include jenkins vhosts in an Apache configuration file (after your default vhost)

Include conf.d/jenkins_vhosts/*.conf

Allow jenkins to write in /etc/hosts

chmod g+w /etc/hosts
chgrp jenkins /etc/hosts

Allow jenkins and reload Apache

for visudo syntax check

visudo -f /etc/sudoers.d/jenkins 

file content to allow HTTPD configuration test + reload

Defaults:jenkins !requiretty
jenkins ALL=(ALL) NOPASSWD: /usr/sbin/apachectl graceful
jenkins ALL=(ALL) NOPASSWD: /usr/sbin/apachectl -t

Tools

setup script for apache in ci

In in order to run behat validations or other stuff, this creates a vhost for current job

bin/ci_init_vhost [<subdir_for_documentroot>]

The server name will be {JOB_NAME}.loc.

See behat + jenkins for more details.

Ask for help

💬 If you need help about this project you can post a message on our google group

Contributing

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

Bitdeli Badge

About

presta meta CI package. Proof of concept meta package for continuous integration dependencies

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages