This repo exists to serve as the one stop shop for the kolla jenkin job(s) configuration and tools and scripts and configuration to be able to recreate those jobs on a new or existing set of jenkins masters (as well as to host a location where we as a group can peer-review these things).
Clone (or clone a fork of) this repo.
Setup a virtualenv.
Enter that virtualenv.
Install (via pip) the requirements.txt file.
Determine your jenkins token and export it as
JENKINS_TOKEN
for future usage.Update job configuration...
Edit
jenkins_jobs.ini
as needed (for example to update the target jenkins master to be configured).Test your change via a command like:
jenkins-jobs --conf ./jenkins_jobs.ini --user $USER -p $JENKINS_TOKEN test projects/ -o output/
Perform your change via a command like:
jenkins-jobs --conf ./jenkins_jobs.ini -u $USER -p $JENKINS_TOKEN update projects/
- You can enable debugging output by passing
-l DEBUG