I think having a recent pip is fine. If we run in to problems, we can go back,
but I think we're mainly just wasting effort here.
Change-Id: Ic5f2d49b2002393e1f9b048472266c0a00225110
Reviewed-on: https://review.openstack.org/10963
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: I02064d3c49135e41ba19be3790e6f3e695dd5b32
Reviewed-on: https://review.openstack.org/10982
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I83cf1303bb07e59b0c3305a2540f048638940372
Reviewed-on: https://review.openstack.org/10979
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Also, remove ansi color setting, because it really munged up the
output when it was used.
Change-Id: Id0dac3bfbc40987b98501ced7d1158f1a83a1e02
Reviewed-on: https://review.openstack.org/10968
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
The conditional to realize users was triggered by install_useres instead
of install_users so things didn't quite work properly. Correct that
issue.
Change-Id: I84ff3e0116a9b4de07cb649b81574b813aaea578
Reviewed-on: https://review.openstack.org/10935
Reviewed-by: linuxjedi <andrew@linuxjedi.co.uk>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: Idcf8af9712f8d10b50cfffc0aa74f7caa1a24c77
Reviewed-on: https://review.openstack.org/10833
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: Ia0f3acd50aab07cc83d13cd12c8f7fc67f1c697d
Reviewed-on: https://review.openstack.org/10832
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
The logic is lifted from apache, but changed to use ps instead of pidof,
since gerritbot runs as a python program, so pidof doesn't work.
Change-Id: I504e3534b55dfc27b09d7f044169b2f3a18dcd36
Reviewed-on: https://review.openstack.org/10881
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Naming it after what it installs. Also, split the target cronjob into
a define.
Change-Id: I73a4383f529c60bc35c60241dfc91508965d755e
Reviewed-on: https://review.openstack.org/10885
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: I4c6dc32ee4dcad5db5eb91deace61fffa1f57638
Reviewed-on: https://review.openstack.org/10904
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: Ic1a244ab0c851f4dfa5e43c2a6ca5b03fc3b4216
Reviewed-on: https://review.openstack.org/10923
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
(Untested with maven.)
Change-Id: I5d66b15afad5d1d50be83d00b4f81a50ccd10f98
Reviewed-on: https://review.openstack.org/10921
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Gerritbot should be installable via pip. To make this possible add
jobs to publish gerritbot tarballs and push gerritbot to pypi when tags
are added to gerritbot.
Change-Id: I5de346cd96a096809c9fe44d2117ebdb45a180c4
Reviewed-on: https://review.openstack.org/10910
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
Change-Id: I89712c58efc64ac089251f0dd42cdd0cc9e2b04b
Reviewed-on: https://review.openstack.org/10880
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
pluginsync = true is required for puppetmaster to serve out plugin information,
such as custom facter lib stuff to the agents.
Change-Id: Ia6a72bc6abdaba62ddc5f5e8ceeeb652284f98d3
Reviewed-on: https://review.openstack.org/10850
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: I0389b92a0621ab276a91f00f7352986fee27e42d
Reviewed-on: https://review.openstack.org/10808
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
With these applied, initial install actually works 100% through.
Change-Id: I6587a537beb5703bf11783f3df79278ea1c7aca5
Reviewed-on: https://review.openstack.org/10718
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Add a templated zuul.conf with apikey filled in by hiera.
Made an openstack_project::zuul class to encapsulate installation
and config of zuul with our config files.
Change-Id: Idc09819b27672879b74b90bdbf699b07aa416a2a
Reviewed-on: https://review.openstack.org/10460
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Change-Id: Iff55f35c0d9888f1029115c17d4644a68d4e8b4c
Reviewed-on: https://review.openstack.org/10727
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Approved: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
Add jobs that run daily to make sure stable branches still pass
tests. Added as a template that can be added to any project
and any branch.
Change-Id: I90c2bab2afd8e1ad7077f3473504069b0dad9876
For all python27 jobs, use oneiric slaves if the branch is
stable/diablo. Python26 jobs are already on oneiric due to
lack of python 2.6 on anything later.
Change-Id: Id440e14721ccdd4225c5e5b170510c3c000a36b3
If replicate_local is set, this will ensure that /var/lib/git is created,
and that projects listed in the projects.config have repos there.
Additionally, it creates a new config file, projects.config which is a
yaml file listing all of the projects and various operational semantics about
them, such as whether or not they should have pull requests closed and whether
or not they track any remotes. This replaces remotes.config and github.config.
Moving forward, there is no reason to not have this script be able to
do github api calls to create the github repo if it's not there, set the
github project description, gerrit api calls to create the project in gerrit,
and initial project permissions templates.
Change-Id: I1ad803b0aa5f7386206d0c3f4cd858017242fe64
Switch zuul jenkins jobs config to use the python jobs template. The
gate-zuul-pyflakes job has been kept though. Add zuul-docs job as well.
Configure the zuul layout to gate zuul on python26 and python27 jobs.
Also configured to run the zuul-coverage job and zuul-docs job post
merge.
Change-Id: Ib3500c361bca0e2c35fa9552b0aa98468d2f040f
Also, moved depends for launchpad sync script to the launchpad sync
module, and put the ntp stuff into an ntp module.
Change-Id: I2568752493fefa305f9108a23da101d80a311552
Additionally, the file installation of the scripts wasn't working,
so the sync script wasn't actually getting installed. This moves
the underlying scripts to be installed by the gerrit module,
because it owns /usr/local/gerrit/scripts, and then manages the
gerrit hooks which call those scripts in the openstack_project
class, since that's where the config choice to enable those
functions really should live.
Change-Id: I54fb9edd9fb0c634d8d9de4e57f9ddad6af63a99
Variable interpolation needs <%= not just <%. :)
Also, while I was in there, I replaced default with "oneiric",
because I don't actually know that the value is a good default value,
and I removed a couple of comments about moving to MySQL and Apache
modules from upstream.
Change-Id: Iec5b10cee2cbd0e0a2573fefa707d34d2a363cb4
Zuul config files were broken out into a new module which introduced
cross module subscription dependencies. To make this work the module
doing the notify/subscribe must include the module the resource that
the subscription/notify is on. To fix this have config files notify
the zuul_reload exec.
Change-Id: I2d9e2236bc378d9dd92f811830dee6540b4cf4e2
Previously the jenkins job script was run against Jenkins during each
Puppet run. Now run the jenkins job script only if any of the job
configs or jenkins job configs change.
Change-Id: I12d6dcf56ae46de7b5f373f2e4df6214c0f59c79