-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
41 lines (41 loc) · 1.17 KB
/
app.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
{
"name": "tg-slack-channel-manager",
"env": {
"SLACK_SIGNING_SECRET": {
"description": "Slack Signing Secret",
"required": true,
"order": 10
},
"SLACK_BOT_TOKEN": {
"description": "Slack Bot Token",
"required": true,
"order": 20
},
"PROJECT_ID": {
"description": "GCP Project Id (used to reference the secrets via the app)",
"required": true,
"order": 60
}
},
"options": {
"allow-unauthenticated": true,
"memory": "512Mi",
"cpu": "1",
"http2": false
},
"build": {
"skip": false
},
"hooks": {
"prebuild": {
"commands": [
"./cloudrun_prebuild.sh"
]
},
"postcreate": {
"commands": [
"gcloud run services update tg-slack-channel-manager --no-cpu-throttling --project \"$GOOGLE_CLOUD_PROJECT\"",
"gcloud run services update tg-slack-channel-manager --project \"$GOOGLE_CLOUD_PROJECT\" --remove-env-vars SLACK_BOT_TOKEN,SLACK_SIGNING_SECRET" ]
}
}
}