~ubuntu-on-ec2/vmbuilder/jenkins_kvm-linux-azure

« back to all changes in this revision

Viewing changes to ec2_publisher.sh

  • Committer: Robert Jennings
  • Date: 2016-02-26 03:58:39 UTC
  • mto: This revision was merged to the branch mainline in revision 740.
  • Revision ID: robert.jennings@canonical.com-20160226035839-55rdybtrggcjlyx8
Drop ebs-standard and ebs-io1 for >=xenial (LP: #1547513)

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    checksum-directory "${work_d}/unpacked" ||
70
70
    fail "Failed to checksum result directories"
71
71
 
 
72
# Drop ebs-standard and ebs-io1 from publication for xenial and after
 
73
if [[ "${suite}" > "xenial" || "${suite}" == "xenial" ]] ; then
 
74
    export OVERRIDE_ITEMS_EBS="i386:ebs-ssd amd64:ebs-ssd"
 
75
    export OVERRIDE_ITEMS_HVM="amd64:hvm-ssd"
 
76
fi
 
77
 
72
78
echo "Publishing to EC2"
73
79
pub_args=(--verbose)
74
80
[ "${allow_existing}" -eq 1 ] && pub_args+=(--allow-existing)