summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* consistently call tests tests, not filters (#68170)Alicia Cozine2020-03-251-1/+1
| | | Co-authored-by: Alicia Cozine <acozine@users.noreply.github.com>
* Add some more test coverage for unarchive (#68272)Rick Elrod2020-03-251-0/+108
| | | | | | | | | | | | | | | | | | | | | | | | * Add some more test coverage for unarchive This moves over (and slightly extends) coverage which was found in incidental_flatpak_remote. Signed-off-by: Rick Elrod <rick@elrod.me> * add a group for testing too, user creation does not mean group creation on all platforms Signed-off-by: Rick Elrod <rick@elrod.me> * update the test group assert Signed-off-by: Rick Elrod <rick@elrod.me> * Fix style Signed-off-by: Rick Elrod <rick@elrod.me> * block/always Signed-off-by: Rick Elrod <rick@elrod.me>
* coverage for filter/urls.py, including fallback to custom implementations ↵Rick Elrod2020-03-253-2/+47
| | | | | | (#68412) Signed-off-by: Rick Elrod <rick@elrod.me>
* [mathstuff] Get coverage into the 90% range (#68395)Rick Elrod2020-03-252-3/+240
| | | Signed-off-by: Rick Elrod <rick@elrod.me>
* Fix list formatting in Getting Started (#68153)Toby Foster2020-03-251-7/+9
|
* fix vault temp file handling (#68433)Brian Coca2020-03-258-2/+73
| | | | | | | | | | * fix vault tmpe file handling * use local temp dir instead of system temp * ensure each worker clears dataloader temp files * added test for dangling temp files * added notes to data loader CVE-2020-10685
* Update documenation contributions to reflect that some docs are in ↵Sandra McCann2020-03-251-5/+12
| | | | collections now (#68264)
* Explain module docs loss for devel (#68369)Sandra McCann2020-03-251-1/+1
|
* docs(windows_setup): +choco install openssh (#68408)Simon Legner2020-03-251-0/+4
| | | Also show most basic way of installing OpenSSH via Chocolatey
* correctly escape parameters with dashes (#68281)Tomáš Pospíšek2020-03-251-8/+8
|
* Remove old example playbooks dir. (#68409)Matt Clay2020-03-251-7/+0
| | | The content was relocated nearly 7 years ago.
* Remove MODULE_GUIDELINES.md (#68410)Matt Clay2020-03-251-5/+0
| | | The guidelines were moved to the docs site over 2 years ago.
* fix make webdocs warnings (#68411)Sandra McCann2020-03-254-5/+5
|
* windows - add docs for UNC path in PSModulePath error (#68421)Jordan Borean2020-03-251-0/+14
|
* fix broken link in developing collections (#68442)Sandra McCann2020-03-251-1/+1
|
* reclassify fact_path to avoid local relative path (#67652)Brian Coca2020-03-251-1/+1
| | | | | should fix following when setting windows path in ansible.cfg: {"ansible_facts": {}, "changed": false, "failed_modules": {"setup": {"changed": false, "failed": true, "msg": "Get-AnsibleParam: Parameter 'fact_path' has an invalid path '/home/myname/ansible/test/C:\\users\\vagrant\\facts.d\\' specified."}}, "msg": "The following modules failed to execute: setup\n"}
* Action module xross coll (#68080)Brian Coca2020-03-255-1/+106
| | | | | | | | | | | * added test to verify xrs collection action/module * added to runme * sanity fixes * corrected name * avoid windoez
* route filters themselves, not their files (#68429)Brian Coca2020-03-251-6/+50
|
* disable bot notification spam (#68460)jctanner2020-03-252-0/+2
| | | | | * disable bot notification spam * add new key to botmeta sanity
* ansible-test - fix up powershell module_util analysis for collections (#68422)Jordan Borean2020-03-243-7/+12
|
* Ignore test files in new package-data sanity test (#68452)Jordan Borean2020-03-251-0/+2
|
* ansible-galaxy - add download option (#67632)Jordan Borean2020-03-256-8/+240
| | | | | | | | | * ansible-galaxy - add download option * Fix sanity issues and added integration tests * Fix doc suggestions * Added --pre option
* add readme to test/support (#68450)Rick Elrod2020-03-241-0/+11
| | | Signed-off-by: Rick Elrod <rick@elrod.me>
* galaxy - preserve mode properly on artifact (#68418)Jordan Borean2020-03-254-14/+52
| | | | | | | | | | | | | * galaxy - preserve mode properly on artifact * Fix py2 encoding issue * Update lib/ansible/galaxy/collection.py Co-Authored-By: Matt Clay <matt@mystile.com> * Use sane defaults instead of sourcing from tarfile Co-authored-by: Matt Clay <matt@mystile.com>
* prevent ansible_facts injection (#68431)Brian Coca2020-03-247-6/+36
| | | | | | | - also only replace when needed - switched from replace to index - added test to verify bogus_facts are not accepted CVE-2020-10684
* Test installing a .deb that has deps, from a URL (#68332)Rick Elrod2020-03-242-0/+58
| | | | | | Improve coverage of the apt module and remove some incidental coverage from incidental_lookup_rabbitmq. Signed-off-by: Rick Elrod <rick@elrod.me>
* Ensure we have enough values to split (#56802)Adrián López2020-03-241-1/+1
| | | | Avoid raising an exception if pkgstr does not complains with expected value.
* ansible_native_concat: use to_text rather than jinja2's text_type (#68038)Martin Krizek2020-03-242-4/+6
| | | | jinja2._compat.text_type has been removed in jinja2's master branch so use ansible's to_text instead.
* DOC fix: typo in group addressing syntax (#67994)Fedor V2020-03-241-1/+1
|
* Reference directory_mode from mode description (#68202)Pontus Frehult2020-03-241-0/+1
|
* Fix typo and styling FAQ docs (#68212)dirkvbok2020-03-241-3/+3
|
* Testing: Move from ibmcloud to ibmpsYanis Guenane2020-03-231-3/+3
|
* Merge pull request #67093 from sivel/acd-content-dirMatt Martz2020-03-238-7/+168
| | | Add content dir where Ansible will look for the content provided by ACD
* Pull timezone's incidental file coverage into file tests (#68247)Rick Elrod2020-03-233-17/+46
| | | | | | | | | | | | | | | | | | | | * Remove some unreachable code in the file module Remove some cases in file.py which are covered by conditionals a few lines earlier. Remove the duplicate code which will never be hit. Signed-off-by: Rick Elrod <rick@elrod.me> * Restore incidental file coverage from timezone module Signed-off-by: Rick Elrod <rick@elrod.me> * Combine two conditionals, add a changelog entry Signed-off-by: Rick Elrod <rick@elrod.me> * Make new test syntax consistent, add two stat tests Signed-off-by: Rick Elrod <rick@elrod.me>
* hacking - Add script to easily rebalance Shippable groups (#67976)Jordan Borean2020-03-241-0/+181
| | | | | | | * hacking - Add script to easily rebalance Shippable groups * Fix py26 compile issue * Add option to automatically change test target aliases
* Support pre-releases via new SemanticVersion (#68258)Matt Martz2020-03-237-30/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Support pre-releases via new SemanticVersion. Fixes #64905 * Don't treat buildmeta as prerelease * Don't inherit from str and int * Add helper method to try and construct a SemanticVersion from a LooseVersion * Don't count major 0 as pre-release, it's different * Guard against invalid or no version in LooseVersion * return a bool * Add integration tests for pre-release * Fix up lingering issues with comparisons * typo fix * Always allow pre-releases in verify * Move pre-release filtering into CollectionRequirement, add messaging when a collection only contains pre-releases * Update changelog * If explicit requirement allow pre releases * Enable pre-releases for tar installs, and collections already installed when they are pre-releases * Drop --pre-release alias, make arg name more clear * Simplify code into a single line * Remove build metadata precedence, add some comments, and is_stable helper * Improve from_loose_version * Increase test coverage * linting fix * Update changelog
* remove azure extras and extras_require support (#67822)Matt Davis2020-03-236-90/+4
| | | | | | | | | | | | * remove azure extras and extras_require support * Since Azure will be collectionized, the requirements will float more frequently than Ansible releases; the Azure collection needs to host the requirements now. * Removed the dynamic extras support as well, since Azure was the only thing using it. If we need it again, it's easy to pull back from history. * Mark azure-requirements as orhpaned. This keeps the docs around so that existing links from old test runs remain valid. Co-authored-by: Matt Clay <matt@mystile.com>
* Fix ansible-test PATH handling.Matt Clay2020-03-232-5/+3
|
* Fix ansible-test coverage analysis option usage. (#68406)Matt Clay2020-03-237-85/+87
| | | | | | | | | | | * Fix ansible-test coverage analysis option usage. The `--input-dir` option for `coverage analyze targets generate` was being ignored. No changelog entry since this feature has not yet been released. * Move coverage config to fix type annotations. Declaring the types before referencing them makes sure they're recognized by tools such as PyCharm.
* Update Shippable hacking scripts default branch.Matt Clay2020-03-232-2/+2
|
* Address fixme and handle filter/test errors for collections better (#68047)Matt Martz2020-03-234-4/+44
| | | | | * Address fixme and handle fitler/test errors for collections better. Fixes #66721 * Re-arrange code
* Update 2.10 roadmap (#68081)Matt Martz2020-03-231-10/+20
|
* Update pip install instructions (#68316)Matt Martz2020-03-231-31/+38
| | | | | | | * Update pip install instructions * Remove a few words * We are not maintaining RPMs on releases.ansible.com any longer
* validate-modules - fix ps module delegate type inspectionJordan Borean2020-03-232-3/+48
|
* Fix ansible-test import analysis warning.Matt Clay2020-03-231-1/+6
| | | | Fix overlooked in https://github.com/ansible/ansible/pull/68372/
* Fix ansible-test module_utils import analysis.Matt Clay2020-03-232-2/+4
| | | | | Now empty `*.py` files are ignored during module_utils import analysis for change detection. This eliminates "No imports found" warnings for files which should have no imports.
* Add new options to `hacking/shippable/incidental.py` (#68384)Matt Clay2020-03-232-37/+132
| | | | | | | * Add `--plugin-path` option to `incidental.py`. * Report on plugins with no test target. * Add `--verbose` option to script.
* Fix coverage script to handle ongoing runs (#68380)Rick Elrod2020-03-231-3/+25
| | | | | | | | | | | | | * Fix get_recent_coverage_runs.py to handle ongoing runs Signed-off-by: Rick Elrod <rick@elrod.me> * Color code test status to make it easier to see at a glance Signed-off-by: Rick Elrod <rick@elrod.me> * fix lint Signed-off-by: Rick Elrod <rick@elrod.me>
* Fix hacking/shippable/incidental.py source search.Matt Clay2020-03-231-1/+1
|
* Rename tests (#68356)Matt Clay2020-03-2320-4/+4
| | | | | | | | | | | * Rename `tests` test to match plugin type. * Rename `test_infra` test to avoid confusion. This test target is not a test for test plugins. * Rename `vars_prompt` test to avoid confusion. * Update sanity ignores.