15 Commits

Author SHA1 Message Date
James E. Blair
6611b0dc9e Validate that zuul-referenced jobs exist
Create a list of jobs defined by the current JJB configuration
and use it to validate that every job referenced in the Zuul
layout.yaml exists.

Also, fix all of the errors currently identified by this.

Requires Iceb74440cb004e9ebe6fc08a4eedf7715de2d485 in Zuul.

Change-Id: Iae8f612836a269520ce7448b9a656c8df183e126
2013-07-30 16:02:39 -07:00
James E. Blair
3fb03c7328 Add hieraedit.py
A handy script to edit hieradata's common.yaml.

Change-Id: Ib7aa9ebd89cdcd95bd36690a32bb7f7736aafca5
2013-07-20 09:48:37 -07:00
James E. Blair
8c6df9f19c Select a pypi mirror before running tox.
Change-Id: I62a86b6a0ad30ff8cb387ddcc05668128248c6d0
Reviewed-on: https://review.openstack.org/23513
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-03-18 20:29:07 +00:00
James E. Blair
f2016a6615 Remove rfc.sh.
Change-Id: I52d02a0b116432b0996f08de86ce914d7d06832c
Reviewed-on: https://review.openstack.org/23782
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Approved: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Tested-by: Jenkins
2013-03-07 20:36:05 +00:00
James E. Blair
8eea39dad6 Add a script to test the Jenkins API.
Using the extended versions of python-jenkins that are used
by Zuul and devstack-gate, exercise all of the Jenkins API
calls that are used by by Zuul, devstack-gate, and Jenkins
Job Builder.

(JJB doesn't need any extended methods.  The extended methods
used by devstack-gate have been upstreamed, but not released.)

Change-Id: I9c3a4d7cfc96965ceb83b8c5ea4b12d4f2e07e12
Reviewed-on: https://review.openstack.org/22580
Reviewed-by: Paul Belanger <paul.belanger@polybeacon.com>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Khai Do <zaro0508@gmail.com>
Approved: Clark Boylan <clark.boylan@gmail.com>
Tested-by: Jenkins
2013-02-21 22:34:09 +00:00
James E. Blair
67aeba3668 Add zuul layout validation gate job.
Non-voting for now to make sure it works.

Change-Id: Iac29eba2320c8a972a03df81d10feb0183d98fd7
Reviewed-on: https://review.openstack.org/19719
Reviewed-by: Jeremy Stanley <fungi@yuggoth.org>
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2013-01-16 17:41:56 +00:00
Monty Taylor
74460853d1 Rename CI to Infra in MANY MANY places.
Change-Id: I409bd50ae374e0288531f07cfeea34856c5f8067
Reviewed-on: https://review.openstack.org/17319
Approved: James E. Blair <corvus@inaugust.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: James E. Blair <corvus@inaugust.com>
2012-12-16 17:30:47 +00:00
James E. Blair
f355bc2417 Add script to run jenkins job xml comparison.
Change-Id: Ied3addbe4e43a08ea2ac51e0f9b5560eb46823f6
Reviewed-on: https://review.openstack.org/12453
Reviewed-by: Clark Boylan <clark.boylan@gmail.com>
Approved: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2012-09-05 20:51:28 +00:00
Hengqing Hu
dcd994da28 Remove trailing whitespaces in regular file
Change-Id: I06d4ed2a8153820f7253c6602bfa8c05af59e06f
2012-03-09 16:02:04 +08:00
Andrew Hutchings
6f48f94585 Add support for LP: #nnnnnn bug format
Fixes bug: 928444

Change-Id: Iab6b9206e4fad8bb64c4c8d8002950ab63d334af
2012-02-08 20:41:15 +00:00
James E. Blair
c97ded27d1 Update rfc.sh to use 'true'.
true is /usr/bin/true os OSX but is in the path
on both GNU/Linux and OSX.

Change-Id: I3b83516d8e1d6b35c63fb4272fab4382c7967622
Reviewed-on: https://review.openstack.org/329
Reviewed-by: Joe Heck <heckj@mac.com>
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2011-08-26 15:53:05 +00:00
James E. Blair
11ca0bea43 Update rfc.sh to add change-id to commit message.
If the commit hook is installed, ammend the commit message
so change-id gets added to it.

Change-Id: I3d256a6fa73e789b02bad86421dd95e0a1f52a78
Reviewed-on: https://review.openstack.org/284
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2011-08-22 20:02:18 +00:00
James E. Blair
5033e2a5aa Update rfc.sh to assert divergence.
assert_diverge didn't really _assert_ before, this change
causes it to exit if there are no differences from
origin/$branch.

Change-Id: I2423ecd131b858519d4fa977b580dff511dc9b77
Reviewed-on: https://review.openstack.org/275
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2011-08-19 06:45:08 +00:00
James E. Blair
efdd9ed515 Update rfc.sh.
blueprint ci-git-support

Update rfc.sh to set topics to bp/FOO if a blueprint is mentioned
in the commit message.
Also update rfc.sh to handle multiple bug/bp lines gracefully
(it will only use the first).

Change-Id: Icb283e0ca63aa82e5d6bc3bf94f5e5b52dd37a9d
Reviewed-on: https://review.openstack.org/273
Reviewed-by: Monty Taylor <mordred@inaugust.com>
Tested-by: Jenkins
2011-08-19 06:24:30 +00:00
Monty Taylor
8443fd22c3 Add rfc.sh.
Change-Id: Ib4494d4ccc2382a2e2479b6b042adb03c37656f9
Reviewed-on: https://review.openstack.org/260
Reviewed-by: James E. Blair <corvus@inaugust.com>
Tested-by: Jenkins
2011-08-17 16:52:16 +00:00