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.
2024-09-26 03:13:22 +01:00
Alex Willmer
49c54386b3
tests: Only use subprocess32 package on Python 2.x
...
This is how the package documentation recommends and it's less likely to
interfere with new features in stdlib subprocess module.
2023-08-10 09:31:32 +01:00
Alex Willmer
392c41d160
ci: Ignore WALinuxAgent processes in Azure Piplines CI runner
2022-11-04 00:29:33 +00:00
Alex Willmer
64819ecb5f
tests: Regression test for #776 (package/yum/dnf module called twice)
2022-07-17 13:44:05 +01:00
Alex Willmer
c32577295a
tests: Check and/or suppress stderr of subprocesses, reduce shell=True uses
2022-07-17 13:44:05 +01:00
Alex Willmer
18c89de5a9
Remove unused module imports
2022-04-23 10:01:06 +01:00
Alex Willmer
491458673b
tests: Manage ANSIBLE_STRATEGY with Tox
2022-04-20 14:06:10 +01:00
Alex Willmer
c61c063b4f
Support for Ansible 3 & 4
...
fixes #834
Co-authored-by: Claude Becker (@upekkha)
Co-authored-by: Dolph Mathews (@dolph)
2021-11-12 22:10:53 +00:00
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
e76eefb8be
Fix miscellaneous spelling/formatting
2021-11-09 22:17:16 +00:00
Alex Willmer
042e46682e
Abandon Travis CI We have no credits, and its a PITA to maintain two CI platforms. The tests running on Travis provide very little extra coverage vs Azure Pipelines alone
2021-10-20 02:03:12 +01:00
Alex Willmer
e67e4b83b4
tests: Fix throttling of Docker pulls
...
fixes #809
2021-02-08 22:15:18 +00:00
Alex Willmer
b71fbe528c
Merge branch 'master' into distro-vs-distros
2021-02-02 23:05:57 +00:00
Alex Willmer
f5b3fab04c
Merge branch 'master' into docstrings
2021-01-24 02:38:23 +00:00
Alex Willmer
99235071a3
tests: docstrings for ci_lib
2021-01-22 23:16:25 +00:00
Alex Willmer
1c7e107809
tests: Use AWS Elastic Container registry for test images
...
This replaces use of Docker Hub, which now rate limits API calls and
causing CI builds to fail.
refs #791
2021-01-22 00:31:19 +00:00
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.
2021-01-10 20:20:45 +00:00
Steven Robertson
7507b88255
clean up azure python version used
2020-09-22 20:44:46 -07:00
David Wilson
d6329f3446
Merge devel/290 @ 79b979ec8544ef5d8620c64068d4a42fabf50415
2019-11-02 16:46:59 +00:00
David Wilson
fa8755085a
ci: fix procps command line format warning
2019-08-14 11:47:04 +01:00
David Wilson
f2e35be143
issue #482 : remove 'ssh' from checked processes
...
Can't be used due to regular Ansible behaviour
2019-08-09 21:58:54 +01:00
David Wilson
faec0158d9
ci: Py3 fix
2019-08-09 21:48:51 +01:00
David Wilson
7ca073cdf8
issue #482 : ci: add stray process checks to all jobs
...
List of interesting processes can probably expand more over time.
2019-08-09 20:19:16 +01:00
David Wilson
50b2d590fd
docs: update Changelog.
2019-08-08 10:55:00 +00:00
David Wilson
16ba1aacce
ci: log failed command line, and try enabling stdout line buffering
2019-08-04 12:37:50 +01:00
David Wilson
36a5968ee2
.ci: copy private key file to tempdir.
2019-02-18 19:58:54 +00:00
David Wilson
ad7185444d
.ci: allow containers for different jobs to run simultaneously
2019-02-18 18:01:54 +00:00
David Wilson
0aa4c9d8fc
issue #542 : .ci: move some tests to Azure and enable Mac job.
2019-02-14 12:49:56 +00:00
David Wilson
49a8745a45
ci: fix incorrect partition/rpartition from 8a4caea84f
2019-01-29 17:39:46 +00:00
David Wilson
8a4caea84f
ci: Allow DISTROS="debian*32" variable, and KEEP=1
2019-01-29 07:57:59 +00:00
David Wilson
f86d79b284
ci: don't use the TTY->pipe hack except on Travis where it's needed.
2019-01-27 00:32:22 +00:00
David Wilson
835bead37a
tests: allow running scripts from any subdir.
2019-01-19 02:02:09 +00:00
David Wilson
e7bb5c1ee0
issue #426 : teach make_containers() to parse -py3 DISTRO suffix
2018-11-07 00:43:11 +00:00
David Wilson
8df895a8ac
issue #426 : make ansible_tests dump inventory.
2018-11-07 00:41:13 +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
David Wilson
0b86c4e45f
tests: basic (incomplete) Azure Pipelines config
2018-11-06 03:40:56 +00:00
David Wilson
3f414d5967
tests: rename .travis -> .ci, move Azure config into .ci
2018-11-06 01:50:11 +00:00