Alex Willmer
8b92e09655
ci: Extract container registry location into variables
...
Preperation for migrating from Azure DevOps with Amazon Elastic Container
Registry (AWS ECR), to GitHub Actions with GitHub Container Registry (GHCR).
DebOps tests are not currently being run, the updates to .ci/debops*.py are
best effort only.
2 months ago
Alex Willmer
f3097b5743
ci: Template Ansible test-targets inventory with Jinja2
3 months ago
Alex Willmer
d5e9186289
ansible_mitogen: Fix --ask-become-pass, add test coverage
...
Previously f1503874de
fixed the priority of
ansible_become_pass over ansible_become_password, but broke --ask-become-pass.
Fixes #952 .
8 months ago
Alex Willmer
edd2868ef6
tests: Don't rely on facts when setting become
...
They won't be available if the play is first, and hence no facts have been
gather in previous play(s), e.g. due to --start-at-task
2 years ago
Alex Willmer
64819ecb5f
tests: Regression test for #776 (package/yum/dnf module called twice)
2 years ago
Alex Willmer
18c89de5a9
Remove unused module imports
3 years ago
Alex Willmer
3ba1625a99
ci: Reduce verbosity of Ansible integration tests
3 years ago
Alex Willmer
a64e966ab9
tests: Add unofficial Tox environments for Ansible tests
...
These are not part of the official testing regime (tests run for pull
requests). I find them convenient for local development.
Limitations
- Python 2.7+ only. No Python 2.4, 2.5, or 2.6.
- Requires Pythons pre-installed (e.g. DeadSnakes, pyenv)
- No coverage of alternate controller OS (e.g. MacOS)
The environments tested by default are
py27-mode_ansible-ansible2.10
py36-mode_ansible-ansible2.10
py39-mode_ansible-ansible2.10
py27-mode_mitogen
py36-mode_mitogen
py39-mode_mitogen
py27-mode_mitogen-distro_centos7
py36-mode_mitogen-distro_centos7
py39-mode_mitogen-distro_centos7
4 years ago
Steven Robertson
b469da399b
localhost_ansible tests now pass, adding -vvv to ansible_tests to get more debug info there
4 years ago
Steven Robertson
5fa9f97b66
ansible.posix.synchronize isn't being loaded in tests but is locally, reducing v count to get around azure devops scroll bug
4 years ago
Steven Robertson
8d95172821
warnings silenced, see if can put back in vvv
4 years ago
Steven Robertson
0a46a4e47b
logs too verbose, unable to load test page
4 years ago
Steven Robertson
b3c94867e2
run tests with verbose logging
4 years ago
Steven Robertson
dc94633011
ansible_install.py already installs ansible and collections, so don't need to in ansible_tests.py
4 years ago
Steven Robertson
2c9b6433ef
fix another encoding place
4 years ago
Steven Robertson
55c5a274cc
install community.general collection
4 years ago
Steven Robertson
5dee6fb891
fix ansible install, also TODO: why do we have 3 almost the same install scripts...
4 years ago
Steven Robertson
6bdcbff7b2
upgrade to ubuntu 18 might fix keyserver thing
5 years ago
Steven Robertson
39b55796c5
forgot sudo
5 years ago
Steven Robertson
57d56a63c0
apt deb should be in cassandra.list
5 years ago
Steven Robertson
a8888916b1
sources.list not what was expected, debug commit to find the bad deb entry
5 years ago
Steven Robertson
f14144fb9e
try and fix bad cassandra apt-get update on azure ubuntu 16.04 vm
5 years ago
Steven Robertson
3d28ed11b7
added wrong key for debian 9 test container
5 years ago
Steven Robertson
e407172aa8
add missing apt key
5 years ago
David Wilson
7ca073cdf8
issue #482 : ci: add stray process checks to all jobs
...
List of interesting processes can probably expand more over time.
5 years ago
David Wilson
d981a382c9
ci: work around various broken aspects of Travis VM image
...
- Symlink broken Ubuntu Python package pieces back together. See many
Google hits about this issue.
- Remove apt sources that can no longer be updated.
6 years ago
David Wilson
838742f000
issue #587 : support pausing ansible_tests if flag file exists
...
To support debugging on Azure
6 years ago
David Wilson
73a0c485cf
tests: CI should symlink all contents of ansible/hosts/
6 years ago
David Wilson
81c93e173f
ci: remove duplicate /usr/bin/time call
6 years ago
David Wilson
e12c963279
issue #426 : make ansible_tests use python_path
6 years ago
David Wilson
8df895a8ac
issue #426 : make ansible_tests dump inventory.
6 years ago
David Wilson
2a6dbb038f
Pythonize, split out and parallelize all jobs.
6 years ago
David Wilson
0b86c4e45f
tests: basic (incomplete) Azure Pipelines config
6 years ago
David Wilson
3f414d5967
tests: rename .travis -> .ci, move Azure config into .ci
6 years ago