saga-test.toml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. version = "5.14.1"
  2. [log]
  3. [bm]
  4. addr = "0.0.0.0:7000"
  5. timeout = "1s"
  6. maxListen = 100
  7. [memcache]
  8. mrRecordExpire = "720h"
  9. [memcache.mr]
  10. name = "mr"
  11. proto = "tcp"
  12. addr = "172.18.33.130:11211"
  13. idle = 5
  14. active = 10
  15. dialTimeout = "1s"
  16. readTimeout = "1s"
  17. writeTimeout = "1s"
  18. idleTimeout = "80s"
  19. [redis]
  20. active = 100
  21. idle = 100
  22. idleTimeout = "3s"
  23. waitTimeout = "3s"
  24. wait = false
  25. name = "redis"
  26. proto = "tcp"
  27. addr = "10.23.103.180:6379"
  28. dialTimeout = "1s"
  29. readTimeout = "1s"
  30. writeTimeout = "1s"
  31. [hbase]
  32. master = ""
  33. meta = ""
  34. dialTimeout = "1s"
  35. readTimeout = "1500ms"
  36. readsTimeout = "600ms"
  37. writeTimeout = "3000ms"
  38. writesTimeout = "600ms"
  39. [hbase.zookeeper]
  40. root = ""
  41. addrs = ["10.23.103.153:2181","172.18.33.168:2181","172.18.33.169:2181"]
  42. timeout = "30s"
  43. [httpClient]
  44. key = "fakeKey"
  45. secret = "fakeSecret"
  46. dial = "1s"
  47. timeout = "10s"
  48. keepAlive = "60s"
  49. [httpClient.breaker]
  50. window = "3s"
  51. sleep = "100ms"
  52. bucket = 10
  53. ratio = 0.5
  54. request = 100
  55. switchoff = false
  56. [orm]
  57. dsn = "root:123456@tcp(172.18.33.130:3306)/saga?timeout=200ms&readTimeout=200ms&writeTimeout=200ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  58. active = 5
  59. idle = 5
  60. idleTimeout = "4h"
  61. [identify]
  62. [identify.app]
  63. key = "7c7ac0db1aa05587"
  64. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  65. [identify.memcache]
  66. name = "go-business/identify"
  67. proto = "unix"
  68. addr = "/tmp/shd-platform-identify-web-mc.sock"
  69. active = 1024
  70. idle = 64
  71. dialTimeout = "30ms"
  72. readTimeout = "70ms"
  73. writeTimeout = "70ms"
  74. idleTimeout = "80s"
  75. [identify.host]
  76. auth = "http://passport.bilibili.co"
  77. secret = "http://open.bilibili.co"
  78. [identify.httpClient]
  79. key = "7c7ac0db1aa05587"
  80. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  81. dial = "30ms"
  82. timeout = "50ms"
  83. keepAlive = "60s"
  84. [identify.httpClient.breaker]
  85. window = "3s"
  86. sleep = "100ms"
  87. bucket = 10
  88. ratio = 0.5
  89. request = 100
  90. [identify.httpClient.url]
  91. "http://passport.bilibili.co/intranet/auth/tokenInfo" = {timeout = "100ms"}
  92. "http://passport.bilibili.co/intranet/auth/cookieInfo" = {timeout = "100ms"}
  93. "http://open.bilibili.co/api/getsecret" = {timeout = "500ms"}
  94. [property]
  95. taskTimeout = "1m"
  96. codePath = "/data/code"
  97. toolPath = "/data/tool/go/bin:/root/gopath/bin:/root/nodejs/node-v8.9.3-linux-x64/bin"
  98. goroot = "/data/tool/go"
  99. [property.rider]
  100. token = "sWLFPxns"
  101. secret = "rmIrNLqQSmUGRuFV"
  102. buildURL = "http://ops-rider.bilibili.co/api/app/saga_build_app"
  103. resultURL = "http://ops-rider.bilibili.co/api/app/get_build_info/%d"
  104. retagURL = "http://ops-rider.bilibili.co/api/app/saga_retag_app"
  105. releaseURL = "http://ops-rider.bilibili.co/api/sagarelease/start_release_app"
  106. releaseResultURL = "http://ops-rider.bilibili.co/api/releaseset/envflow_taskstatus/%d"
  107. pollPeriod = "5s"
  108. [property.serviceTree]
  109. tokenURL = "http://easyst.bilibili.co/v1/token"
  110. infoURL = "http://easyst.bilibili.co/v1/node/tree"
  111. username = "saga"
  112. platformID = "VhF33E/rYfLEsJxPh/MAuyY+XR>j&$kBaQXhV@F?yufxdMyvM3"
  113. reloadTick = "1h"
  114. [property.dag]
  115. buildTick = "1h"
  116. repoURL = "git@gitlab.bilibili.co:platform/go-common.git"
  117. repoName = "go-common"
  118. repoGitlabName = "Kratos"
  119. [property.gitlab]
  120. api = "http://gitlab.bilibili.co/api/v4"
  121. token = "z3nN4s4BVX5oNYXKbEPL"
  122. [[property.webhooks]]
  123. url = "http://api.bilibili.co/x/internal/v1/saga/gitlab/mr"
  124. mergeRequestsEvents = true
  125. [[property.webhooks]]
  126. url = "http://api.bilibili.co/x/internal/v1/saga/gitlab/comment"
  127. noteEvents = true
  128. [[property.webhooks]]
  129. url = "http://api.bilibili.co/x/internal/v1/saga/gitlab/pipeline"
  130. pipelineEvents = true
  131. [property.mail]
  132. host = "smtp.exmail.qq.com"
  133. port = 465
  134. address = "saga@bilibili.com"
  135. pwd = ""
  136. name = "SAGA"
  137. [property.ut]
  138. rate = 0.3
  139. [property.wechat]
  140. appId = 1000047
  141. appSecret = "WveODxk3xpT9box48wcxkmArx3mu6d4vJHdJkNy_iTk"
  142. [property.contact]
  143. appId = 9527
  144. appSecret = "humOPReDjdLaGwIyXO1NyJIbzf09ESO2Izn40jqjBg8"
  145. [property.healthcheck]
  146. checkCron = "0 0 5 ? * ?"
  147. [[property.healthcheck.alertAddrs]]
  148. name = "HinaKaze"
  149. address = "muyang@bilibili.com"
  150. [property.reportrequiredvisible]
  151. checkCron = "0 0 0 ? * 0"
  152. [[property.reportrequiredvisible.alertAddrs]]
  153. name = "zhanglin"
  154. address = "zhanglin@bilibili.com"
  155. [[property.reportrequiredvisible.alertAddrs]]
  156. name = "fangrongchang"
  157. address = "fangrongchang@bilibili.com"
  158. [[property.reportrequiredvisible.alertAddrs]]
  159. name = "tangyongqiang"
  160. address = "tangyongqiang@bilibili.com"
  161. [property.synccontact]
  162. checkCron = "0 0 10 * * ?"
  163. [[property.repos]]
  164. url = "git@gitlab.bilibili.co:platform/go-common.git"
  165. name = "go-common"
  166. gName = "Kratos"
  167. language = "go"
  168. minReviewer= 1
  169. IgnoreFiles = ["BUILD"]
  170. [[property.repos]]
  171. url = "git@gitlab.bilibili.co:zhanglin/bililive-android-livevideo-ci-test.git"
  172. name = "bililive-android-livevideo-ci-test"
  173. language = "android"
  174. IgnoreFiles = ["BUILD"]