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.
 
 
 
 
 
 

496 lines
9.8 KiB

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