automation: remove Ubuntu 18.10
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 29 Sep 2019 10:21:18 -0700
changeset 43013 3aa227feffbe
parent 43012 136c2536d83f
child 43014 cbd94ee3a72e
automation: remove Ubuntu 18.10 It reached end of life on July 18, 2019. I don't think we should care about supporting it. Differential Revision: https://phab.mercurial-scm.org/D6912
contrib/automation/hgautomation/aws.py
contrib/automation/hgautomation/linux.py
--- a/contrib/automation/hgautomation/aws.py	Sun Sep 29 10:19:02 2019 -0700
+++ b/contrib/automation/hgautomation/aws.py	Sun Sep 29 10:21:18 2019 -0700
@@ -831,13 +831,6 @@
             'ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190403',
         )
         ssh_username = 'ubuntu'
-    elif distro == 'ubuntu18.10':
-        image = find_image(
-            ec2resource,
-            UBUNTU_ACCOUNT_ID,
-            'ubuntu/images/hvm-ssd/ubuntu-cosmic-18.10-amd64-server-20190402',
-        )
-        ssh_username = 'ubuntu'
     elif distro == 'ubuntu19.04':
         image = find_image(
             ec2resource,
--- a/contrib/automation/hgautomation/linux.py	Sun Sep 29 10:19:02 2019 -0700
+++ b/contrib/automation/hgautomation/linux.py	Sun Sep 29 10:21:18 2019 -0700
@@ -22,7 +22,6 @@
 DISTROS = {
     'debian9',
     'ubuntu18.04',
-    'ubuntu18.10',
     'ubuntu19.04',
 }