Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating v1.0.0 for Ansible 2.10 base integration #96

Merged
merged 7 commits into from
Aug 19, 2020

Conversation

lhercot
Copy link
Member

@lhercot lhercot commented Aug 18, 2020

Update Ansible version in CI and add 2.10.0 to sanity in CI.
Fix sanity issues to support 2.10.0.
Fix M() and module to use FQCN.
Add changelog, bump version and update runtime.yml.
Update README with supported version.

Resolves #90

@codecov
Copy link

codecov bot commented Aug 18, 2020

Codecov Report

Merging #96 into master will increase coverage by 0.39%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #96      +/-   ##
==========================================
+ Coverage   75.66%   76.05%   +0.39%     
==========================================
  Files          47       46       -1     
  Lines        3838     3763      -75     
  Branches     1048     1028      -20     
==========================================
- Hits         2904     2862      -42     
+ Misses        744      720      -24     
+ Partials      190      181       -9     
Flag Coverage Δ
#integration 76.05% <100.00%> (+0.39%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
plugins/modules/mso_label.py 89.36% <ø> (ø)
plugins/modules/mso_role.py 97.95% <ø> (ø)
plugins/modules/mso_schema.py 60.41% <ø> (ø)
plugins/modules/mso_schema_site.py 63.63% <ø> (ø)
plugins/modules/mso_schema_site_anp.py 68.85% <ø> (ø)
plugins/modules/mso_schema_site_anp_epg.py 64.17% <ø> (ø)
plugins/modules/mso_schema_site_anp_epg_domain.py 99.37% <ø> (ø)
...lugins/modules/mso_schema_site_anp_epg_selector.py 99.22% <ø> (ø)
...gins/modules/mso_schema_site_anp_epg_staticleaf.py 18.42% <ø> (ø)
...gins/modules/mso_schema_site_anp_epg_staticport.py 99.12% <ø> (ø)
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 885dabe...29dab7e. Read the comment docs.

Copy link

@gundalow gundalow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI is failing with

\"/tmp/ansible_mso_user_payload_ol7_r2qe/ansible_mso_user_payload.zip/ansible_collections/cisco/mso/plugins/modules/mso_user.py\", line 274, in <module>\n  File \"/tmp/ansible_mso_user_payload_ol7_r2qe/ansible_mso_user_payload.zip/ansible_collections/cisco/mso/plugins/modules/mso_user.py\", line 198, in main\n  File \"/tmp/ansible_mso_user_payload_ol7_r2qe/ansible_mso_user_payload.zip/ansible_collections/cisco/mso/plugins/module_utils/mso.py\", line 391, in lookup_roles\nAttributeError: 'str' object has no attribute 'get'\n",

@@ -19,13 +19,12 @@
- Manage labels on Cisco ACI Multi-Site.
author:
- Dag Wieers (@dagwieers)
version_added: '2.8'
version_added: '0.0.1'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If these modules existed in github.com/ansible/ansible then this line can be removed.

plugins/modules/mso_schema_template_bd.py validate-modules:invalid-ansiblemodule-schema

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to see these being fixed, thanks :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea why I am having to still keep this invalid-ansiblemodule-schema because it seems to complain about a suboption inside a suboption item. Is that not supported?

@lhercot lhercot merged commit e4040ee into CiscoDevNet:master Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inclusion of cisco.mso in Ansible 2.10
2 participants