1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/runner
Sloane Hertel 1de91a9aa0 [cloud] Convert s3 module to use boto3 (#21529)
* replace boto with boto3 for the s3 module

make s3 pep8 and remove from legacy files

fix s3 unit tests

* fix indentation

* s3 module - if we can't create an MD5 sum return None and always upload file

* remove Location.DEFAULT which isn't used in boto3 and tidy up the docs

* pep8

* s3: remove default: null, empty aliases, and required: false from documentation

fix incorrectly documented defaults

* Porting s3 to boto3. Simplify some logic and remove unused imports

* Fix s3 module variables

* Fix a typo in s3 module and remove from pep8 legacy files

* s3: add pagination for listing objects.

Fix logic and use head_object instead of get_object for efficiency.

Fix typo in unit test.

* Fix pagination to maintain backwards compatibility.

Fix incorrect conditional.

Remove redundant variable assignment.

Fix s3 list_object pagination to return all pages

* Use the revised List Objects API as recommended.

* Wrap call to paginated_list in a try/except

Also remembered to allow marker/prefix/max_keys to modify what keys are listed

* Simplify argument
2017-08-11 09:34:33 -04:00
..
completion Replace opensuse42.1 with opensuse42.3 in CI. 2017-08-05 12:56:31 -07:00
import/lib/ansible Add sanity import test to ansible-test. (#26730) 2017-07-12 20:04:22 -07:00
injector Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
lib Don't fail coverage reporting due to parse errors. 2017-08-10 15:36:47 -07:00
requirements [cloud] Convert s3 module to use boto3 (#21529) 2017-08-11 09:34:33 -04:00
setup Add Fedora Python 3 Docker images and fix tests. (#27794) 2017-08-04 21:12:35 -07:00
units Add test verification to ansible-test. (#22636) 2017-03-15 12:17:42 -07:00
ansible-test Initial ansible-test implementation. (#18556) 2016-11-29 21:21:53 -08:00
importer.py Use 0 instead of None for line and offset. 2017-08-05 23:12:02 -07:00
Makefile Add test verification to ansible-test. (#22636) 2017-03-15 12:17:42 -07:00
retry.py Fix ansible-test pylint and pep8 issues. (#24245) 2017-05-03 23:19:44 +08:00
test.py Add --list-targets and speed up --explain. (#26838) 2017-07-14 19:11:25 -07:00
tox.ini Temporary work-around for setuptools 36.0.0 bug. (#25243) 2017-06-01 16:23:32 +08:00