Commit fb8b7bd4 by John Jarvis

Merge branch 'master' into jarv/nginx-refactor

parents 2fd6d4d8 3c88573c
John Jarvis <jarv@edx.org> John Jarvis <jarv@edx.org>
Sef Kloninger <sef@kloninger.com> Sef Kloninger <sef@kloninger.com>
Joe Blaylock <jrbl@jrbl.org> Joe Blaylock <jrbl@stanford.edu>
Vik Paruchuri <vik@edx.org> Vik Paruchuri <vik@edx.org>
Jason Bau <jbau@stanford.edu> Jason Bau <jbau@stanford.edu>
Ed Zarecor <ed@edx.org> Ed Zarecor <ed@edx.org>
John Kern <kern3020@gmail.com> John Kern <kern3020@gmail.com>
Will Daly <will@edx.org> Will Daly <will@edx.org>
Bethany LaPenta <lapentab@mit.edu> Bethany LaPenta <lapentab@mit.edu>
Jay Zoldak <zoldak@edx.org> Jay Zoldak <jzoldak@edx.org>
...@@ -18,9 +18,12 @@ ...@@ -18,9 +18,12 @@
export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto
dir=$(dirname $0) if [[ -z $WORKSPACE ]]; then
source "${dir}/ascii-convert.sh" dir=$(dirname $0)
source "$dir/ascii-convert.sh"
else
source "$WORKSPACE/util/jenkins/ascii-convert.sh"
fi
if [[ -z $dns_name ]]; then if [[ -z $dns_name ]]; then
echo "The hostname is required to know what machine to configure" echo "The hostname is required to know what machine to configure"
......
...@@ -19,8 +19,13 @@ ...@@ -19,8 +19,13 @@
# - name_tag # - name_tag
export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto
dir=$(dirname $0)
source "${dir}/ascii-convert.sh" if [[ -z $WORKSPACE ]]; then
dir=$(dirname $0)
source "$dir/ascii-convert.sh"
else
source "$WORKSPACE/util/jenkins/ascii-convert.sh"
fi
if [[ -z $github_username ]]; then if [[ -z $github_username ]]; then
github_username=$BUILD_USER_ID github_username=$BUILD_USER_ID
...@@ -43,7 +48,7 @@ fi ...@@ -43,7 +48,7 @@ fi
if [[ -z $ami ]]; then if [[ -z $ami ]]; then
if [[ $server_type == "full_edx_installation" ]]; then if [[ $server_type == "full_edx_installation" ]]; then
ami="ami-c97727a0" ami="ami-65db8b0c"
elif [[ $server_type == "ubuntu_12.04" ]]; then elif [[ $server_type == "ubuntu_12.04" ]]; then
ami="ami-d0f89fb9" ami="ami-d0f89fb9"
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment