-
Notifications
You must be signed in to change notification settings - Fork 10
/
app.json
171 lines (171 loc) · 4.56 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
{
"name": "AlloyCI",
"description": "An open-source, Elixir based CI coordinator",
"repository": "https://github.com/AlloyCI/alloy_ci",
"website": "https://alloy-ci.com/",
"logo": "https://alloy-ci.com/images/logo.png",
"keywords": [
"github",
"continuous-delivery",
"continuous-integration",
"continuous-testing",
"elixir",
"phoenix"
],
"success_url": "/",
"env": {
"MIX_ENV": {
"description": "Env to run the application in",
"value": "heroku"
},
"RUNNER_REGISTRATION_TOKEN": {
"description": "Token that allows registration of global runners",
"value": ""
},
"SERVER_URL": {
"description": "Where AlloyCI will be running (probably https://<app name>.herokuapp.com/)",
"value": ""
},
"HOST": {
"description": "FQDN of where AlloyCI will be running",
"value": ""
},
"SECRET_KEY_BASE": {
"description": "A secret key for verifying the integrity of cookies",
"generator": "mix phx.gen.secret"
},
"GITHUB_ENTERPRISE": {
"description": "If using GitHub Enterprise, set to true, otherwise leave blank",
"value": "",
"required": "false"
},
"GITHUB_ENDPOINT": {
"description": "If using GitHub Enterprise, set it to its URL, otherwise leave blank",
"value": "",
"required": "false"
},
"GITHUB_CLIENT_ID": {
"description": "GitHub OAuth client ID",
"value": ""
},
"GITHUB_CLIENT_SECRET": {
"description": "GitHub OAuth client secret",
"value": ""
},
"GITHUB_APP_ID": {
"description": "GitHub App ID",
"value": ""
},
"GITHUB_PRIVATE_KEY": {
"description": "GitHub Integration private key (download the file, and paste the contents here)",
"value": ""
},
"GITHUB_SECRET_TOKEN": {
"description": "Github Integration webhook secret",
"value": ""
},
"GITHUB_APP_URL": {
"description": "The URL of your GitHub App, so users can install it",
"value": ""
},
"S3_STORAGE_ENABLED": {
"description": "Use AWS S3 to store build artifacts. See documentation to use a service other than AWS",
"value": "true",
"required": "true"
},
"S3_ACCESS_KEY_ID": {
"description": "Your AWS S3 Access Key ID",
"value": "",
"required": "true"
},
"S3_SECRET_ACCESS_KEY": {
"description": "Your AWS S3 Secret Access Key",
"value": "",
"required": "true"
},
"ENABLE_SLACK_NOTIFICATIONS": {
"description": "Enable Slack Notifications. All Slack related variables are required if this is set to 'true'",
"value": "false"
},
"SLACK_CHANNEL": {
"description": "Channel for notification posts",
"value": "",
"required": "false"
},
"SLACK_SERVICE_NAME": {
"description": "Name of the Slack Service",
"value": "AlloyCI",
"required": "false"
},
"SLACK_HOOK_URL": {
"description": "URL of the Slack Web Hook",
"value": "",
"required": "false"
},
"ENABLE_EMAIL_NOTIFICATIONS": {
"description": "Enable Email Notifications. All Email related variables are required if this is set to 'true'",
"value": "false",
"required": "false"
},
"SMTP_SERVER": {
"description": "SMTP Server domain or IP address",
"value": "",
"required": "false"
},
"SMTP_PORT": {
"description": "SMTP Port",
"value": "",
"required": "false"
},
"SMTP_USERNAME": {
"description": "SMTP Username",
"value": "",
"required": "false"
},
"SMTP_PASSWORD": {
"description": "SMTP Password",
"value": "",
"required": "false"
},
"SMTP_SSL": {
"description": "SMTP SSL",
"value": "true",
"required": "false"
},
"ALLOWED_TLS_VERSIONS": {
"description": "Allowed TLS versions",
"value": "tlsv1.1,tlsv1.2",
"required": "false"
},
"FROM_ADDRESS": {
"description": "Email sender address",
"value": "",
"required": "false"
},
"REPLY_TO_ADDRESS": {
"description": "Email address for replies",
"value": "",
"required": "false"
}
},
"formation": {
"web": {
"quantity": 1,
"size": "free"
}
},
"addons": [
"heroku-postgresql:hobby-dev"
],
"buildpacks": [
{
"url": "https://github.com/HashNuke/heroku-buildpack-elixir.git"
},
{
"url": "https://github.com/gjaldon/heroku-buildpack-phoenix-static.git"
}
],
"scripts": {
"postdeploy": "MIX_ENV=heroku mix ecto.migrate"
}
}