forked from SFDO-Tooling/MetaDeploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.json
114 lines (114 loc) · 3.47 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
{
"name": "MetaDeploy",
"description": "Web-based tool for installing Salesforce products",
"repository": "https://github.com/SFDO-Tooling/MetaDeploy",
"keywords": ["ci", "python", "django", "salesforce", "github"],
"env": {
"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"
},
"ADMIN_API_ALLOWED_SUBNETS": {
"description": "Comma-separated list of IPv4 networks which will have Django admin access",
"value": "0.0.0.0/0",
"required": false
},
"DJANGO_SECRET_KEY": {
"description": "A secret key used to provide cryptographic signing",
"generator": "secret"
},
"DJANGO_HASHID_SALT": {
"description": "Salt used to hash IDs that get exposed publicly",
"generator": "secret"
},
"DJANGO_SETTINGS_MODULE": {
"description": "The site settings to use",
"value": "config.settings.production"
},
"AWS_ACCESS_KEY_ID": {
"description": "The AWS Access Key ID for S3 storages (optional).",
"required": false
},
"AWS_SECRET_ACCESS_KEY": {
"description": "The AWS Secret Access Key for S3 storages (optional)",
"required": false
},
"AWS_BUCKET_NAME": {
"description": "The S3 bucket name to use for S3 storages (optional)",
"required": false
},
"SENTRY_DSN": {
"description": "Sentry DSN for error reporting (if not using Heroku Sentry buildpack).",
"required": false
},
"SFDX_CLIENT_ID": {
"description": "The client id (consumer key) for the connected app used to auth with Salesforce."
},
"SFDX_CLIENT_SECRET": {
"description": "The client secret (consumer secret) for the connected app used to auth with Salesforce."
},
"SFDX_CLIENT_CALLBACK_URL": {
"description": "The callback URL used for OAuth callbacks, must be in the form of fqdn, AllAuth adds what it needs. e.g. https://metadeploy-staging.herokuapp.com/"
},
"GITHUB_APP_ID": {
"description": "App ID of the GitHub app that will be used to read repositories from GitHub"
},
"GITHUB_APP_KEY": {
"description": "Private key of the GitHub app that will be used to read repositories from GitHub"
},
"DB_ENCRYPTION_KEY": {
"description": "A key for encrypting using cryptography.fernet. Generate using cryptography.fernet.Fernet.generate_key"
}
},
"formation": {
"web": {
"quantity": 1,
"size": "free"
},
"devworker": {
"quantity": 1,
"size": "free"
},
"worker": {
"quantity": 0,
"size": "free"
},
"worker-short": {
"quantity": 0,
"size": "free"
}
},
"addons": ["heroku-postgresql", "heroku-redis"],
"buildpacks": [
{
"url": "heroku/nodejs"
},
{
"url": "heroku/python"
}
],
"environments": {
"test": {
"scripts": {
"test-setup": "pip install --upgrade -r requirements/test.txt",
"test": "pytest"
},
"env": {
"DJANGO_SETTINGS_MODULE": "config.settings.test",
"DATABASE_URL": "sqlite:///test.db",
"AWS_ACCESS_KEY_ID": "None",
"AWS_SECRET_ACCESS_KEY": "None",
"AWS_BUCKET_NAME": "None"
}
},
"review": {
"scripts": {
"postdeploy": "./manage.py populate_db"
}
}
}
}