Commit Graph

17 Commits

Author SHA1 Message Date
Alex Willmer c5c65ab0d2 ci: Switch Continuous Integration to Tox
Also
 - Simplifies adding support for additional Ansible versions
 - Unifies Python package versioning in CI and local test environments
 - Matches Python versions tested, with those declared in setup.py
 - Expands targets covered by automated Ansible tests to
    - centos6, centos8
    - debian9, debian11
    - ubuntu1604, ubuntu2004
2021-11-10 20:17:53 +00:00
Alex Willmer 39d02e9d59 ci: Don't install pycparser and idna seperately
AFAICT no longer necessary. These install fine as part of requirements.txt.
2021-11-09 22:17:16 +00:00
Alex Willmer 9e9161cbb9 CI: Clamp ansible-base to < 2.10.14
refs #861
2021-10-23 17:57:29 +01:00
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
2021-09-08 21:12:02 +01:00
Alex Willmer e67e4b83b4 tests: Fix throttling of Docker pulls
fixes #809
2021-02-08 22:15:18 +00:00
Alex Willmer 25446cd698 tests: Throttle docker pulls for Ansible tests
I hope this will prevent AWS Elastic Container Registry returning 429:
Too Many Requests error, due to the burst of activity from multiple VMs,
when a CI build begins.
2021-01-22 23:46:24 +00:00
Steven Robertson ce57e81b22 remove ansible from github tag install setup in test config files 2020-10-03 15:35:28 -07:00
Steven Robertson 5aedb5f157 add missing collections 🤦 2020-09-20 18:12:58 -07:00
Steven Robertson 140406342b fixed installing into python2 container by specifying encoding 2020-09-06 14:19:52 -07:00
Steven Robertson 55c5a274cc install community.general collection 2020-09-03 22:20:51 -07:00
Steven Robertson 5dee6fb891 fix ansible install, also TODO: why do we have 3 almost the same install scripts... 2020-09-03 21:50:19 -07:00
Steven Robertson 573a3c6161 have to number format option for python2.6 2020-04-30 13:31:11 -07:00
Steven Robertson e0666edaac fix formatting 2020-04-24 14:10:00 -07:00
Steven Robertson 530f5e6412 read in ansible installation version always 2020-04-24 14:01:44 -07:00
David Wilson d2eb01f793 tests: pin idna to last supporting 2.6-compat version. 2019-01-19 06:50:59 +00:00
David Wilson c84f36e809 issue #426: teach .ci/ Docker pulls to ignore -py3 image suffix. 2018-11-07 00:39:05 +00:00
David Wilson 2a6dbb038f Pythonize, split out and parallelize all jobs. 2018-11-06 18:16:20 +00:00