Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 9.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439
  1. kind: pipeline
  2. name: mysql8.0-php7.1
  3. steps:
  4. - name: mysql8.0-php7.1
  5. image: friendicaci/php7.1:php7.1.32
  6. commands:
  7. - NOCOVERAGE=true ./autotest.sh mysql
  8. environment:
  9. MYSQL_USERNAME: friendica
  10. MYSQL_PASSWORD: friendica
  11. MYSQL_DATABASE: friendica
  12. MYSQL_HOST: mysql
  13. services:
  14. - name: mysql
  15. image: mysql:8.0
  16. command: [ "--default-authentication-plugin=mysql_native_password" ]
  17. environment:
  18. MYSQL_ROOT_PASSWORD: friendica
  19. MYSQL_USER: friendica
  20. MYSQL_PASSWORD: friendica
  21. MYSQL_DATABASE: friendica
  22. volumes:
  23. - name: cache
  24. path: /var/lib/mysql
  25. volumes:
  26. - name: cache
  27. temp: {}
  28. trigger:
  29. branch:
  30. - master
  31. - develop
  32. - "*-rc"
  33. event:
  34. - pull_request
  35. - push
  36. ---
  37. kind: pipeline
  38. name: mysql8.0-php7.2
  39. steps:
  40. - name: mysql8.0-php7.2
  41. image: friendicaci/php7.2:php7.2.22
  42. commands:
  43. - NOCOVERAGE=true ./autotest.sh mysql
  44. environment:
  45. MYSQL_USERNAME: friendica
  46. MYSQL_PASSWORD: friendica
  47. MYSQL_DATABASE: friendica
  48. MYSQL_HOST: mysql
  49. services:
  50. - name: mysql
  51. image: mysql:8.0
  52. command: [ "--default-authentication-plugin=mysql_native_password" ]
  53. environment:
  54. MYSQL_ROOT_PASSWORD: friendica
  55. MYSQL_USER: friendica
  56. MYSQL_PASSWORD: friendica
  57. MYSQL_DATABASE: friendica
  58. volumes:
  59. - name: cache
  60. path: /var/lib/mysql
  61. volumes:
  62. - name: cache
  63. temp: {}
  64. trigger:
  65. branch:
  66. - master
  67. - develop
  68. - "*-rc"
  69. event:
  70. - pull_request
  71. - push
  72. ---
  73. kind: pipeline
  74. name: mysql8.0-php7.3
  75. steps:
  76. - name: mysql8.0-php7.3
  77. image: friendicaci/php7.3:php7.3.9
  78. commands:
  79. - NOCOVERAGE=true ./autotest.sh mysql
  80. environment:
  81. MYSQL_USERNAME: friendica
  82. MYSQL_PASSWORD: friendica
  83. MYSQL_DATABASE: friendica
  84. MYSQL_HOST: mysql
  85. services:
  86. - name: mysql
  87. image: mysql:8.0
  88. command: [ "--default-authentication-plugin=mysql_native_password" ]
  89. environment:
  90. MYSQL_ROOT_PASSWORD: friendica
  91. MYSQL_USER: friendica
  92. MYSQL_PASSWORD: friendica
  93. MYSQL_DATABASE: friendica
  94. volumes:
  95. - name: cache
  96. path: /var/lib/mysql
  97. volumes:
  98. - name: cache
  99. temp: {}
  100. trigger:
  101. branch:
  102. - master
  103. - develop
  104. - "*-rc"
  105. event:
  106. - pull_request
  107. - push
  108. ---
  109. kind: pipeline
  110. name: mariadb10.1-php7.1
  111. steps:
  112. - name: mariadb10.1-php7.1
  113. image: friendicaci/php7.1:php7.1.32
  114. commands:
  115. - phpenmod xdebug
  116. - sleep 20
  117. - ./autotest.sh mariadb
  118. - wget https://codecov.io/bash -O codecov.sh
  119. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
  120. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
  121. environment:
  122. MYSQL_USER: friendica
  123. MYSQL_PASSWORD: friendica
  124. MYSQL_DATABASE: friendica
  125. MYSQL_HOST: mariadb
  126. services:
  127. - name: mariadb
  128. image: mariadb:10.1
  129. environment:
  130. MYSQL_ROOT_PASSWORD: friendica
  131. MYSQL_USER: friendica
  132. MYSQL_PASSWORD: friendica
  133. MYSQL_DATABASE: friendica
  134. volumes:
  135. - name: cache
  136. path: /var/lib/mysql
  137. volumes:
  138. - name: cache
  139. temp: {}
  140. trigger:
  141. branch:
  142. - master
  143. - develop
  144. - "*-rc"
  145. event:
  146. - pull_request
  147. - push
  148. ---
  149. kind: pipeline
  150. name: mariadb10.1-php7.2
  151. steps:
  152. - name: mariadb10.1-php7.2
  153. image: friendicaci/php7.2:php7.2.22
  154. commands:
  155. - NOCOVERAGE=true ./autotest.sh mariadb
  156. environment:
  157. MYSQL_USER: friendica
  158. MYSQL_PASSWORD: friendica
  159. MYSQL_DATABASE: friendica
  160. MYSQL_HOST: mariadb
  161. services:
  162. - name: mariadb
  163. image: mariadb:10.1
  164. environment:
  165. MYSQL_ROOT_PASSWORD: friendica
  166. MYSQL_USER: friendica
  167. MYSQL_PASSWORD: friendica
  168. MYSQL_DATABASE: friendica
  169. volumes:
  170. - name: cache
  171. path: /var/lib/mysql
  172. volumes:
  173. - name: cache
  174. temp: {}
  175. trigger:
  176. branch:
  177. - master
  178. - develop
  179. - "*-rc"
  180. event:
  181. - pull_request
  182. - push
  183. ---
  184. kind: pipeline
  185. name: mariadb10.1-php7.3
  186. steps:
  187. - name: mariadb10.1-php7.3
  188. image: friendicaci/php7.3:php7.3.9
  189. commands:
  190. - NOCOVERAGE=true ./autotest.sh mariadb
  191. environment:
  192. MYSQL_USER: friendica
  193. MYSQL_PASSWORD: friendica
  194. MYSQL_DATABASE: friendica
  195. MYSQL_HOST: mariadb
  196. services:
  197. - name: mariadb
  198. image: mariadb:10.1
  199. environment:
  200. MYSQL_ROOT_PASSWORD: friendica
  201. MYSQL_USER: friendica
  202. MYSQL_PASSWORD: friendica
  203. MYSQL_DATABASE: friendica
  204. volumes:
  205. - name: cache
  206. path: /var/lib/mysql
  207. volumes:
  208. - name: cache
  209. temp: {}
  210. ---
  211. kind: pipeline
  212. name: redis-php7.1
  213. steps:
  214. - name: redis-php7.1
  215. image: friendicaci/php7.1:php7.1.32
  216. commands:
  217. - phpenmod xdebug
  218. - sleep 20
  219. - NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
  220. - wget https://codecov.io/bash -O codecov.sh
  221. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
  222. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
  223. environment:
  224. REDIS_HOST: redis
  225. services:
  226. - name: redis
  227. image: redis
  228. trigger:
  229. branch:
  230. - master
  231. - develop
  232. - "*-rc"
  233. event:
  234. - pull_request
  235. - push
  236. ---
  237. kind: pipeline
  238. name: redis-php7.2
  239. steps:
  240. - name: redis-php7.2
  241. image: friendicaci/php7.2:php7.2.22
  242. commands:
  243. - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
  244. environment:
  245. REDIS_HOST: redis
  246. services:
  247. - name: redis
  248. image: redis
  249. trigger:
  250. branch:
  251. - master
  252. - develop
  253. - "*-rc"
  254. event:
  255. - pull_request
  256. - push
  257. ---
  258. kind: pipeline
  259. name: redis-php7.3
  260. steps:
  261. - name: redis-php7.3
  262. image: friendicaci/php7.3:php7.3.9
  263. commands:
  264. - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=REDIS ./autotest.sh mysql
  265. environment:
  266. REDIS_HOST: redis
  267. services:
  268. - name: redis
  269. image: redis
  270. ---
  271. kind: pipeline
  272. name: memcache-php7.1
  273. steps:
  274. - name: memcache-php7.1
  275. image: friendicaci/php7.1:php7.1.32
  276. commands:
  277. - phpenmod xdebug
  278. - sleep 20
  279. - NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
  280. - wget https://codecov.io/bash -O codecov.sh
  281. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
  282. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
  283. environment:
  284. MEMCACHE_HOST: memcached
  285. services:
  286. - name: memcached
  287. image: memcached
  288. trigger:
  289. branch:
  290. - master
  291. - develop
  292. - "*-rc"
  293. event:
  294. - pull_request
  295. - push
  296. ---
  297. kind: pipeline
  298. name: memcache-php7.2
  299. steps:
  300. - name: memcache-php7.2
  301. image: friendicaci/php7.2:php7.2.22
  302. commands:
  303. - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
  304. environment:
  305. MEMCACHE_HOST: memcached
  306. services:
  307. - name: memcached
  308. image: memcached
  309. trigger:
  310. branch:
  311. - master
  312. - develop
  313. - "*-rc"
  314. event:
  315. - pull_request
  316. - push
  317. ---
  318. kind: pipeline
  319. name: memcache-php7.3
  320. steps:
  321. - name: memcache-php7.3
  322. image: friendicaci/php7.3:php7.3.9
  323. commands:
  324. - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHE ./autotest.sh mysql
  325. environment:
  326. MEMCACHE_HOST: memcached
  327. services:
  328. - name: memcached
  329. image: memcached
  330. ---
  331. kind: pipeline
  332. name: memcached-php7.1
  333. steps:
  334. - name: memcached-php7.1
  335. image: friendicaci/php7.1:php7.1.32
  336. commands:
  337. - phpenmod xdebug
  338. - sleep 20
  339. - NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
  340. - wget https://codecov.io/bash -O codecov.sh
  341. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
  342. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 5ce7d64e-07b4-4adf-8700-e2eae27e14ec -f tests/autotest-clover.xml; fi"
  343. environment:
  344. MEMCACHED_HOST: memcached
  345. services:
  346. - name: memcached
  347. image: memcached
  348. trigger:
  349. branch:
  350. - master
  351. - develop
  352. - "*-rc"
  353. event:
  354. - pull_request
  355. - push
  356. ---
  357. kind: pipeline
  358. name: memcached-php7.2
  359. steps:
  360. - name: memcached-php7.2
  361. image: friendicaci/php7.2:php7.2.22
  362. commands:
  363. - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
  364. environment:
  365. MEMCACHED_HOST: memcached
  366. services:
  367. - name: memcached
  368. image: memcached
  369. trigger:
  370. branch:
  371. - master
  372. - develop
  373. - "*-rc"
  374. event:
  375. - pull_request
  376. - push
  377. ---
  378. kind: pipeline
  379. name: memcached-php7.3
  380. steps:
  381. - name: memcached-php7.3
  382. image: friendicaci/php7.3:php7.3.9
  383. commands:
  384. - NOCOVERAGE=true NOINSTALL=true TEST_SELECTION=MEMCACHED ./autotest.sh mysql
  385. environment:
  386. MEMCACHED_HOST: memcached
  387. services:
  388. - name: memcached
  389. image: memcached