From 4c60b3c928dd67d3540ade5da3ec247122c107cb Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Jan 11 2017 04:29:35 +0000 Subject: alt: fix cloud amis It was not pulling the RC_gold ami ids from fedmsg. --- diff --git a/alt.fedoraproject.org/build/fedimg_vars.py b/alt.fedoraproject.org/build/fedimg_vars.py index 576a30f..d4fd774 100755 --- a/alt.fedoraproject.org/build/fedimg_vars.py +++ b/alt.fedoraproject.org/build/fedimg_vars.py @@ -75,7 +75,7 @@ def collect(release): # The F22 released AMIs uploads didn't appear to go through fedimg, so # we can't use this scheme for them. Stuff for F23 should all go that # route though, so we can hopefully switch over soon. - ("Fedora-Cloud-Base-{curr_cloud_AMI_id}-{atomic_composedate}.x86_64", { + ("Fedora-Cloud-Base-{curr_cloud_AMI_id}-{RC_gold}.x86_64", { 'HVM_base_AMI': lambda e: e.get('virt_type') == 'hvm' and e.get('vol_type') == 'standard', 'GP2_HVM_base_AMI': lambda e: e.get('virt_type') == 'hvm' and e.get('vol_type') == 'gp2', 'PV_base_AMI': lambda e: e.get('virt_type') == 'paravirtual' and e.get('vol_type') == 'standard',