-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathleanengine.yaml
More file actions
27 lines (27 loc) · 766 Bytes
/
leanengine.yaml
File metadata and controls
27 lines (27 loc) · 766 Bytes
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
runtime: nodejs
install: npm install
build: echo ''
run: |
echo '{
"mongoDbUri": "'"$MONGODB_URI"'",
"mongoDbName": "pzp-agent",
"redisUrl": "'"$REDIS_URL_main"'",
"githubApiUrl": "'"$GITHUB_API_URL"'",
"defaultRespack": "'"$DEFAULT_RESPACK"'",
"webhookUrl": "'"$WEBHOOK_URL"'",
"timezone": "Asia/Shanghai",
"useSnapshot": true,
"oss": {
"leancloud": {
"appId": "'"$LEANCLOUD_APP_ID"'",
"appKey": "'"$LEANCLOUD_APP_KEY"'",
"serverURL": "'"$LEANCLOUD_API_SERVER"'",
"masterKey": "'"$LEANCLOUD_MASTER_KEY"'"
}
},
"idPool": ["Thunderstorm", "Magnesium", "Kaleidoscope"],
"agents": '"$AGENTS"',
"clients": '"$CLIENTS"'
}' > ./config.json
npm run build
npm run start