Alex Willmer
b130cd9f90
Merge pull request #1252 from moreati/issue1118-update-containers
...
CI: Mark and use 2021 test containers
9 months ago
Alex Willmer
fdbd1a8c9b
ci: Configure package managers using a role
...
This allows code sharing between integration tests and test image prep.
9 months ago
Alex Willmer
1e12edbf95
ci: Use file module to set mitogen__readonly_homedir permissions
9 months ago
Alex Willmer
f2e0e552ac
ci: Fix sshd configuration during image prep
...
This will allow image preparation using Ansible versions that
- predate ansible_facts.*
- predate loop keyword
- predate collections
9 months ago
Alex Willmer
20e23b5bd9
ci: Name all image prep plays
9 months ago
Alex Willmer
8e58c4a759
ci: Decouple image prep from Ansible controller reporting
...
This will allow image preparation using Ansible versions that predate
import_playbook.
9 months ago
Alex Willmer
67ececc804
ci: Use GitHub Container Registery images tagged 2021
...
Previously (and implicitly) used "latest". The tag 2021 is new today, the
image contents have not changed since they were generated in 2021.
They have moved container registry twice since 2021
- #791 Docker -> Amazon Elastic Container Registry (public.ecr.aws/n5z0e8q)
- #1128 Amazon ECR -> GitHub Container Registry (ghcr.io/mitogen-hq)
This commit also removes the last references to ECR.
9 months ago
Alex Willmer
0388cd5c0f
Merge pull request #1247 from moreati/issue-1118-ci_lib
...
CI: ci_lib cleanup
10 months ago
Alex Willmer
a376daa04d
CI: Consolidate directory path constants
10 months ago
Alex Willmer
f659213159
CI: Don't share temporary directory between test groupings
...
Each grouping gets an independant dir, e.g.
- ansible -> /tmp/mitogen_ci_ansible
- debops -> /tmp/mitogen_ci_debops
Importing ci_lib no longer creates a temporary directory as a side effect.
10 months ago
Alex Willmer
620bc3a944
CI: Don't copy SSH private key to temporary dir
...
Running tests aren't using the copy & it wasn't being cleaned up.
10 months ago
Alex Willmer
2095342245
CI: Remove unused ci_lib.have_*() functions
10 months ago
Alex Willmer
2c7eda1dc1
CI: Fix NameError in ci_lib._have_cmd()
10 months ago
Alex Willmer
0b216c815a
CI: Consolidate `apt-get install`s
10 months ago
Alex Willmer
26507481b1
Merge pull request #1246 from moreati/issue1118
...
CI: Test user creation tidy up
10 months ago
Alex Willmer
78b440104e
CI: Validate sudoers file
10 months ago
Alex Willmer
c92df356e6
CI: Consolidate sudoers config tasks
10 months ago
Alex Willmer
11d2d70fd8
CI: Use native Ansible support to hide macOS users
10 months ago
Alex Willmer
5283e6756b
CI: Statically specify test usernames and group names
...
This makes it easier to grep for a username and to discover how the user was
create. Hence it should be easier to understand/debug tests.
10 months ago
Alex Willmer
913090ea7e
Merge pull request #1245 from moreati/issue1238
...
packaging: Avoid ast module, requires Python = 2.6
10 months ago
Alex Willmer
a0d3858ff9
packaging: Avoid ast module, requires Python = 2.6
...
fixes #1238 , refs #1236
10 months ago
Alex Willmer
77d87cd3cd
Merge pull request #1244 from moreati/issue1121
...
mitogen: cfmakeraw() cleanups
10 months ago
Alex Willmer
927fb172d8
mitogen: Log skipped termios attributes
...
refs #1121
10 months ago
Alex Willmer
5f42da36f3
mitogen: Deduplicate cfmakeraw() flags
...
refs #1121
10 months ago
Alex Willmer
a3768a0443
Merge pull request #1240 from moreati/prep-v0.3.22
...
Prepare v0.3.22
10 months ago
Alex Willmer
657e40b982
Begin 0.3.23dev
10 months ago
Alex Willmer
ae703b97a7
Prepare v0.3.22
10 months ago
Alex Willmer
8580da903c
Merge pull request #1235 from moreati/issue1234
...
ansible_mitogen: Fix TypeError in set_file_owner()
10 months ago
Alex Willmer
9b91a1a529
ansible_mitogen: Fix TypeError in set_file_owner()
...
fixes #1234
10 months ago
Sergey Putko
186404829d
ansible_mitogen: Fix dnf module by patching include of dnf.cli ( #1230 )
...
* fix dnf module import
* add changelog
10 months ago
Alex Willmer
45472c6edc
Merge pull request #1227 from moreati/rename-tc-via-tests
...
tests: Name transport_config tests that involve mitogen_via
10 months ago
Alex Willmer
f82c72f539
tests: Name transport_config tests that involve mitogen_via
...
This should make it much easier to find a (failed) test, based on test output.
10 months ago
Alex Willmer
fca7578cdf
Merge pull request #1213 from moreati/spring-clean-2025
...
Spring clean 2025
10 months ago
Alex Willmer
e97d20c9d1
ansible_mitogen: Return stderr_lines from _low_level_execute_command()
...
Vanilla Ansible has returned stderr since v1.9 or earlier, stderr_lines was
added in v2.6.0 (https://github.com/ansible/ansible/pull/40079 ).
10 months ago
Alex Willmer
51c7b789f7
ansible_mitogen: Decouple possible_pythons order & error handling
...
'python' could now be tried earlier, or not at all.
10 months ago
Alex Willmer
356be2e65f
ansible_mitogen: Remove unneeded internal _run_cmd()
10 months ago
Alex Willmer
1b8b2c8b1a
ansible_mitogen: Rename Mitogen interpreter discovery attributes
...
This makes their nature and ownership/responsibility much more explicit.
10 months ago
Alex Willmer
d3da3ff769
ansible_mitogen: Don't redeclare interpreter discovery attributes
...
Duplicated effort on Ansible 2.10, and a potential source of future error
10 months ago
Alex Willmer
9342186b22
tests: Fix unclosed file in fd_check script
10 months ago
Alex Willmer
67219c309a
mitogen: Fix unclosed file in first stage
10 months ago
Alex Willmer
6fcb7aae96
mitogen: Replace uses of deprecated `pkgutil.find_loader()`
...
fixes #1111
10 months ago
Alex Willmer
90779fe846
ci: Enable Python warnings
10 months ago
Alex Willmer
6698f4bcd9
tests: Remove unused tasks fragment
10 months ago
Alex Willmer
e564944c5b
tests: Stricter playbook and inventory parsing
10 months ago
Alex Willmer
3f068e7c83
ci: Remove unneeded aws command entries
...
CI container imagesa re now hosted by GitHub Container Register. There is
nothing that needs to run `aws`.
fixes #1036
10 months ago
Alex Willmer
0953a931c0
Merge pull request #1223 from moreati/prep-v0.3.21
...
Prepare v0.3.21
11 months ago
Alex Willmer
5c76941d1e
Begin 0.3.22dev
11 months ago
Alex Willmer
8b7354cb3a
Prepare v0.3.21
11 months ago
Alex Willmer
53b6bf0292
docs: Add changelog, credits for connection_loader__get fixes
...
refs #1215
11 months ago
Alex Willmer
c39c47501a
Merge pull request #1215 from Nihlus/fix-connection-loader
...
ansible_mitogen: Fix usage of connection_loader__get.
11 months ago