System configuration for the OpenDev Collaboratory
Go to file
Jeremy Stanley 202614e155 Gerrit Whitespace Change Detection
Consider whitespace changes significant enough not to reapply code
reviews, but still comment if that's all which changed between
patchsets. This addresses bug 1057506.

* modules/openstack_project/files/gerrit/scripts/trivial_rebase.py
(GetPatchId): Add a flag called consider_whitespace, but defaulting to
False so as to preserve default behavior of the module. Add conditional
behavior to replace all spaces and tabs with percent signs before
calculating the patch-id hash.
(Main): Add a --whitespace command-line option to turn on whitespace
change checking. If enabled and if normal GetPatchId calls return a
match, re-run with consider_whitespace set to True and apply a comment
to the new patchset in Gerrit if the result is non-matching.

* modules/openstack_project/templates/gerrit_patchset-created.erb: Add
--whitespace to the trivial_rebase.py invocation, enabling whitespace
checking.

Change-Id: I89c479614a637717cf515a5d3f6d03b5f7830581
Reviewed-on: https://review.openstack.org/13775
Reviewed-by: James E. Blair <corvus@inaugust.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Approved: Monty Taylor <mordred@inaugust.com>
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2012-10-01 03:10:36 +00:00
doc/source Use Jenkins Job Builder to config ci-docs job. 2012-09-27 16:50:32 +00:00
manifests Style guide updates for manifest directory 2012-10-01 02:54:28 +00:00
modules Gerrit Whitespace Change Detection 2012-10-01 03:10:36 +00:00
tools Add script to run jenkins job xml comparison. 2012-09-05 20:51:28 +00:00
.gitignore Use Jenkins Job Builder to config ci-docs job. 2012-09-27 16:50:32 +00:00
.gitreview Add .gitreview. 2011-10-20 13:37:04 -04:00
install_jenkins_slave.sh Remove use of sudo from install_jenkins_slave.sh. 2012-08-07 22:21:09 +00:00
install_modules.sh Add licensing clarification re vcsrepo. 2012-09-27 00:23:55 +00:00
Rakefile Add rubygems dependency for puppet-lint 2012-09-27 23:09:23 +00:00
README.md Fix README file. It was WAY old. 2012-07-20 16:27:52 -07:00
run_puppet.sh Give run_puppet.sh mode 755 2012-09-22 17:32:02 +00:00
setup.cfg Use Jenkins Job Builder to config ci-docs job. 2012-09-27 16:50:32 +00:00
setup.py Use Jenkins Job Builder to config ci-docs job. 2012-09-27 16:50:32 +00:00
test.sh Pass sysadmins list into node defs. 2012-09-10 15:58:27 +00:00
tox.ini Use Jenkins Job Builder to config ci-docs job. 2012-09-27 16:50:32 +00:00

These are a set of puppet manifests and modules that are currently being used to manage the OpenStack CI infrastructure.

The main entry point is in manifests/site.py.

In general, most of the modules here are designed to be able to be run either in agent or apply mode.

These puppet modules require puppet 2.7 or greater. Additionally, the site.pp manifest assumes the existence of hiera.

See http://ci.openstack.org for more information.