10 Commits

Author SHA1 Message Date
Andreas Jaeger
ba7ad70283 Sort zuul/layout.yaml alphabetical
Sort zuul/layout.yaml project entries in alphabetical
order by "namespace/project".

Reenable check for sorted order of layout.yaml that has been disabled
during mass project rename.

Change-Id: I3749f88edd1984286f9cfc840bfe37722b2f28be
2015-10-18 19:13:54 +02:00
Clint Adams
d0fc16cd6b Disable alphabetical ordering check for zuul/layout.yaml
In order to facilitate the mass stackforge renames, disable sorting
check.

Once the renames have been completed successfully and the sections
have been reordered, this check should be re-enabled.

Change-Id: I460081a42c42d0dfd2ffd8af7281018128f264fe
2015-09-30 17:34:48 -04:00
Ian Wienand
3e78b33c31 Check indent in zuul/layout.yaml
I noticed this when looking at
Ieea93753e352ccb09f65aac12c8c81c1d96593ac (but the misalignment there
seems to have been subsequently fixed).

Anyway, this is just a quick port of
I92ffda01a2e766954c18fe795862186863f8182f and fixes two existing
cases.

Change-Id: Ia3e654ed32e1edb9d841984df427c764d220b908
2015-09-25 13:06:06 +10:00
Doug Hellmann
4c6e428257 Fix layout-checks.py to work in virtualenv
Fix the python interpreter used by layout-checks.py so that the "tox -e
zuul" target works correctly on a local system.

Add the PyYAML dependency needed by layout-checks.py to the tox
configuration for the zuul target.

Add the zuul target to the default list for tox.

Change-Id: Ic4db9fc3bb236d36365abfe966eb9e7769896011
2014-12-03 15:05:21 -05:00
Andreas Jaeger
cf8f2332ff Improve tools/layout-checks.py
Instead of hard-coding first entries, use the section headers directly.

Make the output a bit nicer.

Change-Id: I0a5f947d42ada5f010853de04f3ca651039eeb60
2014-10-04 16:40:03 +02:00
Andreas Jaeger
5492bc99a7 Sort and check layout.yaml sections
Mark the beginning of sections more prominently.
Sort sections in layout.yaml.
Enhance test to check for sorted sections.
Add new section for oslo projects.

Change-Id: Id36e55a2996604e679a39c46574e978fb82de11c
2014-10-02 21:29:00 +02:00
Jenkins
acb67c5622 Merge "Sort openstack-infra/-dev entries in layout.yaml" 2014-10-02 16:36:54 +00:00
Andreas Jaeger
8305dd243c Sort openstack-infra/-dev entries in layout.yaml
Sort and check for sorting of openstack-infra and
openstack-dev entries in zuul/layout.yaml.

Change-Id: I643aecb6052f14c2960a3077fbf391e3a82947c9
2014-10-01 20:03:05 +02:00
Andreas Jaeger
940ae9b45e Add merge-check to pylockfile, test for merge-check
pylockfile has been missing the merge-check job, add it.

Enable the merge check as part of layout checks.

Change-Id: I7b4d5fdf99ae34af3b22645f120e3182e5ccaa31
2014-09-30 21:23:25 +02:00
Andreas Jaeger
c6b1ffd04f Add more checks for zuul/layout.yaml
Check that each project (with exception of z/tempest) has a merge-check
template.
Check projects - so far stackforge only - for alphabetical order.

The merge template check is taken from a test that Jeremy shared.

Change-Id: I2bc457ddfe0eca787bb88ceeb919f89d491978d7
Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
2014-09-30 18:46:56 +00:00