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/integration
Toshio Kuratomi e238ae999b Cyptography pr 20566 rebase (#25560)
Make pyca/cryptography the preferred backend for cryptographic needs (mainly vault) falling back to pycrypto

pyca/cryptography is already implicitly a dependency in many cases
through paramiko (2.0+) as well as the new openssl_publickey module,
which requires pyOpenSSL 16.0+. Additionally, pyca/cryptography is
an optional dep for better performance with vault already.

This commit leverages cryptography's padding, constant time comparisons,
and CBC/CTR modes to reduce the amount of code ansible needs to
maintain.

* Handle wrong password given for VaultAES format

* Do not display deprecation warning for cryptography on python-2.6

* Namespace all of the pycrypto imports and always import them

  Makes unittests better and the code less likely to get stupid mistakes
  (like using HMAC from cryptogrpahy when the one from pycrypto is needed)

* Add back in atfork since we need pycrypto to reinitialize its RNG just in case we're being used with old paramiko

* contrib/inventory/gce: Remove spurious require on pycrypto

(cherry picked from commit 9e16b9db275263b3ea8d1b124966fdebfc9ab271)

* Add cryptography to ec2_win_password module requirements
  * Fix python3 bug which would pass text strings to a function which
    requires byte strings.

* Attempt to add pycrypto version to setup deps

* Change hacking README for dual pycrypto/cryptography

* update dependencies for various CI scripts

* additional CI dockerfile/script updates

* add paramiko to the windows and sanity requirement set

  This is needed because ansible lists it as a requirement. Previously
  the missing dep wasn't enforced, but cryptography imports pkg_resources
  so you can't ignore a requirement any more

* Add integration test cases for old vault and for wrong passwords

* helper script for manual testing of pycrypto/cryptography

* Skip the pycrypto tests so that users without it installed can still run the unittests

* Run unittests for vault with both cryptography and pycrypto backend
2017-06-27 06:00:15 -07:00
..
group_vars Run vyos_command Network tests in Shippable (#24514) 2017-05-12 12:49:12 +01:00
host_vars breaks testing in non virtual envs, since env var can be used in those 2015-11-12 09:40:43 -08:00
roles Add netscaler_save_config module (#25614) 2017-06-26 18:46:52 +05:30
targets Cyptography pr 20566 rebase (#25560) 2017-06-27 06:00:15 -07:00
vars Split integration tests out from Makefile. (#17976) 2016-10-12 14:57:53 -07:00
amazon.yml Adding support for Amazon ECR (#19306) 2017-01-17 14:45:43 -05:00
asa.yaml Migrate Network Tests into ansible/ansible (#18233) 2016-10-28 19:50:29 +01:00
azure.yml add azure integration tests 2015-05-04 23:45:03 -04:00
cleanup_azure.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
cleanup_ec2.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
cleanup_gce.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
cleanup_rax.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
cloud-config-aws.yml.template Add support for cloud tests to ansible-test. (#24315) 2017-05-05 16:23:00 +08:00
cloud-config-cs.ini.template Add support for cloud tests to ansible-test. (#24315) 2017-05-05 16:23:00 +08:00
cloudflare.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
cloudscale.yml new module cloudscale_server (#20175) 2017-01-17 23:15:20 +01:00
cnos.yaml New module: cnos_vlan and various utility files (#21107) 2017-02-16 08:11:39 +00:00
consul.yml Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 2015-01-24 01:09:03 +00:00
consul_inventory.yml Initial commit of Ansible support for the Consul clustering framework (http://consul.io). 2015-01-24 01:09:03 +00:00
consul_running.py Support print() function in test/ 2015-08-27 22:15:57 +03:00
credentials.template Fixes for EC2 module integration tests. 2017-05-03 22:40:08 +08:00
dellos6.yaml Migrate Network Tests into ansible/ansible (#18233) 2016-10-28 19:50:29 +01:00
dellos9.yaml Migrate Network Tests into ansible/ansible (#18233) 2016-10-28 19:50:29 +01:00
dellos10.yaml Migrate Network Tests into ansible/ansible (#18233) 2016-10-28 19:50:29 +01:00
destructive.yml Fix locale_gen to compare native strings rather than mixing byte and text strings 2017-01-04 10:11:33 -08:00
eos.yaml Fix platform agnostic net_user integration test fail (#25649) 2017-06-13 18:12:42 +05:30
exoscale.yml exo_dns: new module utils and integration tests for exoscale DNS (#17230) 2016-08-30 21:48:28 +02:00
galaxy_playbook.yml Allow installation of roles from yaml roles file 2014-08-21 17:15:23 -04:00
galaxy_playbook_git.yml [hotfix] add missed playbook file 2016-01-21 14:08:26 +02:00
galaxy_roles.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
galaxy_rolesfile Add tests for #10620 2015-11-18 20:47:54 +10:00
gce.yml [GCP] Global Load Balancer Integration Test (#24704) 2017-05-18 14:00:51 -04:00
gce_credentials.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
integration_config.yml Fix cosmetic problems in YAML source 2016-11-11 14:50:57 -08:00
inventory Facts Refresh (2.4 roadmap) (#23012) 2017-06-01 11:17:49 -04:00
inventory.network Platform agnostic net_system module (#24953) 2017-06-02 14:06:38 +02:00
inventory.networking.template Increase python version coverage for tests. (#24762) 2017-05-19 01:37:53 +08:00
inventory.remote.template Add support for OS X CI on Shippable. (#17160) 2016-08-23 10:49:46 -07:00
inventory.winrm.template Increase python version coverage for tests. (#24762) 2017-05-19 01:37:53 +08:00
ios.yaml Add ios_user implementation module (#25413) 2017-06-09 13:50:57 +05:30
iosxr.yaml iosxr_banner Implementation module (#25744) 2017-06-16 11:56:47 +05:30
jenkins.yml jenkins_job: add integration tests (#17499) 2016-09-13 16:03:58 +02:00
junos.yaml Add junos_system declartive module and other related change (#25859) 2017-06-22 09:34:50 +05:30
Makefile automated integration tests for cloudstack (#20552) 2017-05-09 11:32:11 +08:00
netscaler.yaml New module: manage Citrix Netscaler service configuration (network/netscaler/netscaler_service) (#25129) 2017-06-08 08:33:32 -06:00
network-all.yaml Ops (#18652) 2016-11-28 16:22:17 +00:00
non_destructive.yml known_hosts: support --diff (#20349) 2017-02-08 09:56:03 -05:00
nxos.yaml Add nxos_banner implementation module (#25695) 2017-06-15 22:05:38 +05:30
ops.yaml Ops (#18652) 2016-11-28 16:22:17 +00:00
ovs.yaml [WIP] Add openvswitch_db integration tests (#23803) 2017-06-12 13:13:41 +02:00
platform_agnostic.yaml Add net_interface declarative module (#25766) 2017-06-16 22:12:50 +05:30
rackspace.yml Add tests for rax_scaling_group 2015-06-18 13:08:35 -05:00
setup_gce.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
target-prefixes.network Fix network integration test config. (#26057) 2017-06-23 17:02:59 -07:00
test_win_group1.yml Migrate Windows CI roles to test targets. (#18005) 2016-10-13 18:03:19 +01:00
test_win_group2.yml Revert "win_service_stat: Added module" (#22184) 2017-03-02 01:34:11 -08:00
test_win_group3.yml win_environment: Added tests and return info in document (#25064) 2017-06-08 17:39:10 +01:00
vyos.yaml Add vyos_banner implementation module (#25862) 2017-06-20 08:53:03 +05:30