forked from supabase/realtime
-
Notifications
You must be signed in to change notification settings - Fork 0
/
do.json
35 lines (35 loc) · 802 Bytes
/
do.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
{
"variables": {
"do_api_token": "{{env `DO_API_TOKEN`}}",
"region": "sgp1",
"size": "512mb"
},
"builders": [
{
"type": "digitalocean",
"api_token": "{{user `do_api_token`}}",
"image": "ubuntu-18-04-x64",
"region": "{{user `region`}}",
"size": "{{user `size`}}",
"ssh_username": "root",
"snapshot_name": "supabase-realtime-0.7.5"
}
],
"provisioners": [
{
"type": "ansible",
"playbook_file": "ansible/playbook.yml",
"ansible_env_vars": ["ANSIBLE_SSH_ARGS='-o IdentitiesOnly=yes'"],
"user": "root"
},
{
"type": "shell",
"scripts": [
"scripts/01-test",
"scripts/90-cleanup.sh",
"scripts/91-log_cleanup.sh",
"scripts/99-img_check.sh"
]
}
]
}