Adding support of publish-to-pypi-stable-only template for deprecated repo

d7304b6416

Change-Id: I2aaac8414f9d49d1268eb3b8f3ec8c5467480399
This commit is contained in:
Hervé Beraud 2021-08-04 11:27:25 +02:00
parent 0b51f9d733
commit fa46c1fec4

View File

@ -138,15 +138,19 @@ def read_templates_from_repo(workdir, repo_name):
_RELEASE_JOBS_FOR_TYPE = { _RELEASE_JOBS_FOR_TYPE = {
'python-service': [ 'python-service': [
'publish-to-pypi', 'publish-to-pypi',
'publish-to-pypi-stable-only',
], ],
'python-pypi': [ 'python-pypi': [
'publish-to-pypi', 'publish-to-pypi',
'publish-to-pypi-stable-only',
], ],
'neutron': [ 'neutron': [
'publish-to-pypi', 'publish-to-pypi',
'publish-to-pypi-stable-only',
], ],
'horizon': [ 'horizon': [
'publish-to-pypi', 'publish-to-pypi',
'publish-to-pypi-stable-only',
], ],
'nodejs': [ 'nodejs': [
'nodejs4-publish-to-npm', 'nodejs4-publish-to-npm',
@ -159,6 +163,7 @@ _RELEASE_JOBS_FOR_TYPE = {
], ],
'xstatic': [ 'xstatic': [
'publish-to-pypi', 'publish-to-pypi',
'publish-to-pypi-stable-only',
], ],
'fuel': [ 'fuel': [
# Fuel is manually packaged by the team at Mirantis. # Fuel is manually packaged by the team at Mirantis.