mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-13 22:15:26 +00:00
upgrade to Hudson Slave 1.11 AMI
This commit is contained in:
1 parent
1205e5cb3c
commit
b98b25ce50
1 file changed
+2
-2
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
AWS=/root/.local/bin/aws
|
||||
REGION=eu-west-1
|
||||
#HUDSON_SLAVE_AMI_ID=ami-027eed1bdca18b979
|
||||
HUDSON_SLAVE_AMI_ID=ami-046152714826b63b1
|
||||
#HUDSON_SLAVE_AMI_ID=ami-046152714826b63b1
|
||||
HUDSON_SLAVE_AMI_ID=ami-031439039fb13d868
|
||||
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 --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
|
||||
|
||||
Reference in new issue
Block a user