Patchwork D6916: automation: use latest AMIs

login
register
mail settings
Submitter phabricator
Date Sept. 29, 2019, 7:08 p.m.
Message ID <differential-rev-PHID-DREV-dkfnd6sspqhrrra6qqux-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/41839/
State Superseded
Headers show

Comments

phabricator - Sept. 29, 2019, 7:08 p.m.
indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  This cuts down on the overhead to create a new AMI, as we don't
  have to install as many package upgrades.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6916

AFFECTED FILES
  contrib/automation/hgautomation/aws.py

CHANGE DETAILS




To: indygreg, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/contrib/automation/hgautomation/aws.py b/contrib/automation/hgautomation/aws.py
--- a/contrib/automation/hgautomation/aws.py
+++ b/contrib/automation/hgautomation/aws.py
@@ -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: