Gennady Trafimenkov
ad24f2d206
Enable color output from integration tests in Docker containers ( #16660 )
...
Enable color output from integration tests in Docker containers:
* In run_tests.sh when output is attached to a terminal.
* In shippable/integration.sh using force mode (can be disabled).
Also fix blocks tests to work with or without color output
2016-07-25 14:07:15 -07:00
Matt Clay
03597143d0
Detect use of Travis tests on Shippable.
...
This can occur when building pre-Shippable branches or PRs.
2016-06-06 13:36:21 -07:00
Robin Roth
c06884eff0
Run tests on ubuntu1604 and opensuseleap ( #15936 )
...
* reduce async sleep time in test
* make zypper test less destructive (don't break following uses of zypper)
* fix ca cert on suse
* fix/enable postgres/mysql on opensuseleap
* fix mysql test for mysql versions 5.7.6 and newer
* skip sni_host check on ubuntu1604
* add HTTPTESTER flag for test_uri
ubuntu 16.04 uses dash which drops env variables containing a dot
we work around this by adding an explicit env variable to enable httptester
2016-05-31 14:47:36 -07:00
Matt Clay
b755bcd875
Corrected reference to httptester container.
2016-05-26 12:39:57 -07:00
Matt Martz
164f247ec8
Add httptester docker container files and update run_tests.sh to use ansible/httptester
2016-05-26 13:09:28 -05:00
Michael Scherer
cc61531a74
Do not test vca and vmware.py for py2.4 ( #15887 )
...
Since both of them depend on libraries not
working on python 2.4, we shouldn't restrict
ourself on 2.4, cf https://github.com/ansible/ansible/pull/15870
2016-05-16 10:51:48 -04:00
Matt Martz
accf40d8a8
Use httptester docker image for http tests ( #15811 )
...
* Use httptester docker image for http tests
* When not running with an httptester linked container, use public test sites
2016-05-10 23:43:07 -04:00
Brian Coca
2af8e3b9d8
fix default for removing images
2016-05-05 16:00:02 -04:00
Brian Coca
27a1ae4732
added ability to also subset make tests
2016-05-05 11:50:39 -04:00
Brian Coca
47d58c30e4
another var 'defaulted' in run_tests
2016-05-03 11:25:21 -04:00
Brian Coca
3669ab2456
added defaults for 'optional' vars
2016-05-03 10:38:54 -04:00
Brian Coca
52a714143f
fine tuned shell switches for run_tests.sh
2016-05-03 09:39:19 -04:00
Toshio Kuratomi
e4a1622f53
Do not check docker or azure module_utils code for py2.4 compat (the libs require py2.6+)
2016-04-26 07:21:36 -07:00
Matt Martz
a6d52ce098
Ensure that any command in run_tests.sh that fails results in immediate failure
2016-03-22 20:41:37 -05:00
James Cammarata
6afed7083a
Revert "Use docker cp instead of docker volumes to allow for testing with remote docker servers"
...
This reverts commit 18599047cd
.
2016-03-22 15:37:47 -04:00
James Cammarata
90ffb8d8f0
Also remove volumes when removing containers
2016-03-22 13:53:54 -04:00
James Cammarata
9a2c1cf94d
Force removal of docker container after test ends
2016-03-22 11:45:26 -04:00
Matt Martz
18599047cd
Use docker cp instead of docker volumes to allow for testing with remote docker servers
2016-03-22 10:54:57 -04:00
James Cammarata
081c33c451
Adding a docker pull to the run_tests.sh script
2016-03-22 09:49:19 -04:00
Toshio Kuratomi
bdf90d20dd
Add :Z to mount the volume. This is a docker-1.7+ option that makes the mount properly relabel for selinux
2016-03-18 07:47:09 -07:00
James Cammarata
286d91d722
Reorganizing tox stuff and making py3-specific requirements
2016-03-11 11:25:28 -05:00
James Cammarata
ab682b2917
Moving docker tests to pre-compiled images
2016-03-10 21:52:23 -05:00
James Cammarata
c6af811573
Fixing equality check in run_tests.sh for sanity
2016-03-10 15:34:06 -05:00
Brian Coca
7e3c92e909
predictable docker names and autoremove if no fail
2016-03-10 15:07:17 -05:00
James Cammarata
f700a7e3ce
Removing forced pull from build step in run_tests.sh
2016-03-10 14:07:58 -05:00
Brian Coca
a07495e4c8
allow tests to run with parameters
...
also fixed test_test_infra to allow tags
2016-03-10 10:50:14 -05:00
James Cammarata
0e17a6f036
Another attempt at fixing random f23 locale failures in docker image
2016-03-06 09:56:31 -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
069e597aaa
Fixing locale stuff in ubuntu 14.04 Dockerfile
2016-03-03 22:29:21 -05:00
James Cammarata
e4acd44e23
Make sure test script fails on any error
2016-03-03 20:44:13 -05:00
James Cammarata
92dcad8e99
Adding docker container capabilities to Travis
2016-03-03 15:26:08 -05:00