|
| 1 | +############# |
| 2 | +# Lake core # |
| 3 | +############# |
| 4 | + |
| 5 | +# Lake plugin dir, absolute path or relative path |
| 6 | +PLUGIN_DIR=bin/plugins |
| 7 | + |
| 8 | +# Lake Database Connection String |
| 9 | +DB_URL=merico:merico@tcp(mysql:3306)/lake?charset=utf8mb4&parseTime=True |
| 10 | +# Silent Error Warn Info |
| 11 | +DB_LOGGING_LEVEL=Error |
| 12 | + |
| 13 | +# Lake REST API |
| 14 | +PORT=:8080 |
| 15 | +MODE=release |
| 16 | + |
| 17 | +NOTIFICATION_ENDPOINT= |
| 18 | +NOTIFICATION_SECRET= |
| 19 | + |
| 20 | +API_TIMEOUT=10s |
| 21 | +API_RETRY=3 |
| 22 | +API_REQUESTS_PER_HOUR=10000 |
| 23 | +#TEMPORAL_URL=temporal:7233 |
| 24 | +TEMPORAL_URL= |
| 25 | +TEMPORAL_TASK_QUEUE= |
| 26 | +# Debug Info Warn Error |
| 27 | +LOGGING_LEVEL= |
| 28 | + |
| 29 | + |
| 30 | +######################## |
| 31 | +# Docker configuration # |
| 32 | +######################## |
| 33 | + |
| 34 | +COMPOSE_PROFILES=user |
| 35 | + |
| 36 | +###################### |
| 37 | +# Jira configuration # |
| 38 | +###################### |
| 39 | + |
| 40 | +# Jira configuration has been migrated into MySQL # |
| 41 | + |
| 42 | +######################## |
| 43 | +# Gitlab configuration # |
| 44 | +######################## |
| 45 | + |
| 46 | +GITLAB_ENDPOINT=https://gitlab.com/api/v4/ |
| 47 | +GITLAB_AUTH= |
| 48 | +GITLAB_PROXY= |
| 49 | +GITLAB_API_REQUESTS_PER_HOUR= |
| 50 | + |
| 51 | +########################## |
| 52 | +# Jira <> Gitlab mapping # |
| 53 | +########################## |
| 54 | + |
| 55 | +# Lake maintains a many-to-many relationship between Jira boards and Gitlab projects |
| 56 | +# Format: |
| 57 | +# JIRA_BOARD_GITLAB_PROJECTS=JIRA_BOARD_ID1:GITLAB_PROJECT_ID1,PROJECT_ID2;JIRA_BOARD_ID2:... |
| 58 | +JIRA_BOARD_GITLAB_PROJECTS= |
| 59 | + |
| 60 | +######################### |
| 61 | +# Jenkins configuration # |
| 62 | +######################### |
| 63 | + |
| 64 | +JENKINS_ENDPOINT= |
| 65 | +JENKINS_USERNAME= |
| 66 | +JENKINS_PASSWORD= |
| 67 | +JENKINS_PROXY= |
| 68 | +JENKINS_API_REQUESTS_PER_HOUR= |
| 69 | + |
| 70 | +######################### |
| 71 | +# Feishu configuration # |
| 72 | +######################### |
| 73 | + |
| 74 | +FEISHU_APPID= |
| 75 | +FEISHU_APPSCRECT= |
| 76 | +FEISHU_ENDPOINT=https://open.feishu.cn/open-apis/vc/v1/ |
| 77 | + |
| 78 | +######################## |
| 79 | +# GitHub configuration # |
| 80 | +######################## |
| 81 | + |
| 82 | +GITHUB_ENDPOINT=https://api.github.com/ |
| 83 | +GITHUB_AUTH=*** |
| 84 | +GITHUB_PROXY= |
| 85 | +GITHUB_API_REQUESTS_PER_HOUR= |
| 86 | +# GITHUB_PR_TYPE=type/(.*)$ the program will extract the value in (), in this example, you will get "refactor" from "type/refactor" |
| 87 | +GITHUB_PR_TYPE='type/(.*)$' |
| 88 | +# GITHUB_PR_COMPONENT=component/(.*)$ the program will extract the value in (), in this example, you will get "plugins" from "component/plugins" |
| 89 | +GITHUB_PR_COMPONENT='component/(.*)$' |
| 90 | +# GITHUB_ISSUE_SEVERITY=severity/(.*)$ the program will extract the value in (), in this example, you will get "refactor" from "type/refactor" |
| 91 | +GITHUB_ISSUE_SEVERITY='severity/(.*)$' |
| 92 | +# GITHUB_ISSUE_COMPONENT=component/(.*)$ the program will extract the value in (), in this example, you will get "refactor" from "type/refactor" |
| 93 | +GITHUB_ISSUE_COMPONENT='component/(.*)$' |
| 94 | +GITHUB_ISSUE_PRIORITY='^(highest|high|medium|low)$' |
| 95 | +GITHUB_ISSUE_TYPE_BUG='^(bug|failure|error)$' |
| 96 | +GITHUB_ISSUE_TYPE_REQUIREMENT='^(feat|feature|proposal|requirement)$' |
| 97 | +GITHUB_ISSUE_TYPE_INCIDENT= |
| 98 | +# GITHUB_PR_BODY_CLOSE_PATTERN='(?mi)(fix|close|resolve|fixes|closes|resolves|fixed|closed|resolved)[\s]*.*(((and )?(#|https:\/\/github.com\/%s\/%s\/issues\/)\d+[ ]*)+)' |
| 99 | +GITHUB_PR_BODY_CLOSE_PATTERN='(?mi)(fix|close|resolve|fixes|closes|resolves|fixed|closed|resolved)[\s]*.*(((and )?(#|https:\/\/github.com\/%s\/%s\/issues\/)\d+[ ]*)+)' |
| 100 | +# GITHUB_PR_TITLE_PATTERN='.*\(#(\d+)\)' |
| 101 | +GITHUB_PR_TITLE_PATTERN='.*\(#(\d+)\)' |
| 102 | + |
| 103 | +########################## |
| 104 | +# AE (Merico-Analysis-Engine) configuration # |
| 105 | +########################## |
| 106 | +AE_APP_ID= |
| 107 | +AE_SECRET_KEY= |
| 108 | +AE_ENDPOINT= |
| 109 | +AE_RATE_LIMIT=100 |
| 110 | +AE_PROXY= |
| 111 | + |
| 112 | +########################## |
| 113 | +# Sensitive information encryption key |
| 114 | +########################## |
| 115 | +ENCODE_KEY= |
0 commit comments