summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2019-11-05 09:47:24 +0000
committerGerrit Code Review <review@openstack.org>2019-11-05 09:47:24 +0000
commit23e1dba5321662d3daf708fae54107b56419daac (patch)
treeb147f8399910c323a505f213195f0eb80e604476
parent36e2d74f8df7af860f26c7edb842e06396c916f5 (diff)
parentc512574e110c214396658743e75ae497ba76e2ff (diff)
downloadswift-23e1dba5321662d3daf708fae54107b56419daac.tar.gz
Merge "Make our py2 func tests more explicitly py2"
-rw-r--r--.zuul.yaml48
-rw-r--r--tox.ini12
2 files changed, 32 insertions, 28 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
index 9b8a48db3..61b23108d 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -70,7 +70,7 @@
post-run: tools/playbooks/common/cover-post.yaml
- job:
- name: swift-tox-func
+ name: swift-tox-func-py27
parent: swift-tox-base
description: |
Run functional tests for swift under cPython version 2.7.
@@ -145,12 +145,12 @@
tox_envlist: func-s3api-py3
- job:
- name: swift-tox-func-centos-7
- parent: swift-tox-func
+ name: swift-tox-func-py27-centos-7
+ parent: swift-tox-func-py27
nodeset: centos-7
- job:
- name: swift-tox-func-encryption
+ name: swift-tox-func-encryption-py27
parent: swift-tox-base
description: |
Run functional tests for swift under cPython version 2.7.
@@ -162,12 +162,12 @@
tox_envlist: func-encryption
- job:
- name: swift-tox-func-encryption-centos-7
- parent: swift-tox-func-encryption
+ name: swift-tox-func-encryption-py27-centos-7
+ parent: swift-tox-func-encryption-py27
nodeset: centos-7
- job:
- name: swift-tox-func-ec
+ name: swift-tox-func-ec-py27
parent: swift-tox-base
description: |
Run functional tests for swift under cPython version 2.7.
@@ -179,12 +179,12 @@
tox_envlist: func-ec
- job:
- name: swift-tox-func-ec-centos-7
- parent: swift-tox-func-ec
+ name: swift-tox-func-ec-py27-centos-7
+ parent: swift-tox-func-ec-py27
nodeset: centos-7
- job:
- name: swift-tox-func-domain-remap-staticweb
+ name: swift-tox-func-domain-remap-staticweb-py27
parent: swift-tox-base
description: |
Run functional tests for swift under cPython version 2.7.
@@ -196,7 +196,7 @@
tox_envlist: func-domain-remap-staticweb
- job:
- name: swift-tox-func-s3api
+ name: swift-tox-func-s3api-py27
parent: swift-tox-base
description: |
Run functional tests for swift under cPython version 2.7.
@@ -494,27 +494,27 @@
- ^test/(functional|probe)/.*$
# Functional tests
- - swift-tox-func:
+ - swift-tox-func-py27:
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/probe/.*$
- ^(.gitreview|.mailmap|AUTHORS|CHANGELOG)$
- - swift-tox-func-encryption:
+ - swift-tox-func-encryption-py27:
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/probe/.*$
- ^(.gitreview|.mailmap|AUTHORS|CHANGELOG)$
- - swift-tox-func-domain-remap-staticweb:
+ - swift-tox-func-domain-remap-staticweb-py27:
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/probe/.*$
- ^(.gitreview|.mailmap|AUTHORS|CHANGELOG)$
- - swift-tox-func-ec:
+ - swift-tox-func-ec-py27:
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/probe/.*$
- ^(.gitreview|.mailmap|AUTHORS|CHANGELOG)$
- - swift-tox-func-s3api:
+ - swift-tox-func-s3api-py27:
irrelevant-files:
- ^(api-ref|doc|releasenotes)/.*$
- ^test/probe/.*$
@@ -618,11 +618,11 @@
- swift-tox-py27
- swift-tox-py36
- swift-tox-py37
- - swift-tox-func
- - swift-tox-func-encryption
- - swift-tox-func-domain-remap-staticweb
- - swift-tox-func-ec
- - swift-tox-func-s3api
+ - swift-tox-func-py27
+ - swift-tox-func-encryption-py27
+ - swift-tox-func-domain-remap-staticweb-py27
+ - swift-tox-func-ec-py27
+ - swift-tox-func-s3api-py27
- swift-tox-func-py37
- swift-tox-func-encryption
- swift-tox-func-domain-remap-staticweb-py37
@@ -677,9 +677,9 @@
experimental:
jobs:
- swift-tox-py27-centos-7
- - swift-tox-func-centos-7
- - swift-tox-func-encryption-centos-7
- - swift-tox-func-ec-centos-7
+ - swift-tox-func-py27-centos-7
+ - swift-tox-func-encryption-py27-centos-7
+ - swift-tox-func-ec-py27-centos-7
- swift-multinode-rolling-upgrade-queens
- swift-multinode-rolling-upgrade-rocky
- swift-multinode-rolling-upgrade-stein
diff --git a/tox.ini b/tox.ini
index 292f34a83..18567359d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -40,10 +40,6 @@ commands =
basepython = python3
commands = {[testenv:pep8]commands}
-[testenv:func]
-basepython = python2.7
-commands = ./.functests {posargs}
-
[testenv:func-py3]
basepython = python3
commands = ./.functests {posargs}
@@ -72,22 +68,30 @@ commands = ./.functests {posargs}
setenv = SWIFT_TEST_IN_PROCESS=1
SWIFT_TEST_IN_PROCESS_CONF_LOADER=domain_remap_staticweb
+[testenv:func]
+basepython = python2.7
+commands = ./.functests {posargs}
+
[testenv:func-encryption]
+basepython = python2.7
commands = ./.functests {posargs}
setenv = SWIFT_TEST_IN_PROCESS=1
SWIFT_TEST_IN_PROCESS_CONF_LOADER=encryption
[testenv:func-domain-remap-staticweb]
+basepython = python2.7
commands = ./.functests {posargs}
setenv = SWIFT_TEST_IN_PROCESS=1
SWIFT_TEST_IN_PROCESS_CONF_LOADER=domain_remap_staticweb
[testenv:func-ec]
+basepython = python2.7
commands = ./.functests {posargs}
setenv = SWIFT_TEST_IN_PROCESS=1
SWIFT_TEST_IN_PROCESS_CONF_LOADER=ec
[testenv:func-s3api]
+basepython = python2.7
commands = ./.functests {posargs}
setenv = SWIFT_TEST_IN_PROCESS=1
SWIFT_TEST_IN_PROCESS_CONF_LOADER=s3api