Commit Graph

29 Commits (871a185ecbc88c4f3364d59acc745d7ab738514b)

Author SHA1 Message Date
Felix Fontein 9d958033a5
Make extra sanity test runner produce ansibullbot and JUnit output. (#250) 2021-06-14 07:39:52 +02:00
Felix Fontein 4adad5d98a
CI: Remove scripts that are no longer needed (#249)
* Remove scripts that are no longer needed.

ci_complete

* Remove sanity ignores.
2021-06-13 22:11:59 +02:00
Felix Fontein cda2edf92c
Remove superfluous constraints. (#245) 2021-06-06 22:31:03 +02:00
Felix Fontein 6414301936
Use Ansible's codecov uploader. (#222) 2021-04-30 04:28:13 +02:00
Felix Fontein befa690d9e
Stop using ansible-galaxy collection install to install a collection due to https://github.com/ansible/galaxy/issues/2429. (#211) 2021-03-27 09:57:50 +01:00
Felix Fontein b22c4fb65a
Fix CI (#188)
* Limit cryptography to < 3.4 for Python < 3.6.

* Make sure cryptography 3.3+ is installed on Darwin.

* Work around old pip versions.
2021-02-09 06:47:30 +01:00
John R Barker 42e8279c75
Remove PATH hack (#158) 2020-12-11 13:43:34 +00:00
John R Barker 3fa229b7b3
Fix Azure Pipelines (#155)
* Fix Azure Pipelines

* Simplify AZP stages
* Remove hacks, use azure-pipelines-test-container:1.7.0
* Expand test matrix

* chown
2020-12-10 15:40:28 +00:00
John R Barker 52f7f0212b
Basic AZP configuration (#154) 2020-12-08 20:15:34 +00:00
Felix Fontein ec55161cb1
Run tests with macOS 10.15. (#112)
* Run tests with macOS 10.15.

* Update prepare_http_tests as in https://github.com/ansible/ansible/pull/71841/files.

* Also skip luks_device tests on macOS.

* Temporarily restrict to macOS/OSX nodes.

* Show full OpenSSL version.

* Show pyOpenSSL debug details.

* Make location of openssl binary configurable.

* Try to upgrade openssl on macOS when LibreSSL is found.

* Use other variable.

* Use found binary instead of default.

* Revert "Temporarily restrict to macOS/OSX nodes."

This reverts commit ea379382e5.

ci_complete

* Avoid crashing when OpenSSL.debug does not exist.

* Combine setup_openssl_cli with setup_openssl

* Split up setup_openssl in setup_openssl (openssl + cryptography) and setup_pyopenssl.

* Fix package name.

* Don't install cryptography on CentOS 6, print environment.

* Work around ansible-test limitation.
2020-11-03 08:45:32 +01:00
Felix Fontein 7559e912f1
Run unit tests for all Python versions in one CI node (#133)
* Run unit tests for all Python versions in one CI node.

* Linting.
2020-10-29 15:03:35 +01:00
Felix Fontein 1b3ff44bc2
Avoid cffi 1.14.3 to be installed in CI by old pip versions (#110)
* Avoid cffi 1.14.3 to be installed in CI by old pip versions.

* Avoid too old version being installed.

* Add missing target.
2020-09-16 10:48:43 +02:00
Felix Fontein 7f6db5c4d9
Run ACME tests with the latest ACME test container (https://github.com/ansible/acme-test-container/releases/tag/2.0.0). (#98)
ci_complete
2020-08-05 08:24:00 +02:00
Felix Fontein ca58a1d2ee Remove no longer necessary hack for stable-2.9. 2020-06-23 13:38:14 +02:00
Felix Fontein 8651a6af6c
Prepare for stable-2.10 branching of ansible-base (#71)
* Prepare for 2.11.

* Fix script.

* Add some Ansible 2.10 runs.
2020-06-17 23:00:30 +02:00
Felix Fontein 68d56c7709
Adjust hack to only consider OSX with Anible 2.9. (#59) 2020-05-27 01:28:13 +02:00
Felix Fontein f77a03f70e
Smoketests are not needed in collections, and none exist in this collection anyway. (#52) 2020-05-19 09:02:53 +02:00
Felix Fontein a8fb38f74a
Add extra sanity tests (#43)
* Prepare extra sanity tests.

* Run some extra sanity tests.

* Linting.

* Experimenting

* Linting.

* Run tests in docker container.

* Improve run code.

* Use requests instead of Ansible code (which needs to be installed first).

* Refactor and add more debugging.

* More ls.

* More ls.

* More ls in container.

* Copy cwd into container.

* Improve container handling.

* Make tests configurable.

* Using proper argument parser.

* Add colors.

* Allow to disable test.

* Always run all tests for now. (Change detection needs to know about git I think).

* Use argument parser for main executable. Force colors for CI.

* Allow to specify targets.

* Linting.

* Switch to ansibulled-changelog.

* Use runner from community.internal_test_tools (current dev branch for runner).

* Clone official repository instead of my fork/branch.
2020-05-16 12:05:03 +00:00
Felix Fontein 43b6765c00
[TEMP] Switch to Ansible 2.9 from ansible/ansible#69377 which should fix change detection for 2.9. (#45) 2020-05-08 08:27:08 +02:00
Felix Fontein 970d44a25c
Avoid sanity excludes so that users can run ansible-test sanity --docker and it usually passes. (#41) 2020-05-01 12:21:15 +02:00
Felix Fontein cb61069ce3 Fix repo name. 2020-04-25 11:31:36 +02:00
Felix Fontein 9cf994f2eb Adjust coverage part in CI for Ansible 2.9. 2020-04-24 14:19:33 +02:00
Felix Fontein 5686c74e76
Hack, v2. (#36)
ci_complete
2020-04-23 22:48:52 +02:00
Felix Fontein 1289e56ab1
Hack: install latest cryptography + pyOpenSSL versions on macOS until https://github.com/ansible/ansible/issues/68701 has been fixed (#35) 2020-04-23 22:02:56 +02:00
John R Barker d88c90b148
Correct codecov token 2020-04-23 20:02:14 +01:00
Felix Fontein 41562a0c22
Update testing (#26)
* Remove superfluous requirements file.

* Update RHEL 7.6 to RHEL 7.8 in CI.

* Use stable-2.9 branch instead of latest released 2.9 version.

* Remove ignore.txt entries.

ci_complete
2020-04-10 15:44:42 +02:00
Felix Fontein 4597f77448
Stop using custom branch to avoid full CI run on changelog fragments. (#25) 2020-04-09 12:21:29 +02:00
Felix Fontein 6b3ca2ca07
Ansible 2.9 tests (#14)
* Add CI group 2 for Ansible 2.9 tests.

* Temporarily disable some nodes.

* Fix ignore.txt.

* Use version prefix instead of groups.

* Ansible 2.9 doesn't support Python 3.9

ci_complete

* Make Ansible 2.9 compatible.

* Replace archive/unarchive with copy.

* Remove dependency on community.general in integration tests for Ansible 2.9.

* Let's see.

* Ansible 2.9's copy doesn't create directories.

* Re-enable no dependency.

ci_complete

* path should be bytes.

* Reenable nodes, add two more.

* Force complete CI run for Ansible 2.9.

* Used wrong variable.

* Fix Ansible 2.9 compatibility...
2020-04-01 11:35:43 +02:00
Felix Fontein e91849d1d8 Add shippable tests. (#4) 2020-03-29 20:01:53 +02:00