This project is not covered by Drupal’s security advisory policy.

Overview

This sub-project is responsible for the scripts and configuration files used on the jenkins master/slave servers which serve as the central job dispatcher for the environment. It is anticipated that this repository will contain xml files of the jenkins job definitions and related scripts for import on the Jenkins server.

Installation

Bundler

Install the required gems with bundler (http://bundler.io/v1.6/bundle_install.html) via:

```
$ bundle install --path vendor/bundle
```

The above will give you Capistrano for deployment, otherwise bundle install is also run on the vagrant host during provision.

Vagrant (1.6.3)

Vagrant can be downloaded and installed from:

http://www.vagrantup.com/downloads.html

Install the required plugins for Vagrant via the following command:

```
$ vagrant plugin install vagrant-vbguest
$ vagrant plugin install vagrant-auto_network
$ vagrant plugin install vagrant-hostsupdater
```

Local development.

A local environment can be setup with Vagrant using the following command:

```
$ vagrant up
```

Note: Go get a coffee, this might take a little while.

Go to the following URL:

```
http://master.local
```

Deploy.

To show change and then deploy to the DEV environment run the following commands:

```
$ bundle exec cap dev puppet:noop
$ bundle exec cap dev puppet:apply
```

Manual method

If you wish to run some manual steps please see for a example of the commands you can run:
* puppet/provision/base.sh
* puppet/provision/puppet.sh

Packer

Packer is an amazing tool for building prepackaged images. Currently we are only building an AWS image.

Installation

http://www.packer.io/docs/installation.html

Usage

This Packer image requires some sensitive user account information to be
set prior to running the build. This can be done with the following command:

```
export JENKINS_USER=admin:admin
```

Images can be built via the following commands:

**Master**

```
$ export AWS_ACCESS_KEY='Super secret access key'
$ export AWS_SECRET_KEY='Super secret secret key'
$ packer build packer/ubuntu/master-amazon.json
```

**Slave**

```
$ export AWS_ACCESS_KEY='Super secret access key'
$ export AWS_SECRET_KEY='Super secret secret key'
$ packer build packer/ubuntu/slave-amazon.json
```

Visit the DrupalCI main project page for more info.

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Downloads