saga-admin-test.toml 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. [bm]
  2. addr = "0.0.0.0:8000"
  3. maxListen = 10000
  4. timeout = "1000s"
  5. [httpClient]
  6. key = "c05dd4e1638a8af0"
  7. secret = "7daa7f8c06cd33c5c3067063c746fdcb"
  8. dial = "2s"
  9. timeout = "10s"
  10. keepAlive = "60s"
  11. timer = 1000
  12. [httpClient.breaker]
  13. window = "10s"
  14. sleep = "2000ms"
  15. bucket = 10
  16. ratio = 0.5
  17. request = 100
  18. [orm]
  19. dsn = "root:123456@tcp(172.16.60.47:3306)/saga?timeout=20000ms&readTimeout=20000ms&writeTimeout=20000ms&parseTime=true&loc=Local&charset=utf8,utf8mb4"
  20. active = 5
  21. idle = 5
  22. idleTimeout = "4h"
  23. [memcache]
  24. mcRecordExpire = "720h"
  25. [memcache.mc]
  26. name = "saga-admin"
  27. proto = "tcp"
  28. addr = "172.18.33.130:11211"
  29. idle = 5
  30. active = 10
  31. dialTimeout = "1s"
  32. readTimeout = "1s"
  33. writeTimeout = "1s"
  34. idleTimeout = "10s"
  35. [redis]
  36. active = 100
  37. idle = 100
  38. idleTimeout = "3s"
  39. waitTimeout = "3s"
  40. wait = false
  41. name = "redis"
  42. proto = "tcp"
  43. addr = "172.22.33.137:6821"
  44. dialTimeout = "1s"
  45. readTimeout = "1s"
  46. writeTimeout = "1s"
  47. [permit]
  48. [permit.Memcache]
  49. name = "go-business/auth"
  50. proto = "tcp"
  51. addr = "172.18.33.61:11232"
  52. active = 10
  53. idle = 10
  54. dialTimeout = "1s"
  55. readTimeout = "1s"
  56. writeTimeout = "1s"
  57. idleTimeout = "80s"
  58. [property]
  59. [property.gitlab]
  60. api = "http://git-test.bilibili.co/api/v4"
  61. token = ""
  62. [property.git]
  63. api = "http://git.bilibili.co/api/v4"
  64. token = ""
  65. checkCron = "* */15 * * * ?"
  66. userlist = ["wuwei"]
  67. [[property.git.alertpipeline]]
  68. projectName = "andruid"
  69. projectID = 5822
  70. runningtimeout = 60
  71. runningrate = 50
  72. runningthreshold = 5
  73. pendingtimeout = 2
  74. pendingthreshold = 5
  75. [[property.git.alertpipeline]]
  76. projectName = "loktar"
  77. projectID = 4928
  78. runningtimeout = 20
  79. runningrate = 50
  80. runningthreshold = 3
  81. pendingtimeout = 10
  82. pendingthreshold = 5
  83. [property.syncproject]
  84. checkCron = "0 0 0 ? * 0"
  85. [property.syncdata]
  86. syncalltime = false
  87. defaultsyncdays = 1
  88. checkCron = "0 0 22 ? * 4"
  89. wechatUser = ["wuwei","zhanglin"]
  90. [property.department]
  91. label = "主站 直播 bplus 开放平台 创作中心 商业产品 数据中心 视频云 游戏 火鸟"
  92. value = "mainsite live bplus openplatform creative advertising datacenter videocloud game firebird"
  93. [property.business]
  94. label = "android iOS 后端 前端"
  95. value = "android ios service web"
  96. [property.defaultproject]
  97. projectIDs=[682,4928,5822]
  98. status = ["created","pending","running","failed","success","canceled","skipped","manual"]
  99. types = [1]
  100. commitmrtypes = [0,1]
  101. [property.group]
  102. name = "android ios live-dev"
  103. department = "mainsite mainsite live"
  104. business = "android ios service"
  105. [property.mail]
  106. host = "smtp.exmail.qq.com"
  107. port = 465
  108. address = "***"
  109. pwd = "***"
  110. name = "SAGA"
  111. [property.wechat]
  112. appId = 1000047
  113. appSecret = ""
  114. redisExpireWechat=3000
  115. [property.contact]
  116. appId = 9527
  117. appSecret = ""
  118. [property.sven]
  119. configValue="http://fat1-sven.bilibili.co/x/admin/config/config/value"
  120. configs="http://fat1-sven.bilibili.co/x/admin/config/config/configs"
  121. configUpdate="http://fat1-sven.bilibili.co/x/admin/config/home/config/update"
  122. tagUpdate="http://fat1-sven.bilibili.co/x/admin/config/home/tag/update"
  123. [property.sven.sagaConfigsParam]
  124. filename = "1254"
  125. appName="test.ep.saga"
  126. treeID=56733
  127. env = "uat"
  128. zone = "sh001"
  129. buildID=68
  130. build="v1.0"
  131. token = "f6a596d04e69b4e39cf225a8f0748312"
  132. increment = 1
  133. force=1
  134. userList=["wuwei","zhanglin","maojian","shenyue"]