task.yaml 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  1. presubmits:
  2. platform/go-common:
  3. - name: go-common-build-common
  4. always_run: true
  5. namespace: default
  6. run_pr_pushed: true
  7. trusted_labels:
  8. - library
  9. - new-project
  10. spec:
  11. containers:
  12. - image: bazel_build
  13. name: go-common-build-common
  14. imagePullPolicy: IfNotPresent
  15. args:
  16. - --id=$(BUILD_ID)
  17. - --job=$(JOB_NAME)
  18. - --root=/root/go/src
  19. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  20. - --command
  21. - make
  22. - ci-bazel-build-common
  23. - name: go-common-build-infra
  24. always_run: true
  25. namespace: default
  26. run_pr_pushed: true
  27. trusted_labels:
  28. - library
  29. - new-project
  30. spec:
  31. containers:
  32. - image: bazel_build
  33. name: go-common-build-infra
  34. imagePullPolicy: IfNotPresent
  35. args:
  36. - --id=$(BUILD_ID)
  37. - --job=$(JOB_NAME)
  38. - --root=/root/go/src
  39. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  40. - --command
  41. - make
  42. - ci-bazel-build-infra
  43. - name: go-common-build-tool
  44. always_run: true
  45. namespace: default
  46. run_pr_pushed: true
  47. trusted_labels:
  48. - library
  49. - new-project
  50. spec:
  51. containers:
  52. - image: bazel_build
  53. name: go-common-build-tool
  54. imagePullPolicy: IfNotPresent
  55. args:
  56. - --id=$(BUILD_ID)
  57. - --job=$(JOB_NAME)
  58. - --root=/root/go/src
  59. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  60. - --command
  61. - make
  62. - ci-bazel-build-tool
  63. - name: go-common-build-live
  64. always_run: true
  65. namespace: default
  66. run_pr_pushed: true
  67. trusted_labels:
  68. - library
  69. - new-project
  70. spec:
  71. containers:
  72. - image: bazel_build
  73. name: go-common-build-live
  74. imagePullPolicy: IfNotPresent
  75. args:
  76. - --id=$(BUILD_ID)
  77. - --job=$(JOB_NAME)
  78. - --root=/root/go/src
  79. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  80. - --command
  81. - make
  82. - ci-bazel-build-live
  83. - name: go-common-build-ep
  84. always_run: true
  85. namespace: default
  86. run_pr_pushed: true
  87. trusted_labels:
  88. - library
  89. - new-project
  90. spec:
  91. containers:
  92. - image: bazel_build
  93. name: go-common-build-ep
  94. imagePullPolicy: IfNotPresent
  95. args:
  96. - --id=$(BUILD_ID)
  97. - --job=$(JOB_NAME)
  98. - --root=/root/go/src
  99. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  100. - --command
  101. - make
  102. - ci-bazel-build-ep
  103. - name: go-common-build-openplatform
  104. always_run: true
  105. namespace: default
  106. run_pr_pushed: true
  107. trusted_labels:
  108. - library
  109. - new-project
  110. spec:
  111. containers:
  112. - image: bazel_build
  113. name: go-common-build-openplatform
  114. imagePullPolicy: IfNotPresent
  115. args:
  116. - --id=$(BUILD_ID)
  117. - --job=$(JOB_NAME)
  118. - --root=/root/go/src
  119. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  120. - --command
  121. - make
  122. - ci-bazel-build-openplatform
  123. - name: go-common-build-bbq
  124. always_run: true
  125. namespace: default
  126. run_pr_pushed: true
  127. trusted_labels:
  128. - library
  129. - new-project
  130. spec:
  131. containers:
  132. - image: bazel_build
  133. name: go-common-build-bbq
  134. imagePullPolicy: IfNotPresent
  135. args:
  136. - --id=$(BUILD_ID)
  137. - --job=$(JOB_NAME)
  138. - --root=/root/go/src
  139. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  140. - --command
  141. - make
  142. - ci-bazel-build-bbq
  143. - name: go-common-build-video
  144. always_run: true
  145. namespace: default
  146. run_pr_pushed: true
  147. trusted_labels:
  148. - library
  149. - new-project
  150. spec:
  151. containers:
  152. - image: bazel_build
  153. name: go-common-build-video
  154. imagePullPolicy: IfNotPresent
  155. args:
  156. - --id=$(BUILD_ID)
  157. - --job=$(JOB_NAME)
  158. - --root=/root/go/src
  159. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  160. - --command
  161. - make
  162. - ci-bazel-build-video
  163. - name: go-common-build-ops
  164. always_run: true
  165. namespace: default
  166. run_pr_pushed: true
  167. trusted_labels:
  168. - library
  169. - new-project
  170. spec:
  171. containers:
  172. - image: bazel_build
  173. name: go-common-build-ops
  174. imagePullPolicy: IfNotPresent
  175. args:
  176. - --id=$(BUILD_ID)
  177. - --job=$(JOB_NAME)
  178. - --root=/root/go/src
  179. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  180. - --command
  181. - make
  182. - ci-bazel-build-ops
  183. - name: go-common-build-library
  184. always_run: true
  185. namespace: default
  186. run_pr_pushed: true
  187. trusted_labels:
  188. - library
  189. - new-project
  190. spec:
  191. containers:
  192. - image: bazel_build
  193. name: go-common-build-library
  194. imagePullPolicy: IfNotPresent
  195. args:
  196. - --id=$(BUILD_ID)
  197. - --job=$(JOB_NAME)
  198. - --root=/root/go/src
  199. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  200. - --command
  201. - make
  202. - ci-bazel-build-library
  203. - name: go-common-build-service-main
  204. always_run: true
  205. namespace: default
  206. run_pr_pushed: true
  207. trusted_labels:
  208. - library
  209. - new-service-main-project
  210. spec:
  211. containers:
  212. - image: bazel_build
  213. name: go-common-build-service-main
  214. imagePullPolicy: IfNotPresent
  215. args:
  216. - --id=$(BUILD_ID)
  217. - --job=$(JOB_NAME)
  218. - --root=/root/go/src
  219. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  220. - --command
  221. - make
  222. - ci-bazel-build-service-main
  223. - name: go-common-build-interface-main
  224. always_run: true
  225. namespace: default
  226. run_pr_pushed: true
  227. trusted_labels:
  228. - library
  229. - new-interface-main-project
  230. spec:
  231. containers:
  232. - image: bazel_build
  233. name: go-common-build-interface-main
  234. imagePullPolicy: IfNotPresent
  235. args:
  236. - --id=$(BUILD_ID)
  237. - --job=$(JOB_NAME)
  238. - --root=/root/go/src
  239. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  240. - --command
  241. - make
  242. - ci-bazel-build-interface-main
  243. - name: go-common-build-job-main
  244. always_run: true
  245. namespace: default
  246. run_pr_pushed: true
  247. trusted_labels:
  248. - library
  249. - new-job-main-project
  250. spec:
  251. containers:
  252. - image: bazel_build
  253. name: go-common-build-job-main
  254. imagePullPolicy: IfNotPresent
  255. args:
  256. - --id=$(BUILD_ID)
  257. - --job=$(JOB_NAME)
  258. - --root=/root/go/src
  259. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  260. - --command
  261. - make
  262. - ci-bazel-build-job-main
  263. - name: go-common-build-admin-main
  264. always_run: true
  265. namespace: default
  266. run_pr_pushed: true
  267. trusted_labels:
  268. - library
  269. - new-admin-main-project
  270. spec:
  271. containers:
  272. - image: bazel_build
  273. name: go-common-build-admin-main
  274. imagePullPolicy: IfNotPresent
  275. args:
  276. - --id=$(BUILD_ID)
  277. - --job=$(JOB_NAME)
  278. - --root=/root/go/src
  279. - --repo=git.bilibili.co/$(REPO_OWNER)/$(REPO_NAME)=$(PULL_REFS)
  280. - --command
  281. - make
  282. - ci-bazel-build-admin-main