Fix zuul jobs
Some clients dropped support for py37, run the tips job with py38 instead. Drop lower-constraints jobs and use the latest version of the openstack-python3-jobs template. Fix pep8 errors that have crept in. Disable shade jobs until they can get fixed. Change-Id: I99871f28cd8a66adf5610104ca142c2871e99b0d
This commit is contained in:
parent
82a708b09f
commit
624cb97222
17
.zuul.yaml
17
.zuul.yaml
|
@ -1,8 +1,8 @@
|
|||
- job:
|
||||
name: os-client-config-tox-py37-tips
|
||||
parent: openstack-tox-py37
|
||||
name: os-client-config-tox-py38-tips
|
||||
parent: openstack-tox-py38
|
||||
description: |
|
||||
Run tox python 37 unittests against master of important libs
|
||||
Run tox python 38 unittests against master of important libs
|
||||
vars:
|
||||
tox_install_siblings: true
|
||||
zuul_work_dir: src/opendev.org/openstack/os-client-config
|
||||
|
@ -15,22 +15,21 @@
|
|||
name: os-client-config-tox-tips
|
||||
check:
|
||||
jobs:
|
||||
- os-client-config-tox-py37-tips
|
||||
- os-client-config-tox-py38-tips
|
||||
gate:
|
||||
jobs:
|
||||
- os-client-config-tox-py37-tips
|
||||
- os-client-config-tox-py38-tips
|
||||
|
||||
- project:
|
||||
templates:
|
||||
- check-requirements
|
||||
- lib-forward-testing-python3
|
||||
- openstack-lower-constraints-jobs
|
||||
- openstack-python3-ussuri-jobs
|
||||
- openstack-python3-zed-jobs
|
||||
- os-client-config-tox-tips
|
||||
- publish-openstack-docs-pti
|
||||
- release-notes-jobs-python3
|
||||
- shade-functional-tips
|
||||
- shade-tox-tips
|
||||
# - shade-functional-tips
|
||||
# - shade-tox-tips
|
||||
check:
|
||||
jobs:
|
||||
- openstack-tox-pep8
|
||||
|
|
|
@ -63,8 +63,8 @@ class TestCloudConfig(base.TestCase):
|
|||
|
||||
def test_iteration(self):
|
||||
cc = cloud_config.CloudConfig("test1", "region-al", fake_config_dict)
|
||||
self.assertTrue('a' in cc)
|
||||
self.assertFalse('x' in cc)
|
||||
self.assertIn('a', cc)
|
||||
self.assertNotIn('x', cc)
|
||||
|
||||
def test_equality(self):
|
||||
cc1 = cloud_config.CloudConfig("test1", "region-al", fake_config_dict)
|
||||
|
|
Loading…
Reference in New Issue