~andrewjbeach/juju-ci-tools/make-local-patcher

« back to all changes in this revision

Viewing changes to publish-revision

  • Committer: Martin Packman
  • Date: 2015-03-13 23:13:45 UTC
  • mto: This revision was merged to the branch mainline in revision 906.
  • Revision ID: martin.packman@canonical.com-20150313231345-7wkb5egtrmi4h871
Unrevert addition of get_ami script

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
    series=$(echo "$dsc" | cut -d '~' -f 2 | cut -d '.' -f 1,2)
29
29
    if [[ $series == '12.04' ]]; then
30
30
        echo "Building precise amd64"
31
 
        $RELEASE_TOOLS/build-package-with-dsc.bash m1.large ami-36aa4d5e $dsc
 
31
        AMI=$($SCRIPTS/get_ami.py precise amd64)
 
32
        $RELEASE_TOOLS/build-package-with-dsc.bash m1.large $AMI $dsc
32
33
    elif [[ $series == '13.10' ]]; then
33
34
        echo "Skipping Saucy"
34
35
    elif [[ $series == '14.04' ]]; then
42
43
            echo "Skipping trusty ppc64"
43
44
        fi
44
45
        echo "Building trusty amd64"
45
 
        $RELEASE_TOOLS/build-package-with-dsc.bash m1.large ami-b027efd8 $dsc
 
46
        AMI=$($SCRIPTS/get_ami.py trusty amd64)
 
47
        $RELEASE_TOOLS/build-package-with-dsc.bash m1.large $AMI $dsc
46
48
        echo "Building trusty i386"
47
49
        if [[ -n ${I386_SSH_OPTIONS:-} ]]; then
48
50
            $RELEASE_TOOLS/build-package-with-dsc.bash ubuntu@i386-slave \
49
51
                    "$I386_SSH_OPTIONS" $dsc
50
52
        else
 
53
            AMI=$($SCRIPTS/get_ami.py trusty i386)
51
54
            $RELEASE_TOOLS/build-package-with-dsc.bash \
52
 
                m1.medium ami-81dee0e8 $dsc
 
55
                m1.medium $AMI $dsc
53
56
        fi
54
57
        if [[ -n ${ARM_SSH_OPTIONS:-} ]]; then
55
58
            echo "Building trusty arm64"