Commit Graph

68 Commits (f5683ae7678a8f695bddb8d234625f357076e942)

Author SHA1 Message Date
Alex Willmer 0db7467e4a tests: Authenticate to AWS Elastic Container Registry for `docker pull`
This should increase the rate limit from 1/s to 10/s. AWS
credentials are obtained from environment variables in Azure
pipelines, or the default AWS CLI profile.

https://docs.aws.amazon.com/AmazonECR/latest/public/public-service-quotas.html
https://docs.aws.amazon.com/AmazonECR/latest/public/public-registries.html#public-registry-auth
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html
3 years ago
Alex Willmer b71fbe528c
Merge branch 'master' into distro-vs-distros 3 years ago
Alex Willmer 1e72ebaf8b tests: Update test coverage to Python 3.9
The Travis Linux distribution must be upgraded because the Trusty
(Ubuntu 14.04) image does not have Python 3.9. Xenial (Ubuntu 16.04) is
the earliest version that offers Python 3.9.

I have not chosen a later release, in order to aid restoration of Python
2.4 - 2.6 tests.
3 years ago
Alex Willmer 9dce5fe056 tests: Correct DISTRO vs DISTROS usage in CI configurations
The environment variable DISTRO is used to set the target Docker image
used when running the Mitogen unit tests. DISTROS is used for the
Ansible integration tests. VER sets the version of Ansible that is
installed on the controller.

When MODE=Mitogen
- there is no need to set VER, because nothing that installs Ansible
- it does not make sense to set DISTROS.
3 years ago
Steven Robertson 4657979210 adding clarifying comments 3 years ago
Steven Robertson ef029726e2 travis is having trouble running vanilla Ansible so migrating to Azure 4 years ago
Steven Robertson 46a0fc92a1 disable debops since it breaks with ansible 2.10 4 years ago
Steven Robertson 884cfbbb27 disable python <= 2.6 tests 4 years ago
Steven Robertson cf3d646613 fix custom_python_new_style_missing_interpreter, looks like Ansible 2.10 changed how new-style module detection works 4 years ago
Steven Robertson ae4f6ece41 add workaround for TravisCI 4MB log limit job termination 4 years ago
Steven Robertson 33e176d62e add support for ansible_collections site-package (from pip ansible==2.10.0 install) + switch to ansible 2.10.0 rather than github tag 4 years ago
Steven Robertson d940f64469 travis pip is 9 from what the logs say 4 years ago
Steven Robertson fa1269bca8 see what happens with only ansible 2.10 tests, still need to install collections tho 4 years ago
Steven Robertson cc8febb841 use new released 2.10 4 years ago
Steven Robertson b20aa982c7 use a commit that actually exists 4 years ago
Steven Robertson 40183138b4 add some tests pointing to almost-devel version of Ansible for collection preparation 4 years ago
Steven Robertson 9b1b5c5fb6 fix comment 4 years ago
Steven Robertson 54f1b9ca39 bionic doesn't have python2.6... sticking with trusty and downgrading to python3.6 4 years ago
Steven Robertson 070fde16f3 upgrade to ubuntu bionic for python3.7 support 4 years ago
Steven Robertson db386a0350 enable ansible 2.9.6 tests 4 years ago
David Wilson db37000dd5 ci: update to Ansible 2.8.3 5 years ago
David Wilson 95e7bca518 ci: try moving slower 2.8.0 jobs together 5 years ago
David Wilson 7bf5ce4498 ci: roughly bin-pack Travis jobs longest->shortest 5 years ago
David Wilson 14f8f00d4d [stream-refactor] mark py24 as allow-fail
This needs a day or two's worth of soaking to fix all the remaining nits
5 years ago
David Wilson 054643783c .travis.yml: Add reverse shell spawn for Travis too 5 years ago
David Wilson 2ce3383a01 [stream-refactor] make trusty our Travis dist.
They updated to xenial recently, and it no longer supports Py2.6.
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.
5 years ago
David Wilson ab9a80cfd4 ci: Ansible 2.8 requires Python 2.7. 5 years ago
David Wilson 73a87d425d ci: try bumping more Travis jobs to Ansible 2.8. 5 years ago
David Wilson 95fd9b815c travis: exclude docs-master from CI 5 years ago
David Wilson 0aa4c9d8fc issue #542: .ci: move some tests to Azure and enable Mac job. 5 years ago
David Wilson ee44d98f13 issue #477: travis.yml typo.
We don't care if 2.3 can talk to newer systems, just CentOS 5/Py2.4.
5 years ago
David Wilson 59e5276af3 issue #477: enable Ansible 2.3.3 CI. 5 years ago
David Wilson 11cabb04f9 WIP first run of py24 CI 5 years ago
David Wilson d15f5334c0 Turn on Travis build notifcations, but send them to IRC. 5 years ago
David Wilson 8f03060e0c issue #426: enable a 2->3 Mitogen job. 6 years ago
David Wilson 2a6dbb038f Pythonize, split out and parallelize all jobs. 6 years ago
David Wilson 3f414d5967 tests: rename .travis -> .ci, move Azure config into .ci 6 years ago
David Wilson 905ab890fb tests: stop idiotic Travis TTY/pip progress bar spam 6 years ago
David Wilson d580351db4 Correct DISTROS variable name for ansible_tests. 6 years ago
David Wilson 06ae59702c tests: rationalize matrix and rewrite ansible_tests
Now all distros run in parallel.
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 3e73e6ae11 Reenable all Travis Jobs. 6 years ago
David Wilson 410016ff47 Initial Python 3.x port work.
* ansible: use unicode_literals everywhere since it only needs to be
  compatible back to 2.6.
* compat/collections.py: delete this entirely and rip out the parts of
  functools that require it.
* Introduce serializable Kwargs dict subclass that translates keys to
  Unicode on instantiation.
* enable_debug_logging() must set _v/_vv globals.
* cStringIO does not exist in 3.x.
* Treat IOLogger and LogForwarder input as latin-1.
* Avoid ResourceWarnings in first stage by explicitly closing fps.
* Fix preamble_size.py syntax errors.
6 years ago
David Wilson cb595b30d4 issue #16: rearrange Travis matrix and add Python 3.6 target for core tests 6 years ago
David Wilson 83617ad192 issue #275: tests: cache virtualenvs too 6 years ago
David Wilson 4649e11da3 issue #275: Travis build matrix from hell.
dev_requirements.txt:
- drop debops, it's not available for Python2.6
6 years ago
David Wilson d65e047b12 issue #179: ec0_receive() and connect_bootstrap() should use deadline.
Now there is a single global deadline derived from ansible.cfg timeout=
value.
6 years ago
David Wilson c00e7ed367 tests: paralellize vanilla Ansible run. 6 years ago
David Wilson b2abe74ab6 issue #210: run DebOps under v2.5.1 too. 6 years ago