-
Notifications
You must be signed in to change notification settings - Fork 749
Expand file tree
/
Copy pathalias1.yml
More file actions
46 lines (45 loc) · 1.34 KB
/
alias1.yml
File metadata and controls
46 lines (45 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
x-ec2_anchor: &ec2_anchor
associatePublicIp: false
connectBySSHProcess: false
connectionStrategy: PRIVATE_IP
deleteRootOnTermination: false
ebsOptimized: false
idleTerminationMinutes: "10"
maxTotalUses: -1
monitoring: false
numExecutors: 1
stopOnTerminate: false
useDedicatedTenancy: false
useEphemeralDevices: false
zone: "us-east-1"
ami: "ami-0c6bb742864ffa3f3"
securityGroups: "some-group"
remoteFS: "/home/ec2-user"
remoteAdmin: "ec2-user"
mode: "NORMAL"
amiType:
unixData:
rootCommandPrefix: "sudo"
slaveCommandPrefix: "sudo -u jenkins"
sshPort: "61120"
jenkins:
clouds:
- amazonEC2:
name: "ec2"
instanceCapStr: 20
# this shouldn't be needed, since without explicit creds this should already be used
# but let's be explicit to avoid issues.
useInstanceProfileForCredentials: true
# Reminder: the following key has multiple lines
privateKey: "${EC2_PRIVATE_KEY}"
noDelayProvisioning: true
region: "eu-central-1"
templates:
- description: "Auto configured EC2 Agent Small"
type: "t2.small"
labelString: "Small"
<<: *ec2_anchor
- description: "Auto configured EC2 Agent Large"
type: "t2.xlarge"
labelString: "Large"
<<: *ec2_anchor