[stable-2.7] Update tests to use RHEL 7.8. (#68787)
* Update tests to use RHEL 7.8.
Keeping support for RHEL 7.6 since collections are still using it.
* Fix tests for RHEL 7.7+ due to extras repo name change..
(cherry picked from commit 04edd77c42)
Co-authored-by: Matt Clay <mclay@redhat.com>
This commit is contained in:
2
changelogs/fragments/ansible-test-rhel-7.8.yml
Normal file
2
changelogs/fragments/ansible-test-rhel-7.8.yml
Normal file
@ -0,0 +1,2 @@
|
||||
minor_changes:
|
||||
- ansible-test now supports testing against RHEL 7.8 when using the ``--remote`` option.
|
||||
@ -42,7 +42,7 @@ matrix:
|
||||
- env: T=network
|
||||
|
||||
- env: T=osx/10.11/1
|
||||
- env: T=rhel/7.6/1
|
||||
- env: T=rhel/7.8/1
|
||||
- env: T=freebsd/11.1/1
|
||||
- env: T=linux/centos6/1
|
||||
- env: T=linux/centos7/1
|
||||
@ -54,7 +54,7 @@ matrix:
|
||||
- env: T=linux/ubuntu1804/1
|
||||
|
||||
- env: T=osx/10.11/2
|
||||
- env: T=rhel/7.6/2
|
||||
- env: T=rhel/7.8/2
|
||||
- env: T=freebsd/11.1/2
|
||||
- env: T=linux/centos6/2
|
||||
- env: T=linux/centos7/2
|
||||
@ -66,7 +66,7 @@ matrix:
|
||||
- env: T=linux/ubuntu1804/2
|
||||
|
||||
- env: T=osx/10.11/3
|
||||
- env: T=rhel/7.6/3
|
||||
- env: T=rhel/7.8/3
|
||||
- env: T=freebsd/11.1/3
|
||||
- env: T=linux/centos6/3
|
||||
- env: T=linux/centos7/3
|
||||
|
||||
@ -11,7 +11,8 @@
|
||||
name: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
|
||||
|
||||
- name: Enable extras repository for RHEL on AWS
|
||||
command: yum-config-manager --enable rhui-REGION-rhel-server-extras
|
||||
# RHEL 7.6 uses rhui-REGION-rhel-server-extras and RHEL 7.7+ use rhui-rhel-7-server-rhui-extras-rpms
|
||||
command: yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-rhel-7-server-rhui-extras-rpms
|
||||
args:
|
||||
warn: no
|
||||
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
freebsd/11.1
|
||||
osx/10.11
|
||||
rhel/7.6
|
||||
rhel/7.8
|
||||
|
||||
Reference in New Issue
Block a user