ba8447e056
Create a tox environment for running the unit tests against the lower bounds of the dependencies. Create a lower-constraints.txt to be used to enforce the lower bounds in those tests. Add openstack-tox-lower-constraints job to the zuul configuration. See http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html for more details. Change-Id: Iac4a202a1d723822d10f4d34a397eff9de3f2108 add the job in project-config: Depends-On: https://review.openstack.org/555034 remove branch optimiazation in check and add swift exclusions (series): Depends-On: https://review.openstack.org/560109 Signed-off-by: Doug Hellmann <doug@doughellmann.com> Co-Authored-By: Nguyen Hai <nguyentrihai93@gmail.com>
163 lines
4.2 KiB
YAML
163 lines
4.2 KiB
YAML
- job:
|
|
name: swift-tox-base
|
|
parent: openstack-tox-py27
|
|
description: |
|
|
Base job for swift-tox jobs.
|
|
|
|
It sets TMPDIR to an XFS mount point created via
|
|
tools/test-setup.sh.
|
|
timeout: 2400
|
|
vars:
|
|
tox_environment:
|
|
TMPDIR: '{{ ansible_env.HOME }}/xfstmp'
|
|
|
|
- job:
|
|
name: swift-tox-py27
|
|
parent: swift-tox-base
|
|
description: |
|
|
Run unit-tests for swift under cPython version 2.7.
|
|
|
|
Uses tox with the ``py27`` environment.
|
|
It sets TMPDIR to an XFS mount point created via
|
|
tools/test-setup.sh.
|
|
vars:
|
|
tox_envlist: py27
|
|
|
|
- job:
|
|
name: swift-tox-py27-centos-7
|
|
parent: swift-tox-py27
|
|
nodeset: centos-7
|
|
|
|
- job:
|
|
name: swift-tox-py35
|
|
parent: swift-tox-base
|
|
description: |
|
|
Run unit-tests for swift under cPython version 3.5.
|
|
|
|
Uses tox with the ``py35`` environment.
|
|
It sets TMPDIR to an XFS mount point created via
|
|
tools/test-setup.sh.
|
|
vars:
|
|
tox_envlist: py35
|
|
bindep_profile: test py35
|
|
|
|
- job:
|
|
name: swift-tox-func
|
|
parent: swift-tox-base
|
|
description: |
|
|
Run functional tests for swift under cPython version 2.7.
|
|
|
|
Uses tox with the ``func`` environment.
|
|
It sets TMPDIR to an XFS mount point created via
|
|
tools/test-setup.sh.
|
|
vars:
|
|
tox_envlist: func
|
|
|
|
- job:
|
|
name: swift-tox-func-centos-7
|
|
parent: swift-tox-func
|
|
nodeset: centos-7
|
|
|
|
- job:
|
|
name: swift-tox-func-encryption
|
|
parent: swift-tox-base
|
|
description: |
|
|
Run functional tests for swift under cPython version 2.7.
|
|
|
|
Uses tox with the ``func-encryption`` environment.
|
|
It sets TMPDIR to an XFS mount point created via
|
|
tools/test-setup.sh.
|
|
vars:
|
|
tox_envlist: func-encryption
|
|
|
|
- job:
|
|
name: swift-tox-func-encryption-centos-7
|
|
parent: swift-tox-func-encryption
|
|
nodeset: centos-7
|
|
|
|
- job:
|
|
name: swift-tox-func-ec
|
|
parent: swift-tox-base
|
|
description: |
|
|
Run functional tests for swift under cPython version 2.7.
|
|
|
|
Uses tox with the ``func-post-ec`` environment.
|
|
It sets TMPDIR to an XFS mount point created via
|
|
tools/test-setup.sh.
|
|
branches: ^(?!stable/ocata).*$
|
|
vars:
|
|
tox_envlist: func-ec
|
|
|
|
- job:
|
|
name: swift-tox-func-ec-centos-7
|
|
parent: swift-tox-func-ec
|
|
nodeset: centos-7
|
|
|
|
- job:
|
|
name: swift-tox-func-domain-remap-staticweb
|
|
parent: swift-tox-base
|
|
description: |
|
|
Run functional tests for swift under cPython version 2.7.
|
|
|
|
Uses tox with the ``func-domain-remap-staticweb`` environment.
|
|
It sets TMPDIR to an XFS mount point created via
|
|
tools/test-setup.sh.
|
|
vars:
|
|
tox_envlist: func-domain-remap-staticweb
|
|
|
|
- job:
|
|
name: swift-tox-func-s3api
|
|
parent: swift-tox-base
|
|
description: |
|
|
Run functional tests for swift under cPython version 2.7.
|
|
|
|
Uses tox with the ``func-s3api`` environment.
|
|
It sets TMPDIR to an XFS mount point created via
|
|
tools/test-setup.sh.
|
|
vars:
|
|
tox_envlist: func-s3api
|
|
|
|
- job:
|
|
name: swift-probetests-centos-7
|
|
parent: unittests
|
|
nodeset: centos-7
|
|
voting: true
|
|
description: |
|
|
Setup a SAIO dev environment and run Swift's probe tests
|
|
timeout: 3600
|
|
pre-run:
|
|
- tools/playbooks/saio_single_node_setup/install_dependencies.yaml
|
|
- tools/playbooks/saio_single_node_setup/setup_saio.yaml
|
|
- tools/playbooks/saio_single_node_setup/make_rings.yaml
|
|
run: tools/playbooks/probetests/run.yaml
|
|
post-run: tools/playbooks/probetests/post.yaml
|
|
|
|
- project:
|
|
check:
|
|
jobs:
|
|
- swift-tox-py27
|
|
- swift-tox-py35
|
|
- swift-tox-func
|
|
- swift-tox-func-encryption
|
|
- swift-tox-func-domain-remap-staticweb
|
|
- swift-tox-func-ec
|
|
- swift-tox-func-s3api
|
|
- swift-probetests-centos-7
|
|
- openstack-tox-lower-constraints
|
|
gate:
|
|
jobs:
|
|
- swift-tox-py27
|
|
- swift-tox-py35
|
|
- swift-tox-func
|
|
- swift-tox-func-encryption
|
|
- swift-tox-func-domain-remap-staticweb
|
|
- swift-tox-func-ec
|
|
- swift-tox-func-s3api
|
|
- openstack-tox-lower-constraints
|
|
experimental:
|
|
jobs:
|
|
- swift-tox-py27-centos-7
|
|
- swift-tox-func-centos-7
|
|
- swift-tox-func-encryption-centos-7
|
|
- swift-tox-func-ec-centos-7
|