Merge "stop supporting legacy release jobs"

This commit is contained in:
Zuul
2018-10-11 11:49:13 +00:00
committed by Gerrit Code Review
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',
],
}