Merge "Separate out configuration tests"
This commit is contained in:
commit
6cd76cb591
20
.zuul.yaml
20
.zuul.yaml
@ -28,6 +28,25 @@
|
||||
- ^tox.ini$
|
||||
- ^\.zuul\.yaml$
|
||||
|
||||
- job:
|
||||
name: glance-code-constants-check
|
||||
parent: tox
|
||||
description: |
|
||||
Tests to catch when code constants have gotten out of sync.
|
||||
vars:
|
||||
tox_envlist: gateonly
|
||||
irrelevant-files:
|
||||
- ^(test-|)requirements.txt$
|
||||
- ^lower-constraints.txt$
|
||||
- ^.*\.rst$
|
||||
- ^api-ref/.*$
|
||||
- ^doc/.*$
|
||||
- ^etc/.*$
|
||||
- ^releasenotes/.*$
|
||||
- ^setup.cfg$
|
||||
- ^tox.ini$
|
||||
- ^\.zuul\.yaml$
|
||||
|
||||
- job:
|
||||
name: glance-tox-oslo-tips-base
|
||||
parent: tox
|
||||
@ -216,6 +235,7 @@
|
||||
- openstack-tox-functional-py35
|
||||
- glance-eventlet-ssl-handshake-broken-py35:
|
||||
voting: false
|
||||
- glance-code-constants-check
|
||||
- devstack-plugin-ceph-tempest:
|
||||
voting: false
|
||||
irrelevant-files:
|
||||
|
11
glance/tests/gate/README
Normal file
11
glance/tests/gate/README
Normal file
@ -0,0 +1,11 @@
|
||||
===============
|
||||
Gate-only tests
|
||||
===============
|
||||
|
||||
These tests catch configuration problems for some code constants that
|
||||
must be maintained manually. We have them separated out from the other
|
||||
tests so that they can easily be run in their own gate job and don't
|
||||
affect local development.
|
||||
|
||||
It would be nice if someone with some free time could figure out how
|
||||
to make these changes automatic (or unnecessary) ...
|
0
glance/tests/gate/__init__.py
Normal file
0
glance/tests/gate/__init__.py
Normal file
12
tox.ini
12
tox.ini
@ -90,6 +90,18 @@ setenv =
|
||||
commands =
|
||||
stestr run --whitelist-file ./broken-functional-py35-ssl-tests.txt {posargs}
|
||||
|
||||
[testenv:gateonly]
|
||||
# NOTE(rosmaita): these tests catch configuration problems for some code
|
||||
# constants that must be maintained manually; we have them separated out
|
||||
# so they don't affect local development
|
||||
# TODO(someone other than me): figure out how to make these changes either
|
||||
# automatic or unnecessary
|
||||
basepython = python3
|
||||
setenv =
|
||||
TEST_PATH = ./glance/tests/gate
|
||||
commands =
|
||||
stestr run {posargs}
|
||||
|
||||
[testenv:pep8]
|
||||
basepython = python3
|
||||
commands =
|
||||
|
Loading…
Reference in New Issue
Block a user