tricium-prod.cfg 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. # Schema for this config file: ProjectConfig in
  2. # luci-config.appspot.com/schemas/projects:tricium-prod.cfg
  3. # This ACL setting only determines who can directly make requests;
  4. # it doesn't limit whose CLs will get automatic analysis run.
  5. acls {
  6. role: REQUESTER
  7. group: "tricium-chromium-requesters"
  8. }
  9. functions {
  10. type: ANALYZER
  11. name: "ClangTidy"
  12. needs: GIT_FILE_DETAILS
  13. provides: RESULTS
  14. path_filters: "*.c"
  15. path_filters: "*.cc"
  16. path_filters: "*.cpp"
  17. path_filters: "*.h"
  18. owner: "gbiv@chromium.org"
  19. monorail_component: "Infra>Platform>Tricium>Analyzer"
  20. impls {
  21. runtime_platform: LINUX
  22. provides_for_platform: LINUX
  23. recipe {
  24. project: "chromium"
  25. bucket: "try"
  26. builder: "tricium-clang-tidy"
  27. }
  28. }
  29. }
  30. functions {
  31. type: ANALYZER
  32. name: "Metrics"
  33. needs: GIT_FILE_DETAILS
  34. provides: RESULTS
  35. path_filters: "*.xml"
  36. path_filters: "*.json"
  37. owner: "isherman@chromium.org"
  38. monorail_component: "Internals>Metrics>Tricium"
  39. impls {
  40. runtime_platform: LINUX
  41. provides_for_platform: LINUX
  42. recipe {
  43. project: "chromium"
  44. bucket: "try"
  45. builder: "tricium-metrics-analysis"
  46. }
  47. }
  48. }
  49. functions {
  50. type: ANALYZER
  51. name: "OilpanAnalyzer"
  52. needs: GIT_FILE_DETAILS
  53. provides: RESULTS
  54. path_filters: "*.c"
  55. path_filters: "*.cc"
  56. path_filters: "*.cpp"
  57. path_filters: "*.h"
  58. owner: "yukiy@chromium.org"
  59. monorail_component: "Infra>Platform>Tricium>Analyzer"
  60. impls {
  61. runtime_platform: LINUX
  62. provides_for_platform: LINUX
  63. recipe {
  64. project: "chromium"
  65. bucket: "try"
  66. builder: "tricium-oilpan-analysis"
  67. }
  68. }
  69. }
  70. # Wrapper for simple legacy analyzers.
  71. functions {
  72. type: ANALYZER
  73. name: "Simple"
  74. needs: GIT_FILE_DETAILS
  75. provides: RESULTS
  76. owner: "qyearsley@chromium.org"
  77. monorail_component: "Infra>Platform>Tricium>Analyzer"
  78. impls {
  79. runtime_platform: LINUX
  80. provides_for_platform: LINUX
  81. recipe {
  82. project: "chromium"
  83. bucket: "try"
  84. builder: "tricium-simple"
  85. }
  86. }
  87. }
  88. selections {
  89. function: "ClangTidy"
  90. platform: LINUX
  91. }
  92. selections {
  93. function: "Metrics"
  94. platform: LINUX
  95. }
  96. selections {
  97. function: "OilpanAnalyzer"
  98. platform: LINUX
  99. }
  100. selections {
  101. function: "Simple"
  102. platform: LINUX
  103. }
  104. repos {
  105. gerrit_project {
  106. host: "chromium-review.googlesource.com"
  107. project: "chromium/src"
  108. git_url: "https://chromium.googlesource.com/chromium/src"
  109. }
  110. # This group determines whose CLs will have Tricium runs automatically
  111. # created. For security reasons, Tricium doesn't create runs for users that
  112. # don't have tryjob access.
  113. whitelisted_group: "project-chromium-tryjob-access"
  114. }
  115. service_account: "tricium-prod@appspot.gserviceaccount.com"