CentOS & RHEL test farm fixes (#9188)

* update rhel 7 ami

* update bootstrap script

* update centos 8 image

* update centos 7 images

* add target comments
This commit is contained in:
Brad Warren 2022-01-31 15:52:43 -08:00 committed by GitHub
parent 0181a0b07f
commit 5b17a18355
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 9 deletions

View file

@ -117,8 +117,9 @@ BootstrapRpmPython3() {
python3-devel
"
# We only expect this branch to be taken on RHEL 7.
if ! sudo $TOOL list 'python3*-devel' >/dev/null 2>&1; then
sudo yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional
sudo yum-config-manager --enable rhel-7-server-rhui-extras-rpms rhel-7-server-rhui-optional-rpms
fi
BootstrapRpmCommonBase "$python_pkgs"

View file

@ -30,7 +30,9 @@ targets:
user: admin
#-----------------------------------------------------------------------------
# CentOS
- ami: ami-9887c6e7
# This AMI was found on
# https://web.archive.org/web/20211126215532/https://wiki.centos.org/Cloud/AWS.
- ami: ami-00e87074e52e6c9f9
name: centos7
type: centos
virt: hvm

View file

@ -32,8 +32,10 @@ targets:
user: admin
machine_type: a1.medium
#-----------------------------------------------------------------------------
# Other Redhat Distros
- ami: ami-0916c408cb02e310b
# RHEL
# These AMIs were found using the commands given at
# https://web.archive.org/web/20220129184532/https://access.redhat.com/solutions/15356.
- ami: ami-005b7876121b7244d
name: RHEL7
type: centos
virt: hvm
@ -45,15 +47,15 @@ targets:
user: ec2-user
#-----------------------------------------------------------------------------
# CentOS
# These Marketplace AMIs must, irritatingly, have their terms manually
# agreed to on the AWS marketplace site for any new AWS account using them...
- ami: ami-9887c6e7
# These AMIs were found on
# https://web.archive.org/web/20211126215532/https://wiki.centos.org/Cloud/AWS.
- ami: ami-00e87074e52e6c9f9
name: centos7
type: centos
virt: hvm
user: centos
- ami: ami-01ca03df4a6012157
name: centos8
- ami: ami-0ee70e88eed976a1b
name: centos_stream8
type: centos
virt: hvm
user: centos