Matt Clay
4cc4dc6793
Add postgresql dependencies to opensuseleap.
8 years ago
Matt Clay
fdf22b5a40
Support module tests on a single image. ( #16620 )
8 years ago
Matt Clay
696feacbb6
Add script to generate module tests. ( #16617 )
8 years ago
Matt Clay
fbfadc47c7
Update shippable shared dir for COPY_SOURCE. ( #16511 )
...
Tests now use '/shared' instead of '/tmp/shared-dir' when using
COPY_SOURCE. This avoids issues with containers purging '/tmp'.
9 years ago
Matt Clay
f1e1558f4f
Unpin yamllint now that version 1.3.2 is out. ( #16479 )
...
The newer version of yamllint fixes the UnicodeEncodeError
which previously required pinning the version to 1.2.2.
9 years ago
Matt Clay
81a49912b0
Pin yamllint to 1.2.2 to avoid issues in 1.3.0. ( #16464 )
...
This also moves shippable test requirements to external files.
9 years ago
Matt Clay
1b29c87936
Test ansible version and ping during sanity tests. ( #16441 )
9 years ago
Matt Clay
8a55a446bf
Fix fedora23 Dockerfile after fedora:23 updates.
9 years ago
Pilou
7ffbbd34f4
Add python-passlib to docker images. ( #16376 )
...
Related to #16361
9 years ago
Matt Clay
7de23a1c5b
Update opensuseleap Dockerfile.
...
- Do not update base image packages unnecessarily.
- Fix incorrect package names.
- Remove commented out RUN statements.
- Sort list of packages to install.
9 years ago
Matt Clay
cabbafb650
Update Fedora and CentOS docker images.
...
- Reduce image size by skipping weak package references.
- Consolidate and sort packages to install.
- Improve consistency between versions.
- Combine yum/dnf install and clean to avoid unwanted caching.
- Don't update existing packages from base image unnecessarily.
9 years ago
Matt Clay
82b978e186
Add curl to Ubuntu docker images.
9 years ago
Matt Clay
349b06974e
Update Ubuntu docker images.
...
- Reduce image size by skipping recommended packages.
- Consolidate and sort packages to install.
- Improve consistency between Ubuntu versions.
- Combine apt-get update and install to avoid caching stale updates.
9 years ago
Matt Clay
2f1fc5a324
Update integration test runner on shippable.
9 years ago
Matt Clay
62e6f6b885
Add junit-xml to docker images.
9 years ago
Matt Clay
03597143d0
Detect use of Travis tests on Shippable.
...
This can occur when building pre-Shippable branches or PRs.
9 years ago
Adrien Vergé
4d48711242
Fix YAML source and check it on Shippable ( #15678 )
...
Fix YAML source and check it on Shippable
9 years ago
Matt Clay
6d74f43eff
Update how shippable scripts are called.
9 years ago
Matt Clay
b0e1efbd62
Add full support for Shippable CI.
9 years ago
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
9 years ago
Matt Clay
b755bcd875
Corrected reference to httptester container.
9 years ago
Matt Martz
164f247ec8
Add httptester docker container files and update run_tests.sh to use ansible/httptester
9 years ago
Robin Roth
0edec45c3d
install packages for tests ( #15979 )
...
* curl is needed for test_binary_modules
* glibc-i18ndata is needed for postgresql (localedef)
9 years ago
John R Barker
1861151fa4
[WIP] Extra test and build dependencies in Docker images ( #15692 )
...
* Merge conflicts:
* [skip ci] Revert changes to run_tests.sh
gundalow will update this in a different PR
* [skip ci] Add in ubuntu1604 and opensuseleap
NOTE: We are not configuring anything to use these new images yet.
Therefore no impact on Travis performance
* python-mysql for opensuse
* It's mysql-server on centos6
9 years ago
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
9 years ago
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
9 years ago
Brian Coca
2af8e3b9d8
fix default for removing images
9 years ago
Brian Coca
27a1ae4732
added ability to also subset make tests
9 years ago
Brian Coca
47d58c30e4
another var 'defaulted' in run_tests
9 years ago
Brian Coca
3669ab2456
added defaults for 'optional' vars
9 years ago
Brian Coca
52a714143f
fine tuned shell switches for run_tests.sh
9 years ago
Toshio Kuratomi
e4a1622f53
Do not check docker or azure module_utils code for py2.4 compat (the libs require py2.6+)
9 years ago
James Cammarata
d00ac6e2d1
Merge pull request #15072 from rajatguptarg/fix-requirements
...
Add pycrypto as a requirement to run tests
9 years ago
Matt Martz
a6d52ce098
Ensure that any command in run_tests.sh that fails results in immediate failure
9 years ago
James Cammarata
6afed7083a
Revert "Use docker cp instead of docker volumes to allow for testing with remote docker servers"
...
This reverts commit 18599047cd
.
9 years ago
James Cammarata
90ffb8d8f0
Also remove volumes when removing containers
9 years ago
James Cammarata
9a2c1cf94d
Force removal of docker container after test ends
9 years ago
Matt Martz
18599047cd
Use docker cp instead of docker volumes to allow for testing with remote docker servers
9 years ago
James Cammarata
081c33c451
Adding a docker pull to the run_tests.sh script
9 years ago
James Cammarata
395ff361d4
Adding acl package to all docker images
9 years ago
Rajat Gupta
dd27157b9d
Add pycrypto as a requirement to run tests
9 years ago
Matt Clay
4224c11b5f
Combine new RUN commands into one RUN command.
9 years ago
Matt Clay
da99e4e0aa
Add ssh client and server to docker containers.
...
This will allow for future integration tests using ssh to localhost
from within docker containers running on Travis.
9 years ago
Toshio Kuratomi
bdf90d20dd
Add :Z to mount the volume. This is a docker-1.7+ option that makes the mount properly relabel for selinux
9 years ago
James Cammarata
88310a7f28
Adding iproute to certain RH-based docker images
9 years ago
James Cammarata
2fa1936ff9
Adding python-dev to the list of packages for ubuntu1204 docker
...
[ci skip]
9 years ago
James Cammarata
9d459386ce
Also adding an upgrade of pycrypto to ubuntu1204 config
9 years ago
James Cammarata
90afc5e7d2
Adding rubygems to the ubuntu1204 docker config
...
[no ci]
9 years ago
James Cammarata
af282eb979
Fixing typo in ubuntu1204 docker config
9 years ago
James Cammarata
ff5584a349
Updating jinja2 in ubuntu1204 docker image
9 years ago
James Cammarata
1222830155
Initial commit for Ubuntu 12.04 docker config for testing
9 years ago
James Cammarata
286d91d722
Reorganizing tox stuff and making py3-specific requirements
9 years ago
James Cammarata
ab682b2917
Moving docker tests to pre-compiled images
9 years ago
James Cammarata
c6af811573
Fixing equality check in run_tests.sh for sanity
9 years ago
Brian Coca
7e3c92e909
predictable docker names and autoremove if no fail
9 years ago
James Cammarata
f700a7e3ce
Removing forced pull from build step in run_tests.sh
9 years ago
Brian Coca
a07495e4c8
allow tests to run with parameters
...
also fixed test_test_infra to allow tags
9 years ago
James Cammarata
8cfdaa16f4
Fixing error in localedef usage for f23 docker image
9 years ago
James Cammarata
0e17a6f036
Another attempt at fixing random f23 locale failures in docker image
9 years ago
James Cammarata
2ee0c1b175
Fixing centos6 docker image for pycrytpo too
9 years ago
James Cammarata
762c99f77c
Fixing centos6 docker image to upgrade jinja2
9 years ago
James Cammarata
56670bd150
More tweaks for fedora on docker
9 years ago
James Cammarata
b97a98f69e
Trying to fix up the fedora23 docker image
9 years ago
James Cammarata
b72cd3a6d2
Adding fedora rawhide to the travis mix
9 years ago
James Cammarata
c632873936
Adding centos 6 to the travis mix
9 years ago
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.
9 years ago
James Cammarata
db2a0ae255
Testing adding -j2 to the run_tests.sh script to speed up docker tests
9 years ago
James Cammarata
981f451f0e
Adding fedora 23 to the Docker tests on travis
9 years ago
James Cammarata
7f34705b0c
Fixing up Dockerfiles some more to get tests passing fully
9 years ago
James Cammarata
fa630872d9
Minor update to the Dockerfiles
9 years ago
James Cammarata
069e597aaa
Fixing locale stuff in ubuntu 14.04 Dockerfile
9 years ago
James Cammarata
f56af2ec3f
Updating docker files for tests
9 years ago
James Cammarata
e4acd44e23
Make sure test script fails on any error
9 years ago
Matt Martz
d8876b5c03
Run /sbin/init in the ubuntu docker image, as we do with centos
9 years ago
James Cammarata
92dcad8e99
Adding docker container capabilities to Travis
9 years ago
Brian Coca
ba51ed06cf
changed from deprecated implicit bare var
9 years ago
James Cammarata
d22bbbf52c
Actually disable parallel makes for integration runner
9 years ago
James Cammarata
8119ea37af
Dropping instance size back down since we're not doing parallel builds
9 years ago
James Cammarata
45afa642c3
Integration test runner tweaks
9 years ago
James Cammarata
6d6822e66e
Kick up the integration runner test image size
9 years ago
James Cammarata
08b580decc
Parallelize make command for integration test runner
...
Also adds a new var, used by the prepare_tests role, to prevent it from
deleting the temp test directory at the start of each play to avoid any
potential race conditions
9 years ago
James Cammarata
3a57d9472c
Save output of integration test results to files we can archive
9 years ago
Toshio Kuratomi
5fef2c4297
Try updating the centos7 image to a newer version (trying to resolve issue being unable to connect to some webservers)
9 years ago
Toshio Kuratomi
3da312da9c
Switch from yum to package when installing sudo so that dnf is handled as well
9 years ago
James Cammarata
3ec0104128
Fixing bugs in conditional testing with until and some integration runner tweaks
9 years ago
Toshio Kuratomi
51cca87d67
Also need redhat-rpm-config to compile pycrypto
9 years ago
Toshio Kuratomi
c63ae99485
Make sure that yum is present on redhat family systems (makes things also work on fedora systems where dnf is the default)
9 years ago
Toshio Kuratomi
f7ed33378e
Fix the fedora host detection
9 years ago
Toshio Kuratomi
78dde62710
What is going on here
9 years ago
Toshio Kuratomi
26e5bcdb39
Bugfix the fedora 23 install task
9 years ago
Toshio Kuratomi
ec60bfbb3f
Ubuntu images with hvm ssd
9 years ago
Toshio Kuratomi
68fe3d856f
Fedora 23 needs to have python2 packages installed
9 years ago
James Cammarata
0823a2c16f
Removing update all for test deps, it didn't fix the problem
9 years ago
James Cammarata
02f65eaa80
Make integration runner ec2 add_hosts use valid host names
9 years ago
James Cammarata
73a0153b8e
Fix typo in integration test runner role
9 years ago
James Cammarata
0c154e81f0
Make integration tests run in parallel with async
9 years ago
Toshio Kuratomi
f2364ecf5f
Add a Fedora latest host into the mix
9 years ago
James Cammarata
1debc2da44
Do a full yum update to make sure packages are latest version
...
For the deps setup of integration tests, as we sometimes see odd
errors we can't reproduce, which may be related to slightly out of
date package dependencies.
9 years ago
James Cammarata
44e30e49dd
Add awk to integration test deps list
9 years ago
Toshio Kuratomi
a391d6f89a
Add state=latest to pip install of pycrypto
9 years ago
James Cammarata
3143b352c5
Add ca-certificates update to the integration deps playbook
9 years ago
Toshio Kuratomi
1f3eec293b
Install an updated version of pycrypto on Ubuntu12 from pip
9 years ago
James Cammarata
26bbabcfba
Consolidating package lines for virtualenv install in test deps integration
9 years ago
James Cammarata
cf3d503f79
Moving apt cache update to top to ensure cache is updated before deps installed
9 years ago
James Cammarata
0b1ad8d490
Switch virtualenv dep installation from pip to package manager
9 years ago
James Cammarata
dd3d04e96a
Adding pip install of virtualenv to test deps integration role
9 years ago
Chris Meyers
8d66dcda21
remove .gitignore
9 years ago
Chris Meyers
f16628ffec
symbolic link role for testing
9 years ago
Chris Meyers
57391f49ba
removed ansible_python_interpreter
...
* added missed renames of ansible_deps to ansible_test_deps
* removed acidential inventory.dynamic file
* modified README for ansible_test_deps role
9 years ago
Chris Meyers
822624d061
rename role ansible_deps to ansible_test_deps
9 years ago
Chris Meyers
05c8bb79f8
playbook that Ansible jenkins runs moved into core
...
The playbook is already running in jenkins and works. This moves the
assets into core for ease of maintenance going forward.
9 years ago