Commit Graph

52 Commits (07fefa406756c9834cda844f354119e6ac0699f0)

Author SHA1 Message Date
David Wilson 5b916fc556 issue #409: Pythonize run_ansible_playbook.sh
And add git_basedir extra variable.
6 years ago
David Wilson 3585ee74f7 tests: split out ansible_tests requirements
Also remove hard-coded Ansible version, the tests don't need it, nor
does local testing most of the time
6 years ago
David Wilson 905ab890fb tests: stop idiotic Travis TTY/pip progress bar spam 6 years ago
David Wilson 86ff2cc768 bodge. 6 years ago
David Wilson dfb4930fce tests: import custom binaries for tests
It means Linux<->OS X runs work fine without manual hackery.
6 years ago
David Wilson e58b6a8f05 tests: correct path for common-hosts 6 years ago
David Wilson 0cf908661e tests: set Docker hostname for more readable exceptions 6 years ago
David Wilson 06ae59702c tests: rationalize matrix and rewrite ansible_tests
Now all distros run in parallel.
6 years ago
David Wilson b964e647d2 tests: split inventory up slightly.
This makes it easier to run connection delegation tests against either
the local machine or a container.
6 years ago
David Wilson 6cb81d3cb7 tests: allow passing -vvv to ansible_tests.sh. 6 years ago
David Wilson eae531210a tests: allow passing -vvv to debops_common 6 years ago
Daniel Quackenbush 5d3152cdc1 Updated Travis Config to use Ansible 2.6.1, Added build status in readme 6 years ago
David Wilson ea5a4ed385 tests: use Ansible 2.5.5 by default 6 years ago
David Wilson fb8bad934b issue #275: Don't use -U in ansible_tests.sh -- forces paramiko upgrade 7 years ago
David Wilson b7eb96d116 issue #275: tests: don't explicitly specify interpreter path. 7 years ago
David Wilson e5d02b948b issue #275: travis: run_tests with -vvv 7 years ago
David Wilson c00e7ed367 tests: paralellize vanilla Ansible run. 7 years ago
David Wilson be5c03c152 tests: many test fixes. Travis broken for >1 week. 7 years ago
David Wilson 2c141a741c tests: remove -vvv, Travis only does 4MB of log. 7 years ago
David Wilson ac9f416bc1 tests: make Ansible tests run again. 7 years ago
David Wilson e9990eb91c tests: Disable host key checking for debops. 7 years ago
David Wilson b2abe74ab6 issue #210: run DebOps under v2.5.1 too. 7 years ago
David Wilson 46a311165e issue #148: parent: prevent race in iter_read()
There is no guarantee on the ordering select() returns file descriptors.
So if, e.g. in the case of sudo_nonexistent.yml, sudo prints an error
to a single FD before exitting, there was previously no gurantee
iter_read() would read off the error before failing due to detecting
disconnect on any FD.

Now instead we keep reading while any non-disconnected FD exists.
7 years ago
David Wilson d827bdb848 tests: fixes to get regression/ running under vanilla Ansible 7 years ago
David Wilson 261f4397bb tests: rename debops mode, add extra centos/version targets 7 years ago
David Wilson 3f7dfd6344 tests: tidy up dross after fixing issue. 7 years ago
David Wilson 235cf5e734 tests: more debug for travis 7 years ago
David Wilson b8908919b1 Arrange for sshpass to be installed. 7 years ago
David Wilson 3a0618684f tests: build the test binary custom modules 7 years ago
David Wilson f7db338d12 tests: more ansible_test tweaks 7 years ago
David Wilson 3e2abf36d5 tests: ansible_test shouldn't have a default become password 7 years ago
David Wilson c2f94017c7 tests: ensure perms for SSH private key 7 years ago
David Wilson b81a47649e tests: use non-root SSH user to connect to Docker image in ansible_test. 7 years ago
David Wilson 7a078a458c tests: run ansible with -vvv to catch copy hang 7 years ago
David Wilson 5b4d17dba8 tests: dump Ansible hosts after creating it 7 years ago
David Wilson 44f09a9912 tests: don't run MODE=ansible against localhost on Travis 7 years ago
David Wilson 5de72d378f tests: fix debops_tests username rename. 7 years ago
David Wilson b0d1cb4501 tests: fix DebOps tests for new image tag names. 7 years ago
David Wilson 6df796c7b6 tests: fix Ansible jobs to run on Debian/CentOS images too. 7 years ago
David Wilson c33394d49b tests: add TRAVIS_BUILD_DIR to PYTHONPATH for debops 7 years ago
David Wilson f20687db39 tests: fix permission error on Travis. 7 years ago
David Wilson bc4a6b39bf issue #164: teach debops_tests.sh to use SSH
Login with a non-privileged account over SSH rather than just jumping
straight in as root via Docker.
7 years ago
David Wilson 26cc0f2724 issue #164: fix remote_tmp handling on <2.5 7 years ago
David Wilson 3ebe600389 issue #164: convert "examples" into actual tests
- Add new Travis mode, "ansible_tests.sh" that runs
  integrations/all.yml. Slowly build this up over time to cover more of
  the existing junk.

- Add basic assertions on the output of the existing runner__* files.

- Wire up 2.4.3/2.5.0 jobs in Travis.
7 years ago
David Wilson 475d459185 issue #164: rename 'test' to 'run_tests' to avoid tab complete conflict 7 years ago
David Wilson 8249fa2019 issue #164: typo x2. 7 years ago
David Wilson b9afde0e61 issue #164: typo. 7 years ago
David Wilson 058ddeee58 issue #164: run against 4 targets. 7 years ago
David Wilson 4c842751d0 issue #164: run twice to make timing comparable to old reports 7 years ago
David Wilson 2128ffafce issue #164: cure type error. 7 years ago