-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.json
46 lines (46 loc) · 1.02 KB
/
base.json
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
{
"variables": {
},
"builders": [
{
"type" : "amazon-ebs",
"ami_name": "chromium-builder.{{timestamp}}",
"region" : "us-east-2",
"instance_type" : "c5.xlarge",
"spot_price": "0.1",
"block_duration_minutes": 60,
"source_ami_filter": {
"most_recent": true,
"filters": {
"name": "ubuntu/images/hvm-ssd/ubuntu-bionic-18.04-amd64-server-*",
"virtualization-type": "hvm",
"root-device-type": "ebs"
},
"owners": ["099720109477"]
},
"launch_block_device_mappings": [
{
"device_name": "/dev/sda1",
"volume_size": 40,
"volume_type": "gp2",
"delete_on_termination": true
}
],
"ssh_username" : "ubuntu"
}
],
"provisioners": [
{
"type": "shell",
"inline": [
"while ! systemctl is-active cloud-init.target; do sleep 1; done"
]
},
{
"type": "shell",
"scripts": [
"scripts/prepare.sh"
]
}
]
}