Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
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.

494 lines
9.7KB

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