Created
May 26, 2015 18:35
-
-
Save rail/8f2855e41a92714bdc4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(aws_manager)[[email protected] cloud-tools]$ cat /builds/aws_manager/bin/aws_manager-bld-linux64-ec2-golden.sh | |
#! /bin/bash | |
# This Source Code Form is subject to the terms of the Mozilla Public | |
# License, v. 2.0. If a copy of the MPL was not distributed with this | |
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | |
set -e | |
set -o pipefail | |
LOCKFILE="/builds/aws_manager/bld-linux64-ec2-golden.lock" | |
lockfile -60 -r 3 "$LOCKFILE" | |
trap "rm -f $LOCKFILE" EXIT | |
cd /builds/aws_manager/cloud-tools/scripts | |
/builds/aws_manager/bin/python "aws_create_instance.py" -c /builds/aws_manager/cloud-tools/configs/bld-linux64 -r us-east-1 -s aws-releng -k /builds/aws_manager/secrets/aws-secrets.json --ssh-key /home/buildduty/.ssh/aws-ssh-key -i /builds/aws_manager/cloud-tools/instance_data/us-east-1.instance_data_prod.json --create-ami --ignore-subnet-check --copy-to-region us-west-2 bld-linux64-ec2-golden |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment