Project

General

Profile

Download (1.15 KB) Statistics
| Branch: | Tag: | Revision:

foreman_pipeline / README.md @ 720671b8

1 ad8aa442 Ondrej Prazak
#Foreman Pipeline#
2 b9238893 Ondrej Prazak
3 d355b5e0 Ondrej Prazak
This project provides support for Jenkins builds triggered from within Foreman. It can supply Jenkins with an information on newly provisioned host by Foreman which makes it possible for Jenkins to deploy artifacts on the host.
4 b9238893 Ondrej Prazak
5
##Installation##
6
7 336a7375 Ondrej Prazak
```
8
gem install foreman_pipeline
9
```
10
11
and
12
13
```
14
#foreman/bundler.d/*.local.rb
15
gem 'foreman_pipeline'
16
```
17
18
or from source:
19 b9238893 Ondrej Prazak
20 ad27a46c Ondrej Prazak
```
21
#foreman/bundler.d/*.local.rb
22
gemspec :path => 'path/to/this/plugin'
23
```
24 37be3b5f Ondrej Prazak
25 cd5cc438 Ondrej Prazak
Then execute from Foreman's root
26 ad27a46c Ondrej Prazak
```
27 5ce1ea3b oprazak
bundle install
28 db974ff0 Ondrej Prazak
rake db:migrate
29 be52ca64 Ondrej Prazak
rake foreman_pipeline:seed
30 b9238893 Ondrej Prazak
```
31
32
##Dependencies##
33
34
* [Katello](https://github.com/Katello/katello)
35 37be3b5f Ondrej Prazak
* [Foreman](https://github.com/theforeman/foreman)
36 8e7a330b Ondrej Prazak
* [Foreman Deployments](https://github.com/theforeman/foreman_deployments)
37 37be3b5f Ondrej Prazak
* [Jenkins API client](https://github.com/arangamani/jenkins_api_client)
38
39
##Versions##
40
41 a2f68fc4 Ondrej Prazak
|Foreman  |Katello  |Foreman Deployments  |Jenkins API client  |Foreman Pipeline  |
42
|:-------:|:-------:|:-------------------:|:------------------:|:----------------:|
43
|>= 1.9   | >= 2.3  | ~> 0.0.1            | < 2.0.0            |   0.0.1          |
44 b9238893 Ondrej Prazak
45 9fb80abe Ondrej Prazak
46 5ce1ea3b oprazak
##Usage##
47
48 ad8aa442 Ondrej Prazak
See [wiki](https://github.com/xprazak2/foreman-pipeline/wiki/Jobs).