From 5fc52e3580d92b794f7bfe8bf2a6d976cf9dda52 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 8 Aug 2018 11:39:52 -0400 Subject: [PATCH] only branch cycle-with-intermediary libraries automatically At the end of Rocky we branched python-tripleoclient before the team was ready because the script to prepare the list of branches did not take the release model into account. Fix that. Change-Id: I34c99f0d5c4a39f17b4de68558fc18fc10a7a706 Signed-off-by: Doug Hellmann --- openstack_releases/cmds/propose_library_branches.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/openstack_releases/cmds/propose_library_branches.py b/openstack_releases/cmds/propose_library_branches.py index d9750de83a..7f04463845 100644 --- a/openstack_releases/cmds/propose_library_branches.py +++ b/openstack_releases/cmds/propose_library_branches.py @@ -114,6 +114,10 @@ def main(): deliverable_data = yamlutils.loads(f.read()) if deliverable_data['type'] not in args.types: continue + if deliverable_data['release-model'] != 'cycle-with-intermediary': + print('WARNING {} has release model {}, skipping'.format( + deliverable_name, deliverable_data['release-model'])) + continue verbose('\n{}'.format(filename)) releases = deliverable_data.get('releases') if not releases: