Merge remote-tracking branch 'server/master'

Change-Id: I45819a84de6740aaa5d7a07dea96f8930c2d712c
This commit is contained in:
Axel Uhl committed 2018-10-22 11:32:08 +02:00
commit 14198f67d6
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
AWS=/root/.local/bin/aws
REGION=eu-west-1
HUDSON_SLAVE_AMI_ID=ami-63e9f689
HUDSON_SLAVE_AMI_ID=ami-0da42b04d07c58be6
echo Launching instance...
instanceid=`$AWS ec2 run-instances --image-id $HUDSON_SLAVE_AMI_ID --count 1 --instance-type c5d.4xlarge --key-name Axel --security-groups "Sailing Analytics App" --region $REGION --placement AvailabilityZone=eu-west-1c --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=Hudson Ubuntu Slave}]' --instance-initiated-shutdown-behavior terminate | tee /tmp/slavelaunch.out | jq .Instances[0].InstanceId | sed -e 's/"//g'`
if [ "$instanceid" = "" ]; then