How do I upgrade stock OnDemand Bamboo images to grails 2.3.7

Greg Pagendam-Turner April 22, 2014

Latest version of Grails in Ondemand images seems to be 2.1.5

How do I upgrade to the latest?

1 answer

1 accepted

0 votes
Answer accepted
Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 22, 2014

A new set of images will be released with Bamboo 5.6 (in two weeks time max). It will contain Grails 2.3.7. You can use these images on OnDemand - just download the Bamboo trial and get the AMIs from there.

You can also use the following instance startup script (in your image configuration):

grails=2.3.7

    grailsZip=grails-$grails.zip
    wget ${COMMON_WGET_OPTIONS} "http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/$grailsZip"
    echo Unpacking Grails $grails
    unzip -q $grailsZip -d /opt
    rm -f $grailsZip
    grailsMajorVersion=$(echo $grails | sed 's/^\(...\).*/\1/')
    ln -s /opt/grails-$grails /opt/grails-${grailsMajorVersion}
    rm -rf /opt/grails-*/doc

Greg Pagendam-Turner April 28, 2014

What path in the archive are the AMIs in?

Przemek Bruski
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 29, 2014

WEB-INF/classes/atlassian-bamboo-agent-elastic-s3-bucket.aws

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events