Skip to content

Commit

Permalink
move west
Browse files Browse the repository at this point in the history
  • Loading branch information
tingletech committed Mar 19, 2015
1 parent e192713 commit 3c92043
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions deploy-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ set -u
ZIP=thumbnail-ebs.zip
DIR=thumbnail-beanstalk
BUCKET=xtf.dsc.cdlib.org
REGION=us-west-2
APPNAME=thumbnails-west

zip $ZIP Dockerfile requirements.txt thumbnail.py md5s3stash.py
aws s3 cp $ZIP s3://$BUCKET/$DIR/$ZIP
aws elasticbeanstalk create-application-version \
--application-name ucldc-thumbnail \
--region us-east-1 \
--application-name $APPNAME \
--region $REGION \
--source-bundle S3Bucket=$BUCKET,S3Key=$DIR/$ZIP \
--version-label "$1"

Expand Down

0 comments on commit 3c92043

Please sign in to comment.