update farm tests (#9687)

* letstest: -ubuntu18.04 +centos9stream +debian11

* letstest: username for centos 9 stream is ec2-user

This is mentioned on https://centos.org/download/aws-images/

* ensure mod_ssl is installed

in centos 9 stream, apache has to be restarted after mod_ssl is
installed, or the snakeoil certificates will not be present and
apache won't start.

this also removes nghttp2 being installed as the relevant bug
is long fixed.
This commit is contained in:
alexzorin
2023-05-08 14:37:14 -07:00
committed by GitHub
parent 6e52695faa
commit d2e2a92cdd
2 changed files with 12 additions and 9 deletions
+1 -2
View File
@@ -15,8 +15,7 @@ elif [ "$OS_TYPE" = "centos" ]
then then
CONFFILE=/etc/httpd/conf/httpd.conf CONFFILE=/etc/httpd/conf/httpd.conf
sudo setenforce 0 || true #disable selinux sudo setenforce 0 || true #disable selinux
sudo yum -y install httpd sudo yum -y install httpd mod_ssl
sudo yum -y install nghttp2 || echo this is probably ok but see https://bugzilla.redhat.com/show_bug.cgi?id=1358875
sudo service httpd start sudo service httpd start
sudo mkdir -p /var/www/$PUBLIC_HOSTNAME/public_html sudo mkdir -p /var/www/$PUBLIC_HOSTNAME/public_html
sudo chmod -R oug+rwx /var/www sudo chmod -R oug+rwx /var/www
+11 -7
View File
@@ -16,11 +16,6 @@ targets:
type: ubuntu type: ubuntu
virt: hvm virt: hvm
user: ubuntu user: ubuntu
- ami: ami-095192256fe1477ad
name: ubuntu18.04LTS
type: ubuntu
virt: hvm
user: ubuntu
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# Debian # Debian
- ami: ami-01db78123b2b99496 - ami: ami-01db78123b2b99496
@@ -28,12 +23,21 @@ targets:
type: ubuntu type: ubuntu
virt: hvm virt: hvm
user: admin user: admin
- ami: ami-0fec2c2e2017f4e7b
name: debian11
type: ubuntu
virt: hvm
user: admin
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# CentOS # CentOS
# This AMI was found on # These AMI were found on https://wiki.centos.org/Cloud/AWS.
# https://web.archive.org/web/20211126215532/https://wiki.centos.org/Cloud/AWS.
- ami: ami-00e87074e52e6c9f9 - ami: ami-00e87074e52e6c9f9
name: centos7 name: centos7
type: centos type: centos
virt: hvm virt: hvm
user: centos user: centos
- ami: ami-0c0e36522a91d66e1
name: centos9stream
type: centos
virt: hvm
user: ec2-user