1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Run tests with Ansible 2.9 as well (#296)

* Run some tests with Ansible 2.9. No need to run extra tests multiple times.

* Update ignore-2.9.txt.

* Adjust README.

* Add changelog fragment.
This commit is contained in:
Felix Fontein 2020-07-02 13:40:16 +02:00 committed by GitHub
parent 3cde447eb8
commit 786f082976
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 208 additions and 719 deletions

View file

@ -6,9 +6,7 @@ This repo contains the `community.general` Ansible Collection. The collection in
## Tested with Ansible
Tested with the current Ansible 2.10 release and the current development version of Ansible.
We do not actively test against Ansible 2.9, but the collection should be mostly functional with 2.9 as well. Ansible versions before 2.9.10 are not supported.
Tested with the current Ansible 2.9 and 2.10 releases and the current development version of Ansible. Ansible versions before 2.9.10 are not supported.
## External requirements

View file

@ -0,0 +1,2 @@
minor_changes:
- "The collection is now actively tested in CI with the latest Ansible 2.9 release."

View file

@ -18,7 +18,11 @@ matrix:
- env: T=2.10/sanity/2
- env: T=2.10/sanity/3
- env: T=2.10/sanity/4
- env: T=2.10/sanity/extra
- env: T=2.9/sanity/1
- env: T=2.9/sanity/2
- env: T=2.9/sanity/3
- env: T=2.9/sanity/4
- env: T=devel/units/2.6/1
- env: T=devel/units/2.7/1
@ -36,6 +40,13 @@ matrix:
- env: T=2.10/units/3.8/1
- env: T=2.10/units/3.9/1
- env: T=2.9/units/2.6/1
- env: T=2.9/units/2.7/1
- env: T=2.9/units/3.5/1
- env: T=2.9/units/3.6/1
- env: T=2.9/units/3.7/1
- env: T=2.9/units/3.8/1
#- env: T=devel/aix/7.2/1
- env: T=devel/osx/10.11/1
- env: T=devel/rhel/7.8/1
@ -128,6 +139,15 @@ matrix:
- env: T=2.10/linux/ubuntu1804/4
- env: T=2.10/cloud/3.6/1
- env: T=2.9/osx/10.11/1
- env: T=2.9/rhel/8.2/1
- env: T=2.9/freebsd/12.0/2
- env: T=2.9/linux/centos8/2
- env: T=2.9/linux/fedora31/3
- env: T=2.9/linux/opensuse15/3
- env: T=2.9/linux/ubuntu1804/4
- env: T=2.9/cloud/3.6/1
branches:
except:
- "*-patch-*"

File diff suppressed because it is too large Load diff

View file

@ -69,7 +69,8 @@ cd "${TEST_DIR}"
# START: HACK install dependencies
retry ansible-galaxy -vvv collection install ansible.netcommon
retry ansible-galaxy -vvv collection install ansible.posix
retry ansible-galaxy -vvv collection install community.crypto
# retry ansible-galaxy -vvv collection install community.crypto -- the currently published version doesn't work well with Ansible 2.9, use master instead:
retry git clone https://github.com/ansible-collections/community.crypto.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/crypto"
# retry ansible-galaxy -vvv collection install community.internal_test_tools - we need git checkout until 0.2.0 has been released
retry git clone https://github.com/ansible-collections/community.internal_test_tools.git "${ANSIBLE_COLLECTIONS_PATHS}/ansible_collections/community/internal_test_tools"
retry ansible-galaxy -vvv collection install community.kubernetes