James Cammarata
b72cd3a6d2
Adding fedora rawhide to the travis mix
2016-03-05 14:35:49 -05:00
James Cammarata
c632873936
Adding centos 6 to the travis mix
2016-03-05 13:47:23 -05:00
James Cammarata
e5844ee03d
Revert "Testing adding -j2 to the run_tests.sh script to speed up docker tests"
...
This reverts commit db2a0ae255
, as it does not
add any speed to the tests on Travis.
2016-03-05 11:50:10 -05:00
James Cammarata
db2a0ae255
Testing adding -j2 to the run_tests.sh script to speed up docker tests
2016-03-05 10:58:30 -05:00
James Cammarata
981f451f0e
Adding fedora 23 to the Docker tests on travis
2016-03-04 14:02:13 -05:00
James Cammarata
7f34705b0c
Fixing up Dockerfiles some more to get tests passing fully
2016-03-04 09:16:28 -05:00
James Cammarata
fa630872d9
Minor update to the Dockerfiles
2016-03-04 02:48:44 -05:00
James Cammarata
069e597aaa
Fixing locale stuff in ubuntu 14.04 Dockerfile
2016-03-03 22:29:21 -05:00
James Cammarata
f56af2ec3f
Updating docker files for tests
2016-03-03 21:03:28 -05:00
James Cammarata
e4acd44e23
Make sure test script fails on any error
2016-03-03 20:44:13 -05:00
Matt Martz
d8876b5c03
Run /sbin/init in the ubuntu docker image, as we do with centos
2016-03-03 16:45:47 -06:00
James Cammarata
92dcad8e99
Adding docker container capabilities to Travis
2016-03-03 15:26:08 -05:00
James Cammarata
80b10bd669
Moving creating of testing work dir out of dep role and into Makefile
2016-03-03 15:26:08 -05:00
Toshio Kuratomi
7160b40ab1
Fix the Makefile to run under dash (POSIX /bin/test syntax)
2016-03-03 09:25:12 -08:00
James Cammarata
b853e932d1
Adding unit tests for symbolic mode conversion stuff in basic.py
2016-03-01 16:41:57 -05:00
James Cammarata
18240d350c
Adding a skip for the literal_eval test on py3
2016-03-01 14:33:05 -05:00
James Cammarata
0ea3a9d08d
Removing tabs from test_basic.py
2016-03-01 14:15:15 -05:00
James Cammarata
1de9357c2f
Attempt at cleaning up issues introduced by new basic.py unit tests
2016-03-01 14:06:58 -05:00
James Cammarata
e011f52557
Expanding unit tests for module_utils/basic.py
2016-03-01 13:53:13 -05:00
Matt Davis
3d58fd1402
Merge pull request #13481 from jhawkesworth/a21_reg_merge_tests
...
windows; adding integration tests for win_regmerge (extras module)
2016-03-01 00:42:09 +00:00
James Cammarata
c56e3aabfb
Clean up jsonify unit test with format to remove json lib differences
2016-02-29 15:08:59 -05:00
James Cammarata
7c049c3200
Fixing up jsonify and adding unit tests
2016-02-29 14:51:23 -05:00
James Cammarata
a9d25f455c
More unit tests for ActionBase
2016-02-29 12:59:58 -05:00
James Cammarata
e588437067
Adding some unicode params to the ActionBase module formatting test
2016-02-27 10:05:22 -05:00
Toshio Kuratomi
7cb29cdbec
Workaround py2.6's StringIO
2016-02-26 17:59:00 -08:00
Toshio Kuratomi
b70bf3b056
Use io.StringIO and io.BytesIO instead of StringIO.StringIO for compat with py3
2016-02-26 16:43:05 -08:00
Toshio Kuratomi
c29f51804b
Fix mixing of bytes and str in module replacer (caused traceback on python3)
2016-02-26 16:43:05 -08:00
James Cammarata
01d835700b
Cleaning up some py version problems with ActionBase unit tests
2016-02-26 16:22:35 -05:00
James Cammarata
3518a05db6
Starting to expand unit tests for ActionBase plugin class
2016-02-26 12:47:59 -05:00
James Cammarata
9de24a3735
Assert things against the recursive copy result to make sure it did something
2016-02-23 16:29:08 -05:00
James Cammarata
e02b98274b
issue callbacks per item and retry fails
...
- now workers passes queue to task_executor so it can send back events per item and on retry attempt
- updated result class to pass along events to strategy
- base strategy updated to forward new events to callback
- callbacks now remove 'items' on final result but process them directly when invoked per item
- new callback method to deal with retry attempt messages (also now obeys nolog)
- updated tests to match new signature of task_executor
fixes #14558
fixes #14072
2016-02-23 15:07:06 -05:00
Matt Martz
cacb74aeeb
Merge pull request #14340 from sivel/uri-no-httplib2
...
Add RedirectHandler class for controlling redirects in urllib2
2016-02-23 11:53:16 -06:00
Matt Martz
3e9408e317
Add some additional integration tests that mix SSL verification and redirects
2016-02-23 11:48:09 -06:00
Brian Coca
3b3709e715
Merge pull request #14488 from bcoca/become_shell_fixes
...
shell + become fixes
2016-02-18 01:45:37 -08:00
James Cammarata
58a6cf822a
Merge pull request #13203 from willthames/galaxy_10620
...
Allow tree-ish versions for ansible-galaxy
2016-02-17 08:41:29 -05:00
Brian Coca
6dc910c13a
shell + become fixes
...
1 less level of shell + quoting
simplified become commands, less quote and shell
2016-02-15 13:00:13 -05:00
Brian Coca
bb155e1142
added test for cartesian lookup
2016-02-11 10:46:44 -05:00
Brian Coca
08b3dbcda3
corrected several usages of deprecated bare vars
2016-02-08 13:13:15 -05:00
Brian Coca
ba51ed06cf
changed from deprecated implicit bare var
2016-02-08 13:05:19 -05:00
Matt Martz
97e0f29a5b
Add/improve tests for the uri module
2016-02-05 12:14:57 -06:00
James Cammarata
b713f1ca53
Fix for copy test as ansible_ssh_user is not set by default now
2016-02-05 10:36:07 -05:00
James Cammarata
8039ceee0f
Tweak block integration tests to also test the free strategy
2016-02-03 18:42:06 -05:00
James Cammarata
5466510edb
Removing .out file for integration tests and adding to .gitignore
2016-02-03 15:00:37 -05:00
James Cammarata
f4bd3be71f
Adding block integration tests
2016-02-03 15:00:37 -05:00
Robin Roth
ed059ffca9
add integration test for ansible-pull
...
* this test includes the behavior described in #13688 and #13681
* it runs a minimal playbook and checks for correct use of inventory and limit
2016-02-02 12:18:04 +01:00
Toshio Kuratomi
0e410bbc8a
Squashing was occuring even though pkgs didn't have a template that would be affected by squash
...
This broke other uses of looping (looping for delegate_to in the
reported bug)
Fixes #13980
2016-01-27 21:55:00 -08:00
Brian Coca
fad6eb1844
fixed unit test to match new output of become/su
2016-01-27 16:49:51 -05:00
Brian Coca
46fde754af
Merge pull request #14044 from skorochkin/devel
...
Adding support for scm-based role source urls (ansible-galaxy)
2016-01-26 10:41:05 -05:00
James Cammarata
fb797a9e77
Fixing role dependency chain creation
...
The dep chain for roles created during the compile step had bugs, in
which the dep chain was overwriten and the original tasks in the role
were not assigned a dep chain. This lead to problems in determining
whether roles had already run when in a "diamond" structure, and in
some cases roles were not correctly getting variables from parents.
Fixes #14046
2016-01-22 12:54:00 -05:00
Sergii Korochkin
13e8732598
[hotfix] add missed playbook file
2016-01-21 14:08:26 +02:00