Skip to content

Commit d07187f

Browse files
committed
Remove migration constant job and test
Since openstack release naming conventions has changed, current test which check data migration version will not work as expected and same is also blocking our gate. Removing this job and test to unblock the gate. NOTE: Going forward glance PTL/team needs to change the database migration version without fail at the start of release cycle. Change-Id: Idcb12a6c450d4ce4ee859e6e1f02fb71adf8c1d5
1 parent e9b40e1 commit d07187f

File tree

5 files changed

+0
-98
lines changed

5 files changed

+0
-98
lines changed

.zuul.yaml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
- job:
2-
name: glance-code-constants-check
3-
parent: tox
4-
description: |
5-
Tests to catch when code constants have gotten out of sync.
6-
vars:
7-
tox_envlist: gateonly
8-
irrelevant-files:
9-
- ^(test-|)requirements.txt$
10-
- ^.*\.rst$
11-
- ^api-ref/.*$
12-
- ^doc/.*$
13-
- ^etc/.*$
14-
- ^releasenotes/.*$
15-
- ^setup.cfg$
16-
- ^tox.ini$
17-
- ^\.zuul\.yaml$
18-
191
- job:
202
name: glance-tox-oslo-tips-base
213
parent: tox
@@ -321,7 +303,6 @@
321303
- openstack-tox-functional-py38-fips
322304
- openstack-tox-functional-py39
323305
- glance-tox-functional-py39-rbac-defaults
324-
- glance-code-constants-check
325306
- glance-ceph-thin-provisioning:
326307
voting: false
327308
irrelevant-files: &tempest-irrelevant-files

glance/tests/gate/README

Lines changed: 0 additions & 11 deletions
This file was deleted.

glance/tests/gate/__init__.py

Whitespace-only changes.

glance/tests/gate/test_data_migration_version.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

tox.ini

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,6 @@ basepython = python3
6767
commands =
6868
oslopolicy-sample-generator --config-file=etc/glance-policy-generator.conf
6969

70-
[testenv:gateonly]
71-
# NOTE(rosmaita): these tests catch configuration problems for some code
72-
# constants that must be maintained manually; we have them separated out
73-
# so they don't affect local development
74-
# TODO(someone other than me): figure out how to make these changes either
75-
# automatic or unnecessary
76-
setenv =
77-
TEST_PATH = ./glance/tests/gate
78-
commands =
79-
stestr run {posargs}
80-
8170
[testenv:pep8]
8271
commands =
8372
flake8 {posargs}

0 commit comments

Comments
 (0)