~matsubara/charms/trusty/ci-configurator/trunk

« back to all changes in this revision

Viewing changes to README.md

  • Committer: Adam Gandelman
  • Date: 2013-11-25 23:14:11 UTC
  • Revision ID: adamg@canonical.com-20131125231411-uni0q7vv4ip9v2oi
Backout rev 68, re-add control.yml functionality.

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
is added, configuration of that service is skipped:
77
77
 
78
78
    $ tree -L 1.
 
79
    |--control.yml
79
80
    +-- gerrit
80
81
    +-- jenkins
81
82
    +-- zuul
82
83
 
 
84
The control.yml file is currently used to specify additional package
 
85
and plugin dependencies that are required to run the jenkins jobs configured
 
86
in the repository (see jenkins section below), but the scope of this file may
 
87
expand in the future to also specify dependencies for Zuul and Gerrit.
 
88
 
83
89
The layout of the per-service subdirectories and the integration with the charm
84
90
is described below:
85
91
 
121
127
skipped.  If any subdirectory of gerrit/ is missing in repository,
122
128
configuration of that gerrit component is skipped.
123
129
 
 
130
    required_jenkins_packages:
 
131
        - git
 
132
        - python-pip
 
133
        - python-mock
 
134
    required_jenkins_plugins:
 
135
        - git-client
 
136
        - git
 
137
 
124
138
zuul
125
139
----
126
140
 
175
189
After the update hook is called, the 'jenkins-jobs' script is called to
176
190
actually create or update the jobs in the running jenkins cluster.
177
191
 
 
192
It may also be required to install additional packages or Jenkins plugins
 
193
in order to run the jobs defined in the repository.  These may be defined
 
194
in the control.yml file shipped in the reposotiry.  This packages and 
 
195
plugins will be installed on the jenkins principle upon every hook run:
 
196
 
 
197
    required_jenkins_packages:
 
198
        - git
 
199
        - python-pip
 
200
        - python-mock
 
201
    required_jenkins_plugins:
 
202
        - ssh-agent
 
203
        - gearman-plugin
 
204
        - git-client
 
205
        - git
 
206
 
 
207
 
178
208
Updating configuration
179
209
======================
180
210