Remove queue declaration and fix docs jobs

This commit combines the following changes:

* Remove lingering queue declaration from .zuul.yaml file.

    https://review.opendev.org/859777 (master)
    Co-authored-by: Matthias Runge <mrunge@redhat.com>

* Replace oslo_utils.fnmatch with fnmatch

    The oslo_utils.fnmatch module was added to solve an
    issue in py2.7 but it is no longer required because
    py2.7 is no longer supported. The module was deprecated
    since oslo.utils 4.9.1[1] and the stdlib's fnmatch
    module should be used instead.

    https://review.opendev.org/799654 (master)
    https://review.opendev.org/852644 (stable/wallaby)
    Co-authored-by: Takashi Kajinami <tkajinam@redhat.com>

[1] 4c893c92f551c9dd2a7cfbe7ae8171ad8139df0b

Change-Id: I9b34ac062d45b2b839dc9d6e0cdce696185890e4
(cherry picked from commit 7e545b0fd9)
(cherry picked from commit 142cb0b6e6)
This commit is contained in:
Matthias Runge
2022-09-29 09:18:43 +02:00
committed by Yadnesh Kulkarni
parent 2569c9948e
commit 819b48fd54
4 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,6 @@
- telemetry-dsvm-integration-ipv6-only:
irrelevant-files: *ceilometer-irrelevant-files
gate:
queue: telemetry
jobs:
- grenade-ceilometer
- telemetry-dsvm-integration-centos-8s:

View File

@@ -13,11 +13,11 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import fnmatch
import os
import pkg_resources
from oslo_log import log
from oslo_utils import fnmatch
import yaml
LOG = log.getLogger(__name__)

View File

@@ -13,9 +13,10 @@
# License for the specific language governing permissions and limitations
# under the License.
import fnmatch
from oslo_config import cfg
from oslo_log import log
from oslo_utils import fnmatch
from oslo_utils import timeutils
import pkg_resources

View File

@@ -13,6 +13,7 @@
# License for the specific language governing permissions and limitations
# under the License.
from collections import defaultdict
import fnmatch
import hashlib
import itertools
import json
@@ -24,7 +25,6 @@ import uuid
from gnocchiclient import exceptions as gnocchi_exc
from keystoneauth1 import exceptions as ka_exceptions
from oslo_log import log
from oslo_utils import fnmatch
from oslo_utils import timeutils
from stevedore import extension
from urllib import parse as urlparse