From 7a16d1ef992e63c83d085365e84baf725b735111 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 24 Feb 2016 08:03:04 -0500 Subject: [PATCH] run yamllint on deliverable files during validation Change-Id: Ic60597c0fc2a0f181f713866bbc59a41cff69e86 Signed-off-by: Doug Hellmann --- deliverables/_independent/fairy-slipper.yaml | 2 +- deliverables/liberty/automaton.yaml | 3 ++- deliverables/liberty/debtcollector.yaml | 3 ++- deliverables/liberty/ironic-inspector.yaml | 3 ++- deliverables/liberty/os-brick.yaml | 2 +- deliverables/liberty/oslo.config.yaml | 3 ++- deliverables/liberty/oslo.db.yaml | 3 ++- deliverables/liberty/oslo.versionedobjects.yaml | 3 ++- deliverables/liberty/oslosphinx.yaml | 3 ++- deliverables/liberty/stevedore.yaml | 3 ++- deliverables/mitaka/automaton.yaml | 2 +- deliverables/mitaka/debtcollector.yaml | 2 +- deliverables/mitaka/glance.yaml | 2 +- deliverables/mitaka/ironic-inspector.yaml | 3 ++- deliverables/mitaka/ironic.yaml | 8 ++++---- deliverables/mitaka/mistral.yaml | 1 - deliverables/mitaka/oslo.cache.yaml | 2 +- deliverables/mitaka/oslo.i18n.yaml | 2 +- deliverables/mitaka/oslo.messaging.yaml | 11 +++++++---- deliverables/mitaka/oslo.middleware.yaml | 2 +- deliverables/mitaka/oslo.policy.yaml | 2 +- deliverables/mitaka/oslo.privsep.yaml | 1 - deliverables/mitaka/oslo.reports.yaml | 2 +- deliverables/mitaka/oslo.service.yaml | 2 +- deliverables/mitaka/oslotest.yaml | 2 +- deliverables/mitaka/osprofiler.yaml | 2 +- deliverables/mitaka/pylockfile.yaml | 2 +- deliverables/mitaka/python-ironicclient.yaml | 1 + deliverables/mitaka/python-zaqarclient.yaml | 4 ++-- tox.ini | 6 +++++- yamllint.yml | 9 +++++++++ 31 files changed, 60 insertions(+), 36 deletions(-) create mode 100644 yamllint.yml diff --git a/deliverables/_independent/fairy-slipper.yaml b/deliverables/_independent/fairy-slipper.yaml index cf220faaf4..e0f225560c 100644 --- a/deliverables/_independent/fairy-slipper.yaml +++ b/deliverables/_independent/fairy-slipper.yaml @@ -6,4 +6,4 @@ releases: - version: 0.1.0 projects: - repo: openstack/fairy-slipper - hash: 1b8719f98bcb62123c3f002580531491c5f9f960 \ No newline at end of file + hash: 1b8719f98bcb62123c3f002580531491c5f9f960 diff --git a/deliverables/liberty/automaton.yaml b/deliverables/liberty/automaton.yaml index 2441e47cc2..9d74ecf8b0 100644 --- a/deliverables/liberty/automaton.yaml +++ b/deliverables/liberty/automaton.yaml @@ -1,5 +1,6 @@ --- launchpad: automaton +send-announcements-to: openstack-dev@lists.openstack.org releases: - version: 0.2.0 projects: @@ -24,4 +25,4 @@ releases: - version: 0.7.0 projects: - repo: openstack/automaton - hash: e5d9c91e19fba9115f6a7d3d3f9e7023849bdb74 \ No newline at end of file + hash: e5d9c91e19fba9115f6a7d3d3f9e7023849bdb74 diff --git a/deliverables/liberty/debtcollector.yaml b/deliverables/liberty/debtcollector.yaml index 8b098ee901..b24a21efe3 100644 --- a/deliverables/liberty/debtcollector.yaml +++ b/deliverables/liberty/debtcollector.yaml @@ -1,5 +1,6 @@ --- launchpad: debtcollector +send-announcements-to: openstack-dev@lists.openstack.org releases: - version: 0.5.0 projects: @@ -16,4 +17,4 @@ releases: - version: 0.8.0 projects: - repo: openstack/debtcollector - hash: ceb020b235ff91b6a1d89477de2dfabbcf0bba26 \ No newline at end of file + hash: ceb020b235ff91b6a1d89477de2dfabbcf0bba26 diff --git a/deliverables/liberty/ironic-inspector.yaml b/deliverables/liberty/ironic-inspector.yaml index 692754660a..aab802e9c0 100644 --- a/deliverables/liberty/ironic-inspector.yaml +++ b/deliverables/liberty/ironic-inspector.yaml @@ -1,6 +1,7 @@ --- launchpad: ironic-inspector -release-notes: http://docs.openstack.org/releasenotes/ironic-inspector/liberty.html +release-notes: > + http://docs.openstack.org/releasenotes/ironic-inspector/liberty.html send-announcements-to: openstack-announce@lists.openstack.org releases: - version: 2.0.0 diff --git a/deliverables/liberty/os-brick.yaml b/deliverables/liberty/os-brick.yaml index 50a18fc546..b95a67b11f 100644 --- a/deliverables/liberty/os-brick.yaml +++ b/deliverables/liberty/os-brick.yaml @@ -1,5 +1,6 @@ --- launchpad: os-brick +send-announcements-to: openstack-dev@lists.openstack.org releases: - version: 0.2.0 projects: @@ -35,4 +36,3 @@ releases: hash: 5ac54d4e0c89daba1be80702ee4060a538c08754 highlights: > Log message fixes that prevent messages from being displayed at all. - diff --git a/deliverables/liberty/oslo.config.yaml b/deliverables/liberty/oslo.config.yaml index d84f801666..a8bd41c2f4 100644 --- a/deliverables/liberty/oslo.config.yaml +++ b/deliverables/liberty/oslo.config.yaml @@ -1,5 +1,6 @@ --- launchpad: oslo.config +send-announcements-to: openstack-dev@lists.openstack.org releases: - version: 1.10.0 projects: @@ -48,4 +49,4 @@ releases: - version: 2.4.0 projects: - repo: openstack/oslo.config - hash: 7a9f4e7d670d5e74af85fd28edd898babc9d230b \ No newline at end of file + hash: 7a9f4e7d670d5e74af85fd28edd898babc9d230b diff --git a/deliverables/liberty/oslo.db.yaml b/deliverables/liberty/oslo.db.yaml index cf948041ae..5ae73c4444 100644 --- a/deliverables/liberty/oslo.db.yaml +++ b/deliverables/liberty/oslo.db.yaml @@ -1,5 +1,6 @@ --- launchpad: oslo.db +send-announcements-to: openstack-dev@lists.openstack.org releases: - version: 1.8.0 projects: @@ -52,4 +53,4 @@ releases: - version: 2.6.0 projects: - repo: openstack/oslo.db - hash: 7991f129b6cb376689bf68330914b3d2d2a9dfaa \ No newline at end of file + hash: 7991f129b6cb376689bf68330914b3d2d2a9dfaa diff --git a/deliverables/liberty/oslo.versionedobjects.yaml b/deliverables/liberty/oslo.versionedobjects.yaml index a170756257..3b7a90a76c 100644 --- a/deliverables/liberty/oslo.versionedobjects.yaml +++ b/deliverables/liberty/oslo.versionedobjects.yaml @@ -1,5 +1,6 @@ --- launchpad: oslo.versionedobjects +send-announcements-to: openstack-dev@lists.openstack.org releases: - version: 0.2.0 projects: @@ -44,4 +45,4 @@ releases: - version: 0.10.0 projects: - repo: openstack/oslo.versionedobjects - hash: ccbc6429472a697d69bbd844551ca8649ba5c313 \ No newline at end of file + hash: ccbc6429472a697d69bbd844551ca8649ba5c313 diff --git a/deliverables/liberty/oslosphinx.yaml b/deliverables/liberty/oslosphinx.yaml index e58038387a..ff81a38692 100644 --- a/deliverables/liberty/oslosphinx.yaml +++ b/deliverables/liberty/oslosphinx.yaml @@ -1,5 +1,6 @@ --- launchpad: oslosphinx +send-announcements-to: openstack-dev@lists.openstack.org releases: - version: 3.0.0 projects: @@ -12,4 +13,4 @@ releases: - version: 3.2.0 projects: - repo: openstack/oslosphinx - hash: 3f9bccefc9f2bf5f2fbff1eb6cf6d35db39fa3fd \ No newline at end of file + hash: 3f9bccefc9f2bf5f2fbff1eb6cf6d35db39fa3fd diff --git a/deliverables/liberty/stevedore.yaml b/deliverables/liberty/stevedore.yaml index 9e6d6aabdf..97f2c141fa 100644 --- a/deliverables/liberty/stevedore.yaml +++ b/deliverables/liberty/stevedore.yaml @@ -1,5 +1,6 @@ --- launchpad: stevedore +send-announcements-to: openstack-dev@lists.openstack.org releases: - version: 1.7.0 projects: @@ -8,4 +9,4 @@ releases: - version: 1.8.0 projects: - repo: openstack/stevedore - hash: d229c846c6bdb763e43858edd999f3360caf7500 \ No newline at end of file + hash: d229c846c6bdb763e43858edd999f3360caf7500 diff --git a/deliverables/mitaka/automaton.yaml b/deliverables/mitaka/automaton.yaml index 34bcf9fe4c..424723046a 100644 --- a/deliverables/mitaka/automaton.yaml +++ b/deliverables/mitaka/automaton.yaml @@ -18,4 +18,4 @@ releases: - version: 1.2.0 projects: - repo: openstack/automaton - hash: 3f93f0133055a4a5643d1f84ec128f96079a63a2 \ No newline at end of file + hash: 3f93f0133055a4a5643d1f84ec128f96079a63a2 diff --git a/deliverables/mitaka/debtcollector.yaml b/deliverables/mitaka/debtcollector.yaml index c0c85f77af..cc897d2591 100644 --- a/deliverables/mitaka/debtcollector.yaml +++ b/deliverables/mitaka/debtcollector.yaml @@ -26,4 +26,4 @@ releases: - version: 1.3.0 projects: - repo: openstack/debtcollector - hash: e40dfd5e45d009424421cc00fc5ab31751404b13 \ No newline at end of file + hash: e40dfd5e45d009424421cc00fc5ab31751404b13 diff --git a/deliverables/mitaka/glance.yaml b/deliverables/mitaka/glance.yaml index 63af9c2325..80d1a89f90 100644 --- a/deliverables/mitaka/glance.yaml +++ b/deliverables/mitaka/glance.yaml @@ -9,4 +9,4 @@ releases: - version: 12.0.0.0b2 projects: - repo: openstack/glance - hash: 454dddd65072c1e3f1208e704f638f0dfb8fc7d9 \ No newline at end of file + hash: 454dddd65072c1e3f1208e704f638f0dfb8fc7d9 diff --git a/deliverables/mitaka/ironic-inspector.yaml b/deliverables/mitaka/ironic-inspector.yaml index bc1dd6947f..d7b34a31a4 100644 --- a/deliverables/mitaka/ironic-inspector.yaml +++ b/deliverables/mitaka/ironic-inspector.yaml @@ -1,6 +1,7 @@ --- launchpad: ironic-inspector -release-notes: http://docs.openstack.org/releasenotes/ironic-inspector/mitaka.html +release-notes: > + http://docs.openstack.org/releasenotes/ironic-inspector/mitaka.html send-announcements-to: openstack-announce@lists.openstack.org releases: - version: 2.3.0 diff --git a/deliverables/mitaka/ironic.yaml b/deliverables/mitaka/ironic.yaml index 7e8e4e6e61..301dbf6d5d 100644 --- a/deliverables/mitaka/ironic.yaml +++ b/deliverables/mitaka/ironic.yaml @@ -2,7 +2,7 @@ launchpad: ironic send-announcements-to: openstack-announce@lists.openstack.org releases: - - version: 4.3.0 - projects: - - repo: openstack/ironic - hash: 3d1ac2d83d73ce5b587254f95f03d27d9dfc73a5 + - version: 4.3.0 + projects: + - repo: openstack/ironic + hash: 3d1ac2d83d73ce5b587254f95f03d27d9dfc73a5 diff --git a/deliverables/mitaka/mistral.yaml b/deliverables/mitaka/mistral.yaml index ab76e73a06..becd990ec7 100644 --- a/deliverables/mitaka/mistral.yaml +++ b/deliverables/mitaka/mistral.yaml @@ -8,7 +8,6 @@ releases: hash: e398f9c5ff3e860fccae1a8257451a60b02506d1 - repo: openstack/mistral-dashboard hash: 977e0aeafc37e20228b8beb0c560135e14076176 -releases: - version: 2.0.0.0b2 projects: - repo: openstack/mistral diff --git a/deliverables/mitaka/oslo.cache.yaml b/deliverables/mitaka/oslo.cache.yaml index 96b16f927a..62be51b999 100644 --- a/deliverables/mitaka/oslo.cache.yaml +++ b/deliverables/mitaka/oslo.cache.yaml @@ -30,4 +30,4 @@ releases: - version: 1.4.0 projects: - repo: openstack/oslo.cache - hash: ee407d097912c4bdfca85d809aefb3cb8bc4ab89 \ No newline at end of file + hash: ee407d097912c4bdfca85d809aefb3cb8bc4ab89 diff --git a/deliverables/mitaka/oslo.i18n.yaml b/deliverables/mitaka/oslo.i18n.yaml index 9528f8a7ef..1bb98d3c11 100644 --- a/deliverables/mitaka/oslo.i18n.yaml +++ b/deliverables/mitaka/oslo.i18n.yaml @@ -26,4 +26,4 @@ releases: - version: 3.4.0 projects: - repo: openstack/oslo.i18n - hash: c6e44bc7868676581f9bc32bce03ab97cb0aff39 \ No newline at end of file + hash: c6e44bc7868676581f9bc32bce03ab97cb0aff39 diff --git a/deliverables/mitaka/oslo.messaging.yaml b/deliverables/mitaka/oslo.messaging.yaml index f169b642de..ca17e3ae22 100644 --- a/deliverables/mitaka/oslo.messaging.yaml +++ b/deliverables/mitaka/oslo.messaging.yaml @@ -52,9 +52,12 @@ releases: * Group oslo_messaging_notifications added to options. * ZeroMQ driver use_pub_sub by default for fanout messaging. * ZeroMQ driver zmq_target_expire option configures Redis records TTL. - * Kombu driver reply and fanout queues now expire instead of auto-delete. - * Kombu driver rabbit_qos_prefetch_count option to configure messages prefetch. - * Kombu driver rabbit_interval_max option to configure connection retries. + * Kombu driver reply and fanout queues now expire instead of + auto-delete. + * Kombu driver rabbit_qos_prefetch_count option to configure messages + prefetch. + * Kombu driver rabbit_interval_max option to configure connection + retries. - version: 4.2.0 projects: - repo: openstack/oslo.messaging @@ -72,4 +75,4 @@ releases: - version: 4.5.0 projects: - repo: openstack/oslo.messaging - hash: a1cd433687c026d154ed1ebf6d917902b89d68e7 \ No newline at end of file + hash: a1cd433687c026d154ed1ebf6d917902b89d68e7 diff --git a/deliverables/mitaka/oslo.middleware.yaml b/deliverables/mitaka/oslo.middleware.yaml index e62cc50672..82f744dc50 100644 --- a/deliverables/mitaka/oslo.middleware.yaml +++ b/deliverables/mitaka/oslo.middleware.yaml @@ -46,4 +46,4 @@ releases: - version: 3.7.0 projects: - repo: openstack/oslo.middleware - hash: bb8dbeb3a361586886b1bb060a3d98ffbf5f7e31 \ No newline at end of file + hash: bb8dbeb3a361586886b1bb060a3d98ffbf5f7e31 diff --git a/deliverables/mitaka/oslo.policy.yaml b/deliverables/mitaka/oslo.policy.yaml index bc3e669b93..89a04c7288 100644 --- a/deliverables/mitaka/oslo.policy.yaml +++ b/deliverables/mitaka/oslo.policy.yaml @@ -34,4 +34,4 @@ releases: - version: 1.5.0 projects: - repo: openstack/oslo.policy - hash: 5fb13edfe6271ded5d4e4cad355ef802e8fbbcb9 \ No newline at end of file + hash: 5fb13edfe6271ded5d4e4cad355ef802e8fbbcb9 diff --git a/deliverables/mitaka/oslo.privsep.yaml b/deliverables/mitaka/oslo.privsep.yaml index 17036209e2..24622ccb95 100644 --- a/deliverables/mitaka/oslo.privsep.yaml +++ b/deliverables/mitaka/oslo.privsep.yaml @@ -29,7 +29,6 @@ releases: projects: - repo: openstack/oslo.privsep hash: 693213039f455a7085eee09f5d7b16d4a24eaabf - - version: 1.3.0 projects: - repo: openstack/oslo.privsep diff --git a/deliverables/mitaka/oslo.reports.yaml b/deliverables/mitaka/oslo.reports.yaml index 16ac9c13dd..6db0db6358 100644 --- a/deliverables/mitaka/oslo.reports.yaml +++ b/deliverables/mitaka/oslo.reports.yaml @@ -42,4 +42,4 @@ releases: - version: 1.6.0 projects: - repo: openstack/oslo.reports - hash: 7878a1292a2df9ca99476a9310d305c7b23958df \ No newline at end of file + hash: 7878a1292a2df9ca99476a9310d305c7b23958df diff --git a/deliverables/mitaka/oslo.service.yaml b/deliverables/mitaka/oslo.service.yaml index e2aa8177af..3619ae731f 100644 --- a/deliverables/mitaka/oslo.service.yaml +++ b/deliverables/mitaka/oslo.service.yaml @@ -50,4 +50,4 @@ releases: - version: 1.7.0 projects: - repo: openstack/oslo.service - hash: c2288f282bcf4f4d869540b5ef6fa124dcf6ebff \ No newline at end of file + hash: c2288f282bcf4f4d869540b5ef6fa124dcf6ebff diff --git a/deliverables/mitaka/oslotest.yaml b/deliverables/mitaka/oslotest.yaml index c44e40e6f7..17bcf04cd3 100644 --- a/deliverables/mitaka/oslotest.yaml +++ b/deliverables/mitaka/oslotest.yaml @@ -22,4 +22,4 @@ releases: - version: 2.3.0 projects: - repo: openstack/oslotest - hash: b2f6ab8a3d7e6f4505373c028ec685446a0c8a95 \ No newline at end of file + hash: b2f6ab8a3d7e6f4505373c028ec685446a0c8a95 diff --git a/deliverables/mitaka/osprofiler.yaml b/deliverables/mitaka/osprofiler.yaml index 46c361ce8d..1690ca6f7a 100644 --- a/deliverables/mitaka/osprofiler.yaml +++ b/deliverables/mitaka/osprofiler.yaml @@ -18,4 +18,4 @@ releases: - version: 1.2.0 projects: - repo: openstack/osprofiler - hash: 54d58a77583468b51e6843cd1b3d6ef730da44f4 \ No newline at end of file + hash: 54d58a77583468b51e6843cd1b3d6ef730da44f4 diff --git a/deliverables/mitaka/pylockfile.yaml b/deliverables/mitaka/pylockfile.yaml index 7ab45893c3..55a93f1ff4 100644 --- a/deliverables/mitaka/pylockfile.yaml +++ b/deliverables/mitaka/pylockfile.yaml @@ -10,4 +10,4 @@ releases: - version: 0.12.2 projects: - repo: openstack/pylockfile - hash: c8798cedfbc4d738c99977a07cde2de54687ac6c \ No newline at end of file + hash: c8798cedfbc4d738c99977a07cde2de54687ac6c diff --git a/deliverables/mitaka/python-ironicclient.yaml b/deliverables/mitaka/python-ironicclient.yaml index cdcfb61991..606b5e555f 100644 --- a/deliverables/mitaka/python-ironicclient.yaml +++ b/deliverables/mitaka/python-ironicclient.yaml @@ -1,3 +1,4 @@ +--- launchpad: python-ironicclient send-announcements-to: openstack-announce@lists.openstack.org include-pypi-link: yes diff --git a/deliverables/mitaka/python-zaqarclient.yaml b/deliverables/mitaka/python-zaqarclient.yaml index bb2de21752..d8444028c0 100644 --- a/deliverables/mitaka/python-zaqarclient.yaml +++ b/deliverables/mitaka/python-zaqarclient.yaml @@ -5,7 +5,7 @@ include-pypi-link: yes releases: - version: 0.3.0 projects: - - repo: openstack/python-zaqarclient - hash: 647d73f491410fa173c48fb37a4a6aaad506f0a9 + - repo: openstack/python-zaqarclient + hash: 647d73f491410fa173c48fb37a4a6aaad506f0a9 highlights: > `flavor delete` command is renamed to `messaging flavor delete` diff --git a/tox.ini b/tox.ini index e39b21a444..fbda46de02 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,11 @@ setenv = basepython = python2.7 [testenv:validate] -commands = validate-request {posargs} +deps = + yamllint>=0.5.2 +commands = + yamllint -f parsable -c {toxinidir}/yamllint.yml deliverables + validate-request {posargs} [testenv:list-changes] setenv = diff --git a/yamllint.yml b/yamllint.yml new file mode 100644 index 0000000000..9173279bf7 --- /dev/null +++ b/yamllint.yml @@ -0,0 +1,9 @@ +--- +extends: default + +rules: + # 80 chars should be enough, but don't fail if a line is longer + line-length: + max: 80 + level: warning + allow-non-breakable-words: true \ No newline at end of file