Create stable/1.0 branch for Tenks 1.0.x

This will allow us to create releases with Python 2 support, while
moving forward with the Python 2 drop on master.

Change-Id: Ie7a8f36c3b88f5451c44c5a37f1ac3543a942e6e
This commit is contained in:
Mark Goddard 2020-04-07 16:08:51 +01:00 committed by Sean McGinnis
parent 9708199e77
commit 21b5834257
2 changed files with 6 additions and 1 deletions

View File

@ -9,3 +9,6 @@ releases:
- hash: b783f1c66daeb4a8c2636025c74d17f167d9ca11
repo: openstack/tenks
version: 1.0.0
branches:
- location: 1.0.0
name: stable/1.0

View File

@ -85,6 +85,7 @@ _NO_STABLE_BRANCH_CHECK = set([
'gnocchi',
'rally',
'puppet-pacemaker', # tracks upstream version
'openstack/tenks',
])
_TYPE_TO_RELEASE_TYPE = {
@ -1472,7 +1473,8 @@ def validate_branch_prefixes(deliv, context):
def validate_stable_branches(deliv, context):
"Apply the rules for stable branches."
if deliv.launchpad_id in _NO_STABLE_BRANCH_CHECK:
if (deliv.launchpad_id in _NO_STABLE_BRANCH_CHECK or
deliv.storyboard_id in _NO_STABLE_BRANCH_CHECK):
print('rule does not apply to this repo, skipping')
return