Skip to content

Commit 14a0008

Browse files
author
Francis Caron
committed
Match official gitlab.yml configuration
1 parent db631c7 commit 14a0008

1 file changed

Lines changed: 18 additions & 13 deletions

File tree

assets/runtime/config/gitlabhq/gitlab.yml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,24 @@ production: &base
170170
## Disable jQuery and CSS animations
171171
# disable_animations: true
172172

173+
#start-microsoft-graph-mailer
174+
# Allows delivery of emails using Microsoft Graph API with OAuth 2.0 client credentials flow.
175+
microsoft_graph_mailer:
176+
enabled: {{MICROSOFT_GRAPH_MAILER_ENABLED}}
177+
# The unique identifier for the user. To use Microsoft Graph on behalf of the user.
178+
user_id: "{{MICROSOFT_GRAPH_MAILER_USER_ID}}"
179+
# The directory tenant the application plans to operate against, in GUID or domain-name format.
180+
tenant: "{{MICROSOFT_GRAPH_MAILER_TENANT}}"
181+
# The application ID that's assigned to your app. You can find this information in the portal where you registered your app.
182+
client_id: "{{MICROSOFT_GRAPH_MAILER_CLIENT_ID}}"
183+
# The client secret that you generated for your app in the app registration portal.
184+
client_secret: "{{MICROSOFT_GRAPH_MAILER_CLIENT_SECRET}}"
185+
# Defaults to "https://login.microsoftonline.com".
186+
azure_ad_endpoint: "{{MICROSOFT_GRAPH_MAILER_AZURE_AD_ENDPOINT}}"
187+
# Defaults to "https://graph.microsoft.com".
188+
graph_endpoint: "{{MICROSOFT_GRAPH_MAILER_GRAPH_ENDPOINT}}"
189+
#end-microsoft-graph-mailer
190+
173191
## Reply by email
174192
# Allow users to comment on issues and merge requests by replying to notification emails.
175193
# For documentation on how to set this up, see http://doc.gitlab.com/ce/administration/reply_by_email.html
@@ -211,19 +229,6 @@ production: &base
211229
# Whether to expunge (permanently remove) messages from the mailbox when they are deleted after delivery
212230
expunge_deleted: false
213231

214-
#start-microsoft-graph-mailer
215-
## Microsoft Graph Mailer
216-
# Send emails via Microsoft Graph API with OAuth 2.0 client credentials.
217-
microsoft_graph_mailer:
218-
enabled: {{MICROSOFT_GRAPH_MAILER_ENABLED}}
219-
user_id: "{{MICROSOFT_GRAPH_MAILER_USER_ID}}"
220-
tenant: "{{MICROSOFT_GRAPH_MAILER_TENANT}}"
221-
client_id: "{{MICROSOFT_GRAPH_MAILER_CLIENT_ID}}"
222-
client_secret: "{{MICROSOFT_GRAPH_MAILER_CLIENT_SECRET}}"
223-
azure_ad_endpoint: "{{MICROSOFT_GRAPH_MAILER_AZURE_AD_ENDPOINT}}"
224-
graph_endpoint: "{{MICROSOFT_GRAPH_MAILER_GRAPH_ENDPOINT}}"
225-
#end-microsoft-graph-mailer
226-
227232
## Build Artifacts
228233
artifacts:
229234
enabled: {{GITLAB_ARTIFACTS_ENABLED}}

0 commit comments

Comments
 (0)