From bb45c9aa418ad7a656f9ab3df60b1d14a4389712 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Wed, 28 Oct 2020 15:08:16 -0700 Subject: [PATCH] Add Ubuntu 20.10 test farm tests (#8414) Fixes https://github.com/certbot/certbot/issues/8400. I had to switch the package installed in `apacheconftest` to `libapache2-mod-wsgi-py3` because Ubuntu 20.10 removed the Python 2 version of this module. I didn't add this AMI to `tests/letstest/auto_targets.yaml` because like Ubuntu 20.04, `certbot-auto` has never worked on the OS. * Add Ubuntu 20.20 test farm tests * Try Python 3 WSGI --- certbot-apache/tests/apache-conf-files/apache-conf-test | 2 +- tests/letstest/apache2_targets.yaml | 5 +++++ tests/letstest/targets.yaml | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/certbot-apache/tests/apache-conf-files/apache-conf-test b/certbot-apache/tests/apache-conf-files/apache-conf-test index 4838a6eee..66955819e 100755 --- a/certbot-apache/tests/apache-conf-files/apache-conf-test +++ b/certbot-apache/tests/apache-conf-files/apache-conf-test @@ -52,7 +52,7 @@ function Cleanup() { # if our environment asks us to enable modules, do our best! if [ "$1" = --debian-modules ] ; then sudo apt-get install -y apache2 - sudo apt-get install -y libapache2-mod-wsgi + sudo apt-get install -y libapache2-mod-wsgi-py3 sudo apt-get install -y libapache2-mod-macro for mod in ssl rewrite macro wsgi deflate userdir version mime setenvif ; do diff --git a/tests/letstest/apache2_targets.yaml b/tests/letstest/apache2_targets.yaml index b91fcf0b9..b45cec2c5 100644 --- a/tests/letstest/apache2_targets.yaml +++ b/tests/letstest/apache2_targets.yaml @@ -3,6 +3,11 @@ targets: #----------------------------------------------------------------------------- #Ubuntu + - ami: ami-0f2e2c076f4c2f941 + name: ubuntu20.10 + type: ubuntu + virt: hvm + user: ubuntu - ami: ami-0758470213bdd23b1 name: ubuntu20.04 type: ubuntu diff --git a/tests/letstest/targets.yaml b/tests/letstest/targets.yaml index 522cab558..a8f760ac7 100644 --- a/tests/letstest/targets.yaml +++ b/tests/letstest/targets.yaml @@ -3,6 +3,11 @@ targets: #----------------------------------------------------------------------------- #Ubuntu + - ami: ami-0f2e2c076f4c2f941 + name: ubuntu20.10 + type: ubuntu + virt: hvm + user: ubuntu - ami: ami-0758470213bdd23b1 name: ubuntu20.04 type: ubuntu