.drone.yml 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. ---
  2. kind: pipeline
  3. type: docker
  4. name: build 386
  5. clone:
  6. depth: 1
  7. steps:
  8. - name: build 386
  9. image: registry.sean.farm/honda-builder
  10. commands:
  11. - ./ci/scripts/build.sh linux 386 $${DRONE_COMMIT_SHA}
  12. - name: notify-mattermost
  13. pull: always
  14. image: registry.sean.farm/mattermost-notify
  15. environment:
  16. token:
  17. from_secret: mattermost-token
  18. host:
  19. from_secret: mattermost-host
  20. channel:
  21. from_secret: mattermost-channel
  22. maxRetry: 3
  23. when:
  24. status:
  25. - failure
  26. - success
  27. image_pull_secrets:
  28. - dockerconfigjson
  29. ---
  30. kind: pipeline
  31. type: docker
  32. name: build amd64
  33. clone:
  34. depth: 1
  35. steps:
  36. - name: build amd64
  37. image: registry.sean.farm/honda-builder
  38. commands:
  39. - ./ci/scripts/build.sh linux amd64 $${DRONE_COMMIT_SHA}
  40. - name: notify-mattermost
  41. pull: always
  42. image: registry.sean.farm/mattermost-notify
  43. environment:
  44. token:
  45. from_secret: mattermost-token
  46. host:
  47. from_secret: mattermost-host
  48. channel:
  49. from_secret: mattermost-channel
  50. maxRetry: 3
  51. when:
  52. status:
  53. - failure
  54. - success
  55. image_pull_secrets:
  56. - dockerconfigjson
  57. ---
  58. kind: pipeline
  59. type: docker
  60. name: build arm64
  61. clone:
  62. depth: 1
  63. steps:
  64. - name: build arm64
  65. image: registry.sean.farm/honda-builder
  66. commands:
  67. - ./ci/scripts/build.sh linux arm64 $${DRONE_COMMIT_SHA}
  68. - name: notify-mattermost
  69. pull: always
  70. image: registry.sean.farm/mattermost-notify
  71. environment:
  72. token:
  73. from_secret: mattermost-token
  74. host:
  75. from_secret: mattermost-host
  76. channel:
  77. from_secret: mattermost-channel
  78. maxRetry: 3
  79. when:
  80. status:
  81. - failure
  82. - success
  83. platform:
  84. os: linux
  85. arch: arm64
  86. image_pull_secrets:
  87. - dockerconfigjson
  88. ---
  89. kind: pipeline
  90. type: docker
  91. name: build armv7
  92. platform:
  93. os: linux
  94. arch: arm64
  95. clone:
  96. depth: 1
  97. steps:
  98. - name: build armv7
  99. image: registry.sean.farm/honda-builder
  100. commands:
  101. - ./ci/scripts/build.sh linux armv7 $${DRONE_COMMIT_SHA}
  102. - name: notify-mattermost
  103. pull: always
  104. image: registry.sean.farm/mattermost-notify
  105. environment:
  106. token:
  107. from_secret: mattermost-token
  108. host:
  109. from_secret: mattermost-host
  110. channel:
  111. from_secret: mattermost-channel
  112. maxRetry: 3
  113. when:
  114. status:
  115. - failure
  116. - success
  117. platform:
  118. os: linux
  119. arch: arm64
  120. image_pull_secrets:
  121. - dockerconfigjson
  122. ---
  123. kind: pipeline
  124. type: docker
  125. name: build riscv64
  126. clone:
  127. depth: 1
  128. steps:
  129. - name: build riscv64
  130. image: registry.sean.farm/honda-builder
  131. commands:
  132. - ./ci/scripts/build.sh linux riscv64 $${DRONE_COMMIT_SHA}
  133. - name: notify-mattermost
  134. pull: always
  135. image: registry.sean.farm/mattermost-notify
  136. environment:
  137. token:
  138. from_secret: mattermost-token
  139. host:
  140. from_secret: mattermost-host
  141. channel:
  142. from_secret: mattermost-channel
  143. maxRetry: 3
  144. when:
  145. status:
  146. - failure
  147. - success
  148. image_pull_secrets:
  149. - dockerconfigjson
  150. ---
  151. kind: pipeline
  152. type: docker
  153. name: build mips64le
  154. clone:
  155. depth: 1
  156. steps:
  157. - name: build mips64le
  158. image: registry.sean.farm/honda-builder
  159. commands:
  160. - ./ci/scripts/build.sh linux mips64le $${DRONE_COMMIT_SHA}
  161. - name: notify-mattermost
  162. pull: always
  163. image: registry.sean.farm/mattermost-notify
  164. environment:
  165. token:
  166. from_secret: mattermost-token
  167. host:
  168. from_secret: mattermost-host
  169. channel:
  170. from_secret: mattermost-channel
  171. maxRetry: 3
  172. when:
  173. status:
  174. - failure
  175. - success
  176. image_pull_secrets:
  177. - dockerconfigjson
  178. ---
  179. kind: pipeline
  180. type: docker
  181. name: build ppc64le
  182. clone:
  183. depth: 1
  184. steps:
  185. - name: build ppc64le
  186. image: registry.sean.farm/honda-builder
  187. commands:
  188. - ./ci/scripts/build.sh linux ppc64le $${DRONE_COMMIT_SHA}
  189. - name: notify-mattermost
  190. pull: always
  191. image: registry.sean.farm/mattermost-notify
  192. environment:
  193. token:
  194. from_secret: mattermost-token
  195. host:
  196. from_secret: mattermost-host
  197. channel:
  198. from_secret: mattermost-channel
  199. maxRetry: 3
  200. when:
  201. status:
  202. - failure
  203. - success
  204. image_pull_secrets:
  205. - dockerconfigjson
  206. ---
  207. kind: pipeline
  208. type: docker
  209. name: build s390x
  210. clone:
  211. depth: 1
  212. steps:
  213. - name: build s390x
  214. image: registry.sean.farm/honda-builder
  215. commands:
  216. - ./ci/scripts/build.sh linux s390x $${DRONE_COMMIT_SHA}
  217. - name: notify-mattermost
  218. pull: always
  219. image: registry.sean.farm/mattermost-notify
  220. environment:
  221. token:
  222. from_secret: mattermost-token
  223. host:
  224. from_secret: mattermost-host
  225. channel:
  226. from_secret: mattermost-channel
  227. maxRetry: 3
  228. when:
  229. status:
  230. - failure
  231. - success
  232. image_pull_secrets:
  233. - dockerconfigjson