-
Notifications
You must be signed in to change notification settings - Fork 29
/
app.json
153 lines (153 loc) · 4.65 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "MetaCI",
"description": "A lightweight CI server for Salesforce developers to automate running CumulusCI flows against Github repositories",
"repository": "https://github.com/SFDO-Tooling/MetaCI",
"logo": "https://avatars.githubusercontent.com/u/5545431?v=3&s=100",
"keywords": [
"ci",
"python",
"django",
"salesforce",
"github"
],
"env": {
"DB_ENCRYPTION_KEYS": {
"description": "Encryption key for secrets stored in the database. Generate a key using cryptography.fernet.Fernet.generate_key()",
"value": ""
},
"DJANGO_ALLOWED_HOSTS": {
"description": "Heroku proxies web requests and Django needs to be configured to allow the forwards",
"value": ".herokuapp.com"
},
"DJANGO_ADMIN_URL": {
"description": "The url path to the admin section of the site",
"value": "admin"
},
"DJANGO_AWS_ACCESS_KEY_ID": {
"description": "Amazon AWS Access ID for access to S3 for storing build assets",
"value": "",
"required": false
},
"DJANGO_AWS_SECRET_ACCESS_KEY": {
"description": "Amazon AWS Secret Key",
"value": "",
"required": false
},
"DJANGO_AWS_STORAGE_BUCKET_NAME": {
"description": "Amazon S3 Bucket Name used for storing build assets. The user of the AWS Access Id should have rights to this bucket",
"value": "",
"required": false
},
"DJANGO_SECRET_KEY": {
"description": "The url path to the admin section of the site",
"generator": "secret"
},
"DJANGO_SETTINGS_MODULE": {
"description": "The site settings to use",
"value": "config.settings.production"
},
"FROM_EMAIL": {
"description": "The email address outbound mail should be sent from",
"value": ""
},
"GITHUB_WEBHOOK_SECRET": {
"description": "The url for handling Github webhooks. Ex: https://<app-name>.herokuapp.com/webhook/github",
"generator": "secret"
},
"GITHUB_CLIENT_ID": {
"description": "Client ID of your GitHub app",
"value": ""
},
"GITHUB_CLIENT_SECRET": {
"description": "Client Secret of your GitHub app",
"value": ""
},
"HIREFIRE_TOKEN": {
"description": "The token for integrating with Hirefire.io for auto-scaling worker dynos based on queued/running builds",
"value": "",
"required": false
},
"REDIS_MAX_CONNECTIONS": {
"description": "The number of Redis connections each process should keep in its pool. Increase this value if you are running many workers and a paid Redis plan that can handle more connections.",
"value": "1",
"required": false
},
"METACI_SCRATCH_ORG_RESERVE": {
"description": "The number of scratch orgs to always reserve in the DevHub (for non CI use). Ten is a good number, but if your DevHub is a free DE, you'll need to set it to something lower, like one.",
"value": "10",
"required": false
},
"SFDX_HUB_KEY": {
"description": "The private key for the JWT authentication to the devhub for Salesforce DX. Required to use scratch orgs",
"value": "",
"required": false
},
"SFDX_CLIENT_ID": {
"description": "The ClientID of the JWT connected app used for authenticating to the devhub for Salesforce DX. Required to use scratch orgs",
"value": "",
"required": false
},
"SFDX_HUB_USERNAME": {
"description": "The username for the devhub org for Salesforce DX. Required to use scratch orgs",
"value": "",
"required": false
},
"SITE_URL": {
"description": "The base url to the site. Typically this should be https://<your_app>.herokuapp.com",
"value": ""
}
},
"formation": {
"web": {
"quantity": 1,
"size": "free"
},
"dev_worker": {
"quantity": 1,
"size": "free"
},
"worker": {
"quantity": 0,
"size": "free"
},
"worker_short": {
"quantity": 0,
"size": "free"
}
},
"scripts": {
"postdeploy": "./postdeploy.sh"
},
"image": "heroku/python",
"addons": [
"heroku-postgresql",
"heroku-redis",
"mailgun:starter"
],
"buildpacks": [
{
"url": "heroku/nodejs"
},
{
"url": "https://github.com/SalesforceFoundation/simple-salesforce-dx-buildpack.git"
},
{
"url": "heroku/python"
}
],
"environments": {
"test": {
"addons": [
"heroku-postgresql:in-dyno",
"heroku-redis:in-dyno"
],
"scripts": {
"test-setup": "pip install --upgrade -r requirements/dev.txt",
"test": "./heroku_ci.sh"
},
"env": {
"DJANGO_SETTINGS_MODULE": "config.settings.test"
}
}
}
}