mirror of https://github.com/ansible/ansible.git
[stable-2.5] Backport test infra updates and test fixes. (#49204)
* Switch tests from RHEL 7.5 to 7.6. (cherry picked from commitpull/49583/head6745ee7cc8
) * Remove CI platform: freebsd/10.4 (cherry picked from commite6ffc4f89a
) * Add `--raw` option to ansible-test shell command. It is currently supported only with the `--remote` option. This makes it easier to troubleshoot new instances which are not yet supported by the setup scripts used by ansible-test. (cherry picked from commit0826a00803
) * Support skip of platforms by version in tests. (#48826) * Support skip of platforms by version in tests. Previously a remote platform could be skipped completely using the alias: `skip/{platform}` such as `skip/rhel` Now a specific platform version can be skipped using the alias: `skip/{platform}{version}` such as `skip/rhel7.6` This feature is available for platforms specified with the `--remote` option. * Add skip by version to the docs. (cherry picked from commit8066acc90c
) * Fix ansible-test skip warning message. (cherry picked from commit3b705efc93
) * Fix lookup_passwordstore test skipping. (#49178) * Fix lookup_passwordstore test skipping. Skip all of RHEL instead of specific versions. Skip all of CentOS < 7 instead of specific versions. This makes the test more robust when testing newer versions. Tests could be executed on RHEL if EPEL was installed during the test. (cherry picked from commit704dae2cda
)
parent
7b2da38b1b
commit
1059dee51f
@ -1,2 +1,3 @@
|
||||
shippable/posix/group2
|
||||
destructive
|
||||
skip/rhel
|
||||
|
@ -1,4 +1,6 @@
|
||||
- include: "package.yml"
|
||||
when: "ansible_distribution_version not in passwordstore_skip_os.get(ansible_distribution, [])"
|
||||
- include: "tests.yml"
|
||||
when: "ansible_distribution_version not in passwordstore_skip_os.get(ansible_distribution, [])"
|
||||
- block:
|
||||
- include: "package.yml"
|
||||
- include: "tests.yml"
|
||||
when:
|
||||
- not (ansible_distribution == 'RedHat') # requires EPEL
|
||||
- not (ansible_distribution == 'CentOS' and ansible_distribution_version is version_compare('7', '<'))
|
||||
|
@ -1,4 +1,3 @@
|
||||
freebsd/10.4
|
||||
freebsd/11.1
|
||||
osx/10.11
|
||||
rhel/7.5
|
||||
rhel/7.6
|
||||
|
Loading…
Reference in New Issue