-
Notifications
You must be signed in to change notification settings - Fork 8
/
commands.json
63 lines (63 loc) · 1.82 KB
/
commands.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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"test": false,
"error": {
"user": {
"get_logs": "upsun environment:log"
}
},
"first_deploy": {
"user": {
"clone": "git clone git@github.com:platformsh/demo-project.git",
"set_remote": "upsun project:set-remote",
"push": "upsun push",
"get_url": "upsun url --primary"
},
"test": {
"clone": "git clone -b $DEFAULT_BRANCH https://github.com/platformsh/demo-project.git $PROJECT_LOCALDIR",
"push": "git push --force upsun $DEFAULT_BRANCH"
}
},
"branch": {
"user": {
"branch": "upsun branch staging --type staging",
"get_url": "upsun url --primary"
},
"test": {
"branch": "upsun branch $STAGING_BRANCH --type staging",
"get_url": "upsun url --primary"
}
},
"redis": {
"user": {
"commit": "git commit -am \"Create a Redis service.\"",
"push": "upsun push"
},
"test": {
"push": "git push --force upsun $STAGING_BRANCH"
}
},
"merge_production": {
"user": {
"merge": "upsun merge staging",
"resources_set": "upsun resources:set \\\n\t--count frontend:2 \\\n\t--size redis_service:0.5 \\\n\t--disk frontend:512 \\\n\t-e main",
"get_url": "upsun url --primary -e main"
},
"test": {
"merge": "upsun merge $STAGING_BRANCH",
"resources_set": "upsun resources:set \\\n\t--count frontend:2 \\\n\t--size redis_service:0.5 \\\n\t--disk frontend:512 \\\n\t-e $DEFAULT_BRANCH"
}
},
"scale": {
"user": {
"resources_set": "upsun resources:set \\\n\t--size redis_service:0.1 \\\n\t--disk frontend:512 \\\n\t-e main"
},
"test": {
"resources_set": "upsun resources:set \\\n\t--size redis_service:0.1 \\\n\t--disk frontend:512 \\\n\t-e $DEFAULT_BRANCH"
}
},
"complete": {
"user": {
"delete_project": "upsun project:delete"
}
}
}