Commit Graph

223 Commits (aab6afe145027a5a641280edeb2344fab258ad02)

Author SHA1 Message Date
Priyam Sahoo 1c9866e8d8
Added 'ip', 'ip_address' test plugins (#68)
Added 'ip', 'ip_address' test plugins

Reviewed-by: https://github.com/apps/ansible-zuul
2021-05-06 11:12:27 +00:00
Priyam Sahoo c09bbacdbc
Added 'in_any_network', 'in_network', 'in_one_network' test plugins (#66)
Added 'in_any_network', 'in_network', 'in_one_network' test plugins

Reviewed-by: https://github.com/apps/ansible-zuul
2021-05-03 14:22:35 +00:00
Ashwini Mhatre c32e3960ff
release 2.1.0 (#67)
Add chanagelog for 2.1.0

Reviewed-by: https://github.com/apps/ansible-zuul
2021-04-27 15:18:34 +00:00
stoned 7458f4e44a
Add missing test requirements (#57)
Add missing test requirements

Reviewed-by: https://github.com/apps/ansible-zuul
2021-04-27 08:26:47 +00:00
Ashwini Mhatre 43e77543d9
Add to_xml and from_xml filter plugin (#56)
Add to_xml and from_xml filter plugin

Reviewed-by: https://github.com/apps/ansible-zuul
2021-04-09 13:20:17 +00:00
Andrew Klychkov c04eecdfc2
Add ignore-2.12.txt (#63)
Add ignore-2.12.txt

Reviewed-by: https://github.com/apps/ansible-zuul
2021-04-08 08:05:39 +00:00
Nathaniel Case 4a66f0f160
Add pre-commit config file (#62)
Add pre-commit config file

Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-31 17:43:38 +00:00
Nilashish Chakraborty 0bd35af5eb
Add changelog for 2.0.2 (#59)
Add changelog for v2.0.2

Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-30 13:47:05 +00:00
Nilashish Chakraborty 1d28b7a1d7
Fix index_of integration test (#61)
Fix index_of integration test

Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-30 11:57:39 +00:00
Ganesh Nalawade f5dd4b80e7
Fix jsonschma input data validation (#50)
Fix jsonschma input data validation

Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-15 09:00:44 +00:00
Ganesh Nalawade 4c531bb418
Fix cli_parse template_path read error (#51)
Fix cli_parse template_path read error

Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-10 03:46:23 +00:00
Paul Belanger 6411be3a2b
Move CHANGELOG.rst to top-level (#48)
Move CHANGELOG.rst to top-level

Reviewed-by: https://github.com/apps/ansible-zuul
2021-03-02 23:21:57 +00:00
Ganesh Nalawade efe55ccf4c
Add changelog for v2.0.1 release (#47)
Add changelog for v2.0.1 release

Reviewed-by: https://github.com/apps/ansible-zuul
2021-02-25 19:51:39 +00:00
Ganesh Nalawade 1ce477a85b
Fix cli_parse module to support netcommon sub-plugins (#45)
Fix cli_parse module to support netcommon sub-plugins

Reviewed-by: https://github.com/apps/ansible-zuul
2021-02-17 13:07:25 +00:00
Paul Belanger 67b4ae93f2
Add plugin_type for ansible-doc (#41)
Add plugin_type for ansible-doc

Reviewed-by: https://github.com/apps/ansible-zuul
2021-02-01 19:58:18 +00:00
Ganesh Nalawade 472a8050ad
Add changelogs for 2.0.0 release (#40)
Add changelogs for 2.0.0 release

Reviewed-by: https://github.com/apps/ansible-zuul
2021-01-29 09:06:04 +00:00
Ganesh Nalawade 8aa8916e01
Move sub plugins under plugins/sub_plugins directory and common code in plugin_utils (#33)
Move sub plugins under plugins/sub_plugins directory and common code in plugin_utils

Reviewed-by: https://github.com/apps/ansible-zuul
2021-01-29 06:05:24 +00:00
Paul Belanger 3b7dcba9fe
Enable execution environment support (#38)
Enable execution environment support

Reviewed-by: https://github.com/apps/ansible-zuul
2021-01-28 18:16:41 +00:00
Ganesh Nalawade dccab0d9f1
Ansible 3.0.0 collection inclusion releated changes (#32)
Ansible 3.0.0 collection inclusion releated changes

Reviewed-by: https://github.com/apps/ansible-zuul
2021-01-25 11:27:04 +00:00
Ganesh Nalawade 038e2502fa
Update changelog.rst file location (#31)
Update changelog.rst file location

Reviewed-by: https://github.com/apps/ansible-zuul
2020-12-08 18:28:22 +00:00
Ganesh Nalawade abd07f8e7a
Changelog for v1.0.0 release (#30)
Changelog for v1.0.0 release

Reviewed-by: https://github.com/apps/ansible-zuul
2020-12-08 06:49:46 +00:00
Ganesh Nalawade f1954296eb
Add docs for cli_parse and fact_diff (#29)
Add docs for cli_parse and fact_diff

Reviewed-by: https://github.com/apps/ansible-zuul
2020-12-08 03:32:45 +00:00
Sandra McCann c9434fa95f
[1/2]docs copyedit for the ansible.utils collection (#26)
[1/2]docs copyedit for the ansible.utils collection

Reviewed-by: https://github.com/apps/ansible-zuul
2020-12-03 06:03:43 +00:00
Ganesh Nalawade a22cbd97b2
Add cli_parse module and plugins (#28)
Add cli_parse module and plugins

Reviewed-by: https://github.com/apps/ansible-zuul
2020-12-02 13:57:56 +00:00
GomathiselviS 3490b95957
Test Integration jobs (#25)
Test Integration jobs

Reviewed-by: https://github.com/apps/ansible-zuul
2020-11-06 01:00:43 +00:00
Bradley A. Thornton 3d762f7800
CI cleanup (#23)
CI cleanup

Reviewed-by: https://github.com/apps/ansible-zuul
2020-10-30 21:36:30 +00:00
Paul Belanger f5ab1d1b6a
Remove in-tree zuul.yaml file (#24)
Remove in-tree zuul.yaml file

Reviewed-by: https://github.com/apps/ansible-zuul
2020-10-30 13:51:18 +00:00
GomathiselviS 7f2b4e2b01
Testing CI (#21)
* DNM: Testing CI

* adding system-required

* removed .github

* Deleted .github

* build-ansible-collection

* removed build-ansible-collection

* Added integration job

* removed zuul.yaml

* testing

* Revert "removed zuul.yaml"

This reverts commit 6f64229926.

* removed nw integration job
2020-10-30 05:43:52 -07:00
Ganesh Nalawade 26b854f795
Merge pull request #20 from ganeshrn/validate_plugin_docs
Add validate plugin docs
2020-10-29 17:14:58 +05:30
Ganesh B Nalawade 18a6432362 update validate docs 2020-10-29 11:09:11 +05:30
Ganesh B Nalawade cf5e033556 Add validate plugin docs 2020-10-29 10:59:19 +05:30
Bradley A. Thornton 884105f112
Add docs (#19)
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-28 13:56:03 -07:00
Ganesh Nalawade 1807ee7c7b
Add validate action/lookup/filter/test plugin (#13)
* Initial commit

* Add validate lookup/filter/test plugin

*  Update agrspec validation logic
*  Add validate lookup/filter/test plugin

* minor updates

* remve unwanted code

* doc update

* update jsonschema validator plugin

* Add validate sub-plugin configurable option

* fix black failures

* fix ansible-test validate module issue

* fix santiy issues

* more santiy fixes

* remove GA black formatting

* add black

* fix black formatting

* fix black issues

* Add integration test and fix review comments

* add jsonschema to requirments

* fix ci issues

* update GA to install requirments

* fix GA to install requirments

* move ValidateBase to base file

* fix library not found issue in CI

* add unit test
2020-10-28 13:39:20 -07:00
Bradley A. Thornton c20ba34c7d
Fact diff (#15)
* Add fact_diff action

* Formatting

* Update docs

* Add skip_lines

* Update docs

* black

* bug fix

* Add units for fact_diff

* Initial changes to support plugin architecture

* Restructure docstring

* Integration test fix

* Wrap diff plugin with try/except

* Fix integration test

* Restructure code to allow for plugin failure test

* Examples, docs

* Fix debug statement

* Update examples

* Minor doc updates

* Minor doc updates

* Minor doc updates

* Add change log

Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-23 04:48:16 -07:00
Bradley A. Thornton a727928e3d
Show params in use for lookup and filter plugins (#18)
* Dedicated DOCUMENTATION for get_path

* Comment out cross collection example

* Remove sanity exception, unneeded

* Remove extra empty lines

* Dedicated DOCUMENTATION for index_of filter plugin

* Dedicated DOCUMENTATION for to_paths filter plugin

* Add rst docs for filter plugins, update README

* lint and pep8 fixes

* filter plugin doc update for wantlist

* Because doc keys are sorted, add example of options in use

* Update docs

Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-21 11:22:30 -07:00
Bradley A. Thornton 3c42f13b30
Split filter docs (#17)
* Dedicated DOCUMENTATION for get_path

* Comment out cross collection example

* Remove sanity exception, unneeded

* Remove extra empty lines

* Dedicated DOCUMENTATION for index_of filter plugin

* Dedicated DOCUMENTATION for to_paths filter plugin

* Add rst docs for filter plugins, update README

* lint and pep8 fixes

* filter plugin doc update for wantlist

Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-21 10:45:34 -07:00
Bradley A. Thornton 52118d8bb7
Make 'doc' the default schema format (#16)
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-21 06:08:29 -07:00
Bradley A. Thornton 188463f7be
update_fact plugin + units (#10)
* update_fact plugin + units

* Update README, add doc

* Add some update_fact integration tests

* Add missing test for not (index_of)

* Update fact doc updates

* Update rst from doc

* Examples as yaml

* Some developer notes (#11)

Co-authored-by: cidrblock <brad@thethorntons.net>

* Updated self._task.args from updated_data provided back from aav

* Argspec default fix (#12)

* Return data updated with default values from aav.validate()

* Update aav docs

Co-authored-by: cidrblock <brad@thethorntons.net>

* update_fact plugin + units

* Update README, add doc

* Add some update_fact integration tests

* Add missing test for not (index_of)

* Update fact doc updates

* Update rst from doc

* Examples as yaml

* Updated self._task.args from updated_data provided back from aav

* recheck

* Plugin cleanup (#14)

* WIP

* Add argspec validation to plugins, restructure tests

* Update docs

* Pre PY3.8 compat changes

* Run black to fix quotes

* Seems the order of missing keys varies between 2.9 and 2.10

* More error ordering issues fixed during argspec validation

* More black, wrong version

Co-authored-by: cidrblock <brad@thethorntons.net>

* update_fact plugin + units

* Update README, add doc

* Add some update_fact integration tests

* Update fact doc updates

* Update rst from doc

* Examples as yaml

* Updated self._task.args from updated_data provided back from aav

* recheck

Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-20 12:32:35 -07:00
Bradley A. Thornton bcddde229d
Plugin cleanup (#14)
* WIP

* Add argspec validation to plugins, restructure tests

* Update docs

* Pre PY3.8 compat changes

* Run black to fix quotes

* Seems the order of missing keys varies between 2.9 and 2.10

* More error ordering issues fixed during argspec validation

* More black, wrong version

Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-20 12:14:23 -07:00
Bradley A. Thornton 024daa9dfe
Argspec default fix (#12)
* Return data updated with default values from aav.validate()

* Update aav docs

Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-20 07:50:08 -07:00
Bradley A. Thornton 3011554520
Some developer notes (#11)
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-20 05:35:36 -07:00
Bradley A. Thornton 59eb835d96
Ansible arg spec validation using AnsibleModule (#9)
* Add argspec validator

* Add argspec validator

* Remove usused param

* lint fix

* Remove unneeded import

* Add sort_list tests

* Unit tests for dict_merge

* lint fix

* argspec unit tests

* Remove q

* Rerun black

* doc updates

Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-19 08:23:50 -07:00
Bradley A. Thornton 12333c2386
Simple doc updates (#8)
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-15 06:58:59 -07:00
Bradley A. Thornton 197b9d93b9
Add index_of plugin (#6)
* Add index_of filter/lookup plugin

* Update README

* Fix unittest import, black

* Remove true/false tests as ansible 2.9 uses jinja 2.10, need 2.11

* Add jinja > 2.11 to unit test requirements

* Reformat requirements file

* Limit unit to tests available in < jinja 2.11

* Reblack

* Remove float (j 2.11)

* Add integration tests, update docstring

* Comment out test using integer, requires jinja 2.11

* doc updates

Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-15 05:52:14 -07:00
Bradley A. Thornton 309ccb5563
Update merge_on_gate.yml (#7)
Fix to merge action
2020-10-15 12:37:54 +00:00
Bradley A. Thornton 97052314c8
modify readme (#5)
Co-authored-by: cidrblock <brad@thethorntons.net>
2020-10-13 21:23:50 +00:00
Bradley A. Thornton 2e14bcecc1
Merge pull request #4 from cidrblock/add_gate_merge
Add gate merge
2020-10-13 14:06:50 -07:00
Bradley A. Thornton ff18364f77
Merge branch 'main' into add_gate_merge 2020-10-13 13:58:30 -07:00
cidrblock b5bcdf7ac7 Add merge on gate 2020-10-13 13:56:57 -07:00
cidrblock 701299c3fe Add runs-on to publish 2020-10-13 13:55:38 -07:00