stop supporting legacy release jobs

Drop the legacy release jobs for python projects and require the use of
the new python3 job.

Change-Id: I3c6040983dd00f45c4322aa0fb3dd16fff6eef11
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-10-03 16:41:08 -04:00
parent 9af60bcb6b
commit 5fb6f55fd3
2 changed files with 3 additions and 8 deletions

View File

@ -137,20 +137,15 @@ def read_templates_from_repo(workdir, repo_name):
# Which jobs are needed for which release types.
_RELEASE_JOBS_FOR_TYPE = {
'python-service': [
'release-openstack-server',
'publish-to-pypi',
'publish-to-pypi-python3',
],
'python-pypi': [
'publish-to-pypi',
'publish-to-pypi-python3',
],
'neutron': [
'publish-to-pypi-neutron',
'publish-to-pypi-python3',
],
'horizon': [
'publish-to-pypi-horizon',
'publish-to-pypi-python3',
],
'nodejs': [
@ -163,7 +158,7 @@ _RELEASE_JOBS_FOR_TYPE = {
'puppet-release-jobs',
],
'xstatic': [
'publish-xstatic-to-pypi',
'publish-to-pypi-python3',
],
'fuel': [
# Fuel is manually packaged by the team at Mirantis.

View File

@ -114,7 +114,7 @@ class TestReleaseJobsGlobal(base.BaseTestCase):
self.ctx._zuul_projects = {
'openstack/releases': {
'templates': [
'publish-to-pypi',
'publish-to-pypi-python3',
],
},
}
@ -142,7 +142,7 @@ class TestReleaseJobsGlobal(base.BaseTestCase):
self.ctx._zuul_projects = {
'openstack/releases': {
'templates': [
'publish-to-pypi',
'publish-to-pypi-python3',
'puppet-tarball-jobs',
],
}