Fix ansible-tests for devel branch
Ignore for now deprecation warnings (see https://github.com/ansible-collections/overview/issues/45#issuecomment-628262697) Current there are bugs in ansible-test that prevent to run these tests. Change-Id: I9829bb23a45699e61d7b0af5ecc3e1a94bbbca85
This commit is contained in:
parent
f89644973d
commit
7e4fbcf568
plugins/modules
tests
tools
@ -7,7 +7,6 @@ DOCUMENTATION = '''
|
|||||||
---
|
---
|
||||||
module: routers_info
|
module: routers_info
|
||||||
short_description: Retrieve information about one or more OpenStack routers.
|
short_description: Retrieve information about one or more OpenStack routers.
|
||||||
version_added: "2.10"
|
|
||||||
author: "Bram Verschueren (@bverschueren)"
|
author: "Bram Verschueren (@bverschueren)"
|
||||||
description:
|
description:
|
||||||
- Retrieve information about one or more routers from OpenStack.
|
- Retrieve information about one or more routers from OpenStack.
|
||||||
|
@ -11,7 +11,6 @@ DOCUMENTATION = '''
|
|||||||
---
|
---
|
||||||
module: server
|
module: server
|
||||||
short_description: Create/Delete Compute Instances from OpenStack
|
short_description: Create/Delete Compute Instances from OpenStack
|
||||||
version_added: "2.0"
|
|
||||||
author: "Monty Taylor (@emonty)"
|
author: "Monty Taylor (@emonty)"
|
||||||
description:
|
description:
|
||||||
- Create or Remove compute instances from OpenStack.
|
- Create or Remove compute instances from OpenStack.
|
||||||
@ -162,7 +161,6 @@ options:
|
|||||||
scheduler_hints:
|
scheduler_hints:
|
||||||
description:
|
description:
|
||||||
- Arbitrary key/value pairs to the scheduler for custom use
|
- Arbitrary key/value pairs to the scheduler for custom use
|
||||||
version_added: "2.1"
|
|
||||||
type: dict
|
type: dict
|
||||||
state:
|
state:
|
||||||
description:
|
description:
|
||||||
@ -176,7 +174,6 @@ options:
|
|||||||
associated with the instance will be deleted along with the instance.
|
associated with the instance will be deleted along with the instance.
|
||||||
type: bool
|
type: bool
|
||||||
default: 'no'
|
default: 'no'
|
||||||
version_added: "2.2"
|
|
||||||
reuse_ips:
|
reuse_ips:
|
||||||
description:
|
description:
|
||||||
- When I(auto_ip) is true and this option is true, the I(auto_ip) code
|
- When I(auto_ip) is true and this option is true, the I(auto_ip) code
|
||||||
@ -188,7 +185,6 @@ options:
|
|||||||
the server is deleted using I(delete_fip).
|
the server is deleted using I(delete_fip).
|
||||||
type: bool
|
type: bool
|
||||||
default: 'yes'
|
default: 'yes'
|
||||||
version_added: "2.2"
|
|
||||||
availability_zone:
|
availability_zone:
|
||||||
description:
|
description:
|
||||||
- Availability zone in which to create the server.
|
- Availability zone in which to create the server.
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
plugins/modules/compute_flavor_info.py pylint:invalid-tagged-version
|
||||||
|
plugins/modules/identity_domain_info.py pylint:invalid-tagged-version
|
||||||
|
plugins/modules/identity_user_info.py pylint:invalid-tagged-version
|
||||||
|
plugins/modules/image_info.py pylint:invalid-tagged-version
|
||||||
|
plugins/modules/networks_info.py pylint:invalid-tagged-version
|
||||||
|
plugins/modules/port_info.py pylint:invalid-tagged-version
|
||||||
|
plugins/modules/project_info.py pylint:invalid-tagged-version
|
||||||
|
plugins/modules/server_info.py pylint:invalid-tagged-version
|
||||||
|
plugins/modules/subnets_info.py pylint:invalid-tagged-version
|
@ -96,7 +96,7 @@ if sys.version_info >= (3,) and sys.version_info < (3, 4, 4):
|
|||||||
|
|
||||||
global file_spec
|
global file_spec
|
||||||
if file_spec is None:
|
if file_spec is None:
|
||||||
import _io # pylint: disable=import-outside-toplevel
|
import _io # noqa
|
||||||
file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
|
file_spec = list(set(dir(_io.TextIOWrapper)).union(set(dir(_io.BytesIO))))
|
||||||
|
|
||||||
if mock is None:
|
if mock is None:
|
||||||
|
@ -24,6 +24,7 @@ mkdir -p ${ANSIBLE_COLLECTIONS_PATH}/ansible_collections/openstack/cloud
|
|||||||
cp -a ${TOXDIR}/{plugins,meta,scripts,tests,docs} ${ANSIBLE_COLLECTIONS_PATH}/ansible_collections/openstack/cloud
|
cp -a ${TOXDIR}/{plugins,meta,scripts,tests,docs} ${ANSIBLE_COLLECTIONS_PATH}/ansible_collections/openstack/cloud
|
||||||
cd ${ANSIBLE_COLLECTIONS_PATH}/ansible_collections/openstack/cloud/
|
cd ${ANSIBLE_COLLECTIONS_PATH}/ansible_collections/openstack/cloud/
|
||||||
ansible-test sanity -v \
|
ansible-test sanity -v \
|
||||||
|
--venv \
|
||||||
--skip-test metaclass-boilerplate \
|
--skip-test metaclass-boilerplate \
|
||||||
--skip-test future-import-boilerplate \
|
--skip-test future-import-boilerplate \
|
||||||
plugins/ docs/ meta/ scripts/ tests/
|
plugins/ docs/ meta/ scripts/ tests/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user