2017 © Pedro PelĂĄez
 

library meta-ci

Manage your vhost for Behat on continuous integration

image

presta/meta-ci

Manage your vhost for Behat on continuous integration

  • Monday, October 5, 2015
  • by bonidier
  • Repository
  • 6 Watchers
  • 2 Stars
  • 8,548 Installations
  • Shell
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 3 % Grown

The README.md

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., (*1)

Issue tracker

:clipboard: Issues are managed in prestaconcept/open-source-management to centralize our open source activity., (*2)

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), (*3)

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, (*4)

visudo -f /etc/sudoers.d/jenkins 

file content to allow HTTPD configuration test + reload, (*5)

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, (*6)

bin/ci_init_vhost [<subdir_for_documentroot>]

The server name will be {JOB_NAME}.loc., (*7)

See behat + jenkins for more details., (*8)

Ask for help

:speech_balloon: If you need help about this project you can post a message on our google group, (*9)

Contributing

Pull requests are welcome., (*10)

Thanks to everyone who has contributed already., (*11)


This project is supported by PrestaConcept, (*12)

Lead Developer : @remyfrd, (*13)

Released under the MIT License, (*14)

Bitdeli Badge, (*15)

The Versions

05/10 2015

dev-master

9999999-dev

Manage your vhost for Behat on continuous integration

  Sources   Download

MIT

by RĂ©my Ferrand

17/03 2014

dev-server_aliases

dev-server_aliases

Manage your vhost for Behat on continuous integration

  Sources   Download

MIT

The Requires

 

by RĂ©my Ferrand

26/02 2014

1.0.0

1.0.0.0

Manage your vhost for Behat on continuous integration

  Sources   Download

MIT

The Requires

 

by RĂ©my Ferrand