From f58d2bdb3830da6218e5cdc9fe4adc27f6c46bb6 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 4 Dec 2015 12:08:25 +0100 Subject: [PATCH] Make gate-swift-python34 voting and add gate job After a long work which probably took one year or longer, the python34 check job of Swift now pass since the change I79f47fff6ec1adff214ca435f0d95aaf1ffd68f9. Well, only a very simple unit test is currently run on Python 3, but it's the first important milestone of the overall plan to port Swift to Python 3: http://lists.openstack.org/pipermail/openstack-dev/2015-October/078058.html To avoid reintroducing code incompatible (or dependencies incompatible) with Python 3 in the code tested by "tox -e py34", we must now make gate-swift-python34 voting. To be clear, this change doesn't force developers to make *all new changes* compatible with Python 3 immediatly. No. Only new changes touching the code tested by "tox -e py34" must be compatible with Python 3, it's a smooth transition. This change also adds gate-swift-python34 as a gate job, by reusing the python3-jobs template. The liberty branch of Swift is completly broken on Python 3: dependencies cannot be installed, the code is not compatible with Python 3, etc. So this change also removes gate-swift-python34 on Liberty to stop wasting resources of the openstack-infra. Let's focus on the master branch for Mitaka. Change-Id: If5664af152f7fa8929ee42d549641f9f7ed29841 --- zuul/layout.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zuul/layout.yaml b/zuul/layout.yaml index a4909ffa34..648f095920 100644 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -2058,8 +2058,7 @@ jobs: branch: ^(?!stable/(?:juno|kilo)).*$ - name: gate-swift-python34 - branch: ^(?!stable/(?:juno|kilo)).*$ - voting: false + branch: ^(?!stable/(?:juno|kilo|liberty)).*$ - name: gate-nova-python34 branch: ^(?!stable/(?:juno|kilo)).*$ @@ -9206,13 +9205,13 @@ projects: - name: merge-check - name: python26-jobs - name: python-jobs + - name: python3-jobs - name: openstack-server-publish-jobs - name: openstack-server-release-jobs - name: check-requirements - name: translation-jobs check: - gate-swift-tox-func - - gate-swift-python34 - gate-tempest-dsvm-full - gate-grenade-dsvm - gate-swift-dsvm-functional