You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/_index.en.md
+15-9Lines changed: 15 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -327,18 +327,20 @@ The default configuration can be found in `config/default.json`. The full refere
327
327
"timestampPrefix":"Boolean. Set to true to prefix the timestamp of the error message with the current date (in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ); see below"
328
328
},
329
329
"reporter": { // Reporter mechanism to create GitHub issues when terms content is inaccessible
330
-
"githubIssues": {
331
-
"repositories": {
332
-
"declarations":"GitHub repository where to create issues; expected format: <owner>/<repository>",
333
-
"versions":"GitHub repository of versions associated with the declarations; expected format: <owner>/<repository>",
334
-
"snapshots":"GitHub repository of snapshots associated with the declarations; expected format: <owner>/<repository>"
335
-
}
330
+
"type":"The type of reporter to use; can be 'github' or 'gitlab'",
331
+
"repositories": {
332
+
"declarations":"GitHub or GitLab repository where to create issues; expected format: <owner>/<repository>",
333
+
"versions":"GitHub or GitLab repository of versions associated with the declarations; expected format: <owner>/<repository>",
334
+
"snapshots":"GitHub or GitLab repository of snapshots associated with the declarations; expected format: <owner>/<repository>"
336
335
}
336
+
"baseURL":"Base URL of the GitLab instance (only relevant if 'type' is 'gitlab')",
337
+
"apiBaseURL":"Base URL of the GitLab API (only relevant if 'type' is 'gitlab')"
337
338
},
338
339
"dataset": { // Release mechanism to create dataset periodically
339
340
"title":"Title of the dataset; recommended to be the name of the instance that generated it",
340
-
"versionsRepositoryURL":"GitHub repository where the dataset will be published as a release; recommended to be the versions repository for discoverability and tagging purposes",
341
-
"publishingSchedule":"Cron expression to define the dataset publishing schedule; see below"
341
+
"versionsRepositoryURL":"GitHub or GitLab repository where the dataset will be published as a release; recommended to be the versions repository for discoverability and tagging purposes",
342
+
"publishingSchedule":"Cron expression to define the dataset publishing schedule; see below",
343
+
"apiBaseURL":"Base URL of the GitLab API (only relevant if 'type' is 'gitlab')"
342
344
},
343
345
"collection-api": { // Collection metadata API
344
346
"port":"The port number on which the API will listen for incoming requests",
@@ -415,7 +417,11 @@ Environment variables can be passed in the command-line or provided in a `.env`
415
417
416
418
-`OTA_ENGINE_SMTP_PASSWORD`: a password for email server authentication, in order to send email notifications.
417
419
-`OTA_ENGINE_SENDINBLUE_API_KEY`: a SendInBlue API key, in order to send email notifications with that service.
418
-
-`OTA_ENGINE_GITHUB_TOKEN`: a token with repository privileges to access the [GitHub API](https://github.com/settings/tokens).
420
+
-`OTA_ENGINE_GITHUB_TOKEN`: a token with repository privileges to access the [GitHub API](https://github.com/settings/tokens) to create issues and publish dataset releases.
421
+
-`OTA_ENGINE_GITLAB_TOKEN`: a token with repository privileges to access the [GitLab API](https://gitlab.com/profile/personal_access_tokens) to create issues.
422
+
-`OTA_ENGINE_GITLAB_RELEASES_TOKEN`: a token with repository privileges to access the [GitLab API](https://gitlab.com/profile/personal_access_tokens) to publish dataset releases.
423
+
424
+
If both `OTA_ENGINE_GITHUB_TOKEN` and `OTA_ENGINE_GITLAB_TOKEN` are defined, GitHub takes precedence for dataset publishing.
419
425
420
426
If an outgoing HTTP/HTTPS proxy to access the Internet is required, it is possible to provide it through the `HTTP_PROXY` and `HTTPS_PROXY` environment variable.
0 commit comments