automation: use latest AMIs
authorGregory Szorc <gregory.szorc@gmail.com>
Sun, 29 Sep 2019 11:24:14 -0700
changeset 43017 6952d42f9158
parent 43016 92c8bae84e7a
child 43018 d1d919f679f7
automation: use latest AMIs This cuts down on the overhead to create a new AMI, as we don't have to install as many package upgrades. Differential Revision: https://phab.mercurial-scm.org/D6916
contrib/automation/hgautomation/aws.py
--- a/contrib/automation/hgautomation/aws.py	Sun Sep 29 11:06:45 2019 -0700
+++ b/contrib/automation/hgautomation/aws.py	Sun Sep 29 11:24:14 2019 -0700
@@ -821,21 +821,21 @@
         image = find_image(
             ec2resource,
             DEBIAN_ACCOUNT_ID,
-            'debian-stretch-hvm-x86_64-gp2-2019-02-19-26620',
+            'debian-stretch-hvm-x86_64-gp2-2019-09-08-17994',
         )
         ssh_username = 'admin'
     elif distro == 'ubuntu18.04':
         image = find_image(
             ec2resource,
             UBUNTU_ACCOUNT_ID,
-            'ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190403',
+            'ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-20190918',
         )
         ssh_username = 'ubuntu'
     elif distro == 'ubuntu19.04':
         image = find_image(
             ec2resource,
             UBUNTU_ACCOUNT_ID,
-            'ubuntu/images/hvm-ssd/ubuntu-disco-19.04-amd64-server-20190417',
+            'ubuntu/images/hvm-ssd/ubuntu-disco-19.04-amd64-server-20190918',
         )
         ssh_username = 'ubuntu'
     else: