.drone.yml 54 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314
  1. kind: pipeline
  2. name: jsunit
  3. steps:
  4. - name: jsunit
  5. image: nextcloudci/jsunit:jsunit-5
  6. commands:
  7. - ./autotest-js.sh
  8. - curl -o codecov.sh https://codecov.io/bash
  9. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
  10. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5; fi"
  11. trigger:
  12. branch:
  13. - master
  14. - stable*
  15. event:
  16. - pull_request
  17. - push
  18. ---
  19. kind: pipeline
  20. name: checkers
  21. steps:
  22. - name: submodules
  23. image: docker:git
  24. commands:
  25. - git submodule update --init
  26. - name: checkers
  27. image: nextcloudci/php7.2:php7.2-13
  28. commands:
  29. - ./autotest-checkers.sh
  30. secrets: [ github_token ]
  31. trigger:
  32. branch:
  33. - master
  34. - stable*
  35. event:
  36. - pull_request
  37. - push
  38. #---
  39. #kind: pipeline
  40. #name: syntax-and-phan
  41. #
  42. #steps:
  43. #- name: submodules
  44. # image: docker:git
  45. # commands:
  46. # - git submodule update --init
  47. #- name: phan
  48. # image: nextcloudci/php7.2:php7.2-13
  49. # commands:
  50. # - composer install
  51. # - composer require --dev "phan/phan:0.11.1"
  52. # - ./lib/composer/phan/phan/phan -k build/.phan/config.php
  53. # - php ./build/.phan/plugin-checker.php
  54. #
  55. #trigger:
  56. # branch:
  57. # - master
  58. # - stable*
  59. # event:
  60. # - pull_request
  61. # - push
  62. ---
  63. kind: pipeline
  64. name: litmus
  65. steps:
  66. - name: submodules
  67. image: docker:git
  68. commands:
  69. - git submodule update --init
  70. - name: litmus-v1
  71. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  72. commands:
  73. - bash tests/travis/install.sh sqlite
  74. - bash apps/dav/tests/travis/litmus-v1/script.sh
  75. - name: litmus-v2
  76. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  77. commands:
  78. - bash tests/travis/install.sh sqlite
  79. - bash apps/dav/tests/travis/litmus-v2/script.sh
  80. trigger:
  81. branch:
  82. - master
  83. - stable*
  84. event:
  85. - pull_request
  86. - push
  87. ---
  88. kind: pipeline
  89. name: caldavtester-new-endpoint
  90. steps:
  91. - name: submodules
  92. image: docker:git
  93. commands:
  94. - git submodule update --init
  95. - name: caldavtester-new-endpoint
  96. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  97. commands:
  98. - bash tests/travis/install.sh sqlite
  99. - bash apps/dav/tests/travis/caldav/install.sh
  100. - bash apps/dav/tests/travis/caldav/script-new-endpoint.sh
  101. trigger:
  102. branch:
  103. - master
  104. - stable*
  105. event:
  106. - pull_request
  107. - push
  108. ---
  109. kind: pipeline
  110. name: caldavtester-old-endpoint
  111. steps:
  112. - name: submodules
  113. image: docker:git
  114. commands:
  115. - git submodule update --init
  116. - name: caldavtester-old-endpoint
  117. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  118. commands:
  119. - bash tests/travis/install.sh sqlite
  120. - bash apps/dav/tests/travis/caldav/install.sh
  121. - bash apps/dav/tests/travis/caldav/script-old-endpoint.sh
  122. trigger:
  123. branch:
  124. - master
  125. - stable*
  126. event:
  127. - pull_request
  128. - push
  129. ---
  130. kind: pipeline
  131. name: carddavtester-new-endpoint
  132. steps:
  133. - name: submodules
  134. image: docker:git
  135. commands:
  136. - git submodule update --init
  137. - name: carddavtester-new-endpoint
  138. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  139. commands:
  140. - bash tests/travis/install.sh sqlite
  141. - bash apps/dav/tests/travis/carddav/install.sh
  142. - bash apps/dav/tests/travis/carddav/script-new-endpoint.sh
  143. trigger:
  144. branch:
  145. - master
  146. - stable*
  147. event:
  148. - pull_request
  149. - push
  150. ---
  151. kind: pipeline
  152. name: carddavtester-old-endpoint
  153. steps:
  154. - name: submodules
  155. image: docker:git
  156. commands:
  157. - git submodule update --init
  158. - name: carddavtester-old-endpoint
  159. image: nextcloudci/litmus-php7.3:litmus-php7.3-1
  160. commands:
  161. - bash tests/travis/install.sh sqlite
  162. - bash apps/dav/tests/travis/carddav/install.sh
  163. - bash apps/dav/tests/travis/carddav/script-old-endpoint.sh
  164. trigger:
  165. branch:
  166. - master
  167. - stable*
  168. event:
  169. - pull_request
  170. - push
  171. ---
  172. kind: pipeline
  173. name: samba
  174. steps:
  175. - name: submodules
  176. image: docker:git
  177. commands:
  178. - git submodule update --init
  179. - name: sqlite-php7.3-samba-native
  180. image: nextcloudci/samba-native-php7.3:samba-native-php7.3-1
  181. commands:
  182. - smbd -D -FS &
  183. - ./autotest-external.sh sqlite smb-linux
  184. - wget https://codecov.io/bash -O codecov.sh
  185. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  186. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  187. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  188. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  189. - name: sqlite-php7.3-samba-non-native
  190. image: nextcloudci/samba-non-native-php7.3:samba-non-native-php7.3-1
  191. commands:
  192. - smbd -D -FS &
  193. - ./autotest-external.sh sqlite smb-linux
  194. - wget https://codecov.io/bash -O codecov.sh
  195. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  196. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  197. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  198. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-smb-linux.xml; fi"
  199. trigger:
  200. branch:
  201. - master
  202. - stable*
  203. event:
  204. - pull_request
  205. - push
  206. ---
  207. kind: pipeline
  208. name: sqlite-php7.3-webdav-apache
  209. steps:
  210. - name: submodules
  211. image: docker:git
  212. commands:
  213. - git submodule update --init
  214. - name: sqlite-php7.3-webdav-apache
  215. image: nextcloudci/webdav-apache-php7.3:webdav-apache-php7.3-3
  216. commands:
  217. - apache2
  218. - ./autotest-external.sh sqlite webdav-apachedrone
  219. - wget https://codecov.io/bash -O codecov.sh
  220. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  221. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite.xml; fi"
  222. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-webdav-apachedrone.xml; fi"
  223. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-external-clover-sqlite-webdav-apachedrone.xml; fi"
  224. services:
  225. - name: cache
  226. image: redis
  227. trigger:
  228. branch:
  229. - master
  230. - stable*
  231. event:
  232. - pull_request
  233. - push
  234. ---
  235. kind: pipeline
  236. name: nodb
  237. steps:
  238. - name: submodules
  239. image: docker:git
  240. commands:
  241. - git submodule update --init
  242. - name: nodb-php7.2
  243. image: nextcloudci/php7.2:php7.2-13
  244. commands:
  245. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  246. - name: nodb-php7.3
  247. image: nextcloudci/php7.3:php7.3-4
  248. commands:
  249. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  250. - name: nodb-php7.4
  251. image: nextcloudci/php7.4:2
  252. commands:
  253. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  254. services:
  255. - name: cache
  256. image: redis
  257. trigger:
  258. branch:
  259. - master
  260. - stable*
  261. event:
  262. - pull_request
  263. - push
  264. ---
  265. kind: pipeline
  266. name: sqlite
  267. steps:
  268. - name: submodules
  269. image: docker:git
  270. commands:
  271. - git submodule update --init
  272. - name: sqlite-php7.2
  273. image: nextcloudci/php7.2:php7.2-13
  274. commands:
  275. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  276. - name: sqlite-php7.3
  277. image: nextcloudci/php7.3:php7.3-4
  278. commands:
  279. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  280. - name: sqlite-php7.4
  281. image: nextcloudci/php7.4:2
  282. commands:
  283. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  284. services:
  285. - name: cache
  286. image: redis
  287. trigger:
  288. branch:
  289. - master
  290. - stable*
  291. event:
  292. - pull_request
  293. - push
  294. ---
  295. kind: pipeline
  296. name: mariadb10.1-php7.2
  297. steps:
  298. - name: submodules
  299. image: docker:git
  300. commands:
  301. - git submodule update --init
  302. - name: mariadb10.1-php7.2
  303. image: nextcloudci/php7.2:php7.2-13
  304. commands:
  305. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  306. services:
  307. - name: cache
  308. image: redis
  309. - name: mariadb
  310. image: mariadb:10.1
  311. environment:
  312. MYSQL_ROOT_PASSWORD: owncloud
  313. MYSQL_USER: oc_autotest
  314. MYSQL_PASSWORD: owncloud
  315. MYSQL_DATABASE: oc_autotest
  316. tmpfs:
  317. - /var/lib/mysql
  318. trigger:
  319. branch:
  320. - master
  321. - stable*
  322. event:
  323. - pull_request
  324. - push
  325. ---
  326. kind: pipeline
  327. name: mariadb10.2-php7.2
  328. steps:
  329. - name: submodules
  330. image: docker:git
  331. commands:
  332. - git submodule update --init
  333. - name: mariadb10.2-php7.2
  334. image: nextcloudci/php7.2:php7.2-13
  335. commands:
  336. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  337. services:
  338. - name: cache
  339. image: redis
  340. - name: mariadb
  341. image: mariadb:10.2
  342. environment:
  343. MYSQL_ROOT_PASSWORD: owncloud
  344. MYSQL_USER: oc_autotest
  345. MYSQL_PASSWORD: owncloud
  346. MYSQL_DATABASE: oc_autotest
  347. tmpfs:
  348. - /var/lib/mysql
  349. trigger:
  350. branch:
  351. - master
  352. - stable*
  353. event:
  354. - push
  355. ---
  356. kind: pipeline
  357. name: mariadb10.3-php7.2
  358. steps:
  359. - name: submodules
  360. image: docker:git
  361. commands:
  362. - git submodule update --init
  363. - name: mariadb10.3-php7.2
  364. image: nextcloudci/php7.2:php7.2-13
  365. commands:
  366. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  367. services:
  368. - name: cache
  369. image: redis
  370. - name: mariadb
  371. image: mariadb:10.3
  372. environment:
  373. MYSQL_ROOT_PASSWORD: owncloud
  374. MYSQL_USER: oc_autotest
  375. MYSQL_PASSWORD: owncloud
  376. MYSQL_DATABASE: oc_autotest
  377. tmpfs:
  378. - /var/lib/mysql
  379. trigger:
  380. branch:
  381. - master
  382. - stable*
  383. event:
  384. - push
  385. ---
  386. kind: pipeline
  387. name: mariadb10.4-php7.3
  388. steps:
  389. - name: submodules
  390. image: docker:git
  391. commands:
  392. - git submodule update --init
  393. - name: mariadb10.4-php7.3
  394. image: nextcloudci/php7.3:php7.3-4
  395. commands:
  396. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  397. services:
  398. - name: cache
  399. image: redis
  400. - name: mariadb
  401. image: mariadb:10.4
  402. environment:
  403. MYSQL_ROOT_PASSWORD: owncloud
  404. MYSQL_USER: oc_autotest
  405. MYSQL_PASSWORD: owncloud
  406. MYSQL_DATABASE: oc_autotest
  407. tmpfs:
  408. - /var/lib/mysql
  409. trigger:
  410. branch:
  411. - master
  412. - stable*
  413. event:
  414. - pull_request
  415. - push
  416. ---
  417. kind: pipeline
  418. name: mysql8.0-php7.2
  419. steps:
  420. - name: submodules
  421. image: docker:git
  422. commands:
  423. - git submodule update --init
  424. - name: mysql-php7.2
  425. image: nextcloudci/php7.2:php7.2-13
  426. commands:
  427. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  428. services:
  429. - name: cache
  430. image: redis
  431. - name: mysql
  432. image: mysql:8.0
  433. command: [ "--default-authentication-plugin=mysql_native_password" ]
  434. environment:
  435. MYSQL_ROOT_PASSWORD: owncloud
  436. MYSQL_USER: oc_autotest
  437. MYSQL_PASSWORD: owncloud
  438. MYSQL_DATABASE: oc_autotest
  439. tmpfs:
  440. - /var/lib/mysql
  441. trigger:
  442. branch:
  443. - master
  444. - stable*
  445. event:
  446. - pull_request
  447. - push
  448. ---
  449. kind: pipeline
  450. name: mysql5.7-php7.2
  451. steps:
  452. - name: submodules
  453. image: docker:git
  454. commands:
  455. - git submodule update --init
  456. - name: mysql-php7.2
  457. image: nextcloudci/php7.2:php7.2-13
  458. commands:
  459. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  460. services:
  461. - name: mysql
  462. image: mysql:5.7
  463. environment:
  464. MYSQL_ROOT_PASSWORD: owncloud
  465. MYSQL_USER: oc_autotest
  466. MYSQL_PASSWORD: owncloud
  467. MYSQL_DATABASE: oc_autotest
  468. tmpfs:
  469. - /var/lib/mysql
  470. trigger:
  471. branch:
  472. - master
  473. - stable*
  474. event:
  475. - push
  476. ---
  477. kind: pipeline
  478. name: mysql5.7-php7.3
  479. steps:
  480. - name: submodules
  481. image: docker:git
  482. commands:
  483. - git submodule update --init
  484. - name: mysql-php7.3
  485. image: nextcloudci/php7.3:php7.3-4
  486. commands:
  487. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  488. services:
  489. - name: mysql
  490. image: mysql:5.7
  491. environment:
  492. MYSQL_ROOT_PASSWORD: owncloud
  493. MYSQL_USER: oc_autotest
  494. MYSQL_PASSWORD: owncloud
  495. MYSQL_DATABASE: oc_autotest
  496. tmpfs:
  497. - /var/lib/mysql
  498. trigger:
  499. branch:
  500. - master
  501. - stable*
  502. event:
  503. - push
  504. ---
  505. kind: pipeline
  506. name: mysql5.6-php7.2
  507. steps:
  508. - name: submodules
  509. image: docker:git
  510. commands:
  511. - git submodule update --init
  512. - name: mysql5.6-php7.2
  513. image: nextcloudci/php7.2:php7.2-13
  514. commands:
  515. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  516. services:
  517. - name: cache
  518. image: redis
  519. - name: mysql
  520. image: mysql:5.6
  521. environment:
  522. MYSQL_ROOT_PASSWORD: owncloud
  523. MYSQL_USER: oc_autotest
  524. MYSQL_PASSWORD: owncloud
  525. MYSQL_DATABASE: oc_autotest
  526. tmpfs:
  527. - /var/lib/mysql
  528. trigger:
  529. branch:
  530. - master
  531. - stable*
  532. event:
  533. - pull_request
  534. - push
  535. ---
  536. kind: pipeline
  537. name: postgres9-php7.3
  538. steps:
  539. - name: submodules
  540. image: docker:git
  541. commands:
  542. - git submodule update --init
  543. - name: postgres-php7.3
  544. image: nextcloudci/php7.3:php7.3-4
  545. commands:
  546. - sleep 10 # gives the database enough time to initialize
  547. - POSTGRES=9 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  548. services:
  549. - name: cache
  550. image: redis
  551. - name: postgres-9
  552. image: postgres:9
  553. environment:
  554. POSTGRES_USER: oc_autotest
  555. POSTGRES_DB: oc_autotest_dummy
  556. POSTGRES_PASSWORD: owncloud
  557. tmpfs:
  558. - /var/lib/postgresql/data
  559. trigger:
  560. branch:
  561. - master
  562. - stable*
  563. event:
  564. - pull_request
  565. - push
  566. ---
  567. kind: pipeline
  568. name: postgres10-php7.2
  569. steps:
  570. - name: submodules
  571. image: docker:git
  572. commands:
  573. - git submodule update --init
  574. - name: postgres-php7.2
  575. image: nextcloudci/php7.2:php7.2-13
  576. commands:
  577. - sleep 10 # gives the database enough time to initialize
  578. - POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  579. services:
  580. - name: cache
  581. image: redis
  582. - name: postgres-10
  583. image: postgres:10
  584. environment:
  585. POSTGRES_USER: oc_autotest
  586. POSTGRES_DB: oc_autotest_dummy
  587. POSTGRES_PASSWORD: owncloud
  588. tmpfs:
  589. - /var/lib/postgresql/data
  590. trigger:
  591. branch:
  592. - master
  593. - stable*
  594. event:
  595. - push
  596. ---
  597. kind: pipeline
  598. name: postgres11-php7.2
  599. steps:
  600. - name: submodules
  601. image: docker:git
  602. commands:
  603. - git submodule update --init
  604. - name: postgres-php7.2
  605. image: nextcloudci/php7.2:php7.2-13
  606. commands:
  607. - sleep 10 # gives the database enough time to initialize
  608. - POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  609. services:
  610. - name: cache
  611. image: redis
  612. - name: postgres-11
  613. image: postgres:11
  614. environment:
  615. POSTGRES_USER: oc_autotest
  616. POSTGRES_DB: oc_autotest_dummy
  617. POSTGRES_PASSWORD: owncloud
  618. tmpfs:
  619. - /var/lib/postgresql/data
  620. trigger:
  621. branch:
  622. - master
  623. - stable*
  624. event:
  625. - pull_request
  626. - push
  627. ---
  628. kind: pipeline
  629. name: mysqlmb4-php7.2
  630. steps:
  631. - name: submodules
  632. image: docker:git
  633. commands:
  634. - git submodule update --init
  635. - name: mysqlmb4-php7.2
  636. image: nextcloudci/php7.2:php7.2-13
  637. commands:
  638. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
  639. services:
  640. - name: cache
  641. image: redis
  642. - name: mysqlmb4
  643. image: mysql:5.7.22
  644. environment:
  645. MYSQL_ROOT_PASSWORD: owncloud
  646. MYSQL_USER: oc_autotest
  647. MYSQL_PASSWORD: owncloud
  648. MYSQL_DATABASE: oc_autotest
  649. command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
  650. tmpfs:
  651. - /var/lib/mysql
  652. trigger:
  653. branch:
  654. - master
  655. - stable*
  656. event:
  657. - push
  658. ---
  659. kind: pipeline
  660. name: mysqlmb4-php7.3
  661. steps:
  662. - name: submodules
  663. image: docker:git
  664. commands:
  665. - git submodule update --init
  666. - name: mysqlmb4-php7.3
  667. image: nextcloudci/php7.3:php7.3-4
  668. commands:
  669. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysqlmb4
  670. services:
  671. - name: cache
  672. image: redis
  673. - name: mysqlmb4
  674. image: mysql:5.7.22
  675. environment:
  676. MYSQL_ROOT_PASSWORD: owncloud
  677. MYSQL_USER: oc_autotest
  678. MYSQL_PASSWORD: owncloud
  679. MYSQL_DATABASE: oc_autotest
  680. command: [ "--innodb_large_prefix=true", "--innodb_file_format=barracuda", "--innodb_file_per_table=true" ]
  681. tmpfs:
  682. - /var/lib/mysql
  683. trigger:
  684. branch:
  685. - master
  686. - stable*
  687. event:
  688. - push
  689. ---
  690. kind: pipeline
  691. name: integration-capabilities_features
  692. steps:
  693. - name: submodules
  694. image: docker:git
  695. commands:
  696. - git submodule update --init
  697. - name: integration-capabilities_features
  698. image: nextcloudci/integration-php7.3:integration-php7.3-2
  699. commands:
  700. - bash tests/drone-run-integration-tests.sh || exit 0
  701. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  702. - cd build/integration
  703. - ./run.sh capabilities_features/capabilities.feature
  704. trigger:
  705. branch:
  706. - master
  707. - stable*
  708. event:
  709. - pull_request
  710. - push
  711. ---
  712. kind: pipeline
  713. name: integration-federation_features
  714. steps:
  715. - name: submodules
  716. image: docker:git
  717. commands:
  718. - git submodule update --init
  719. - name: integration-federation_features
  720. image: nextcloudci/integration-php7.3:integration-php7.3-2
  721. commands:
  722. - bash tests/drone-run-integration-tests.sh || exit 0
  723. - ./occ maintenance:install --admin-pass=admin
  724. - cd build/integration
  725. - ./run.sh federation_features/federated.feature
  726. trigger:
  727. branch:
  728. - master
  729. - stable*
  730. event:
  731. - pull_request
  732. - push
  733. ---
  734. kind: pipeline
  735. name: integration-auth
  736. steps:
  737. - name: submodules
  738. image: docker:git
  739. commands:
  740. - git submodule update --init
  741. - name: integration-auth
  742. image: nextcloudci/integration-php7.3:integration-php7.3-2
  743. commands:
  744. - bash tests/drone-run-integration-tests.sh || exit 0
  745. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  746. - cd build/integration
  747. - ./run.sh features/auth.feature
  748. trigger:
  749. branch:
  750. - master
  751. - stable*
  752. event:
  753. - pull_request
  754. - push
  755. ---
  756. kind: pipeline
  757. name: integration-maintenance-mode
  758. steps:
  759. - name: submodules
  760. image: docker:git
  761. commands:
  762. - git submodule update --init
  763. - name: integration-maintenance-mode
  764. image: nextcloudci/integration-php7.3:integration-php7.3-2
  765. commands:
  766. - bash tests/drone-run-integration-tests.sh || exit 0
  767. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  768. - cd build/integration
  769. - ./run.sh features/maintenance-mode.feature
  770. trigger:
  771. branch:
  772. - master
  773. - stable*
  774. event:
  775. - pull_request
  776. - push
  777. ---
  778. kind: pipeline
  779. name: integration-ratelimiting
  780. steps:
  781. - name: submodules
  782. image: docker:git
  783. commands:
  784. - git submodule update --init
  785. - name: integration-ratelimiting
  786. image: nextcloudci/integration-php7.3:integration-php7.3-2
  787. commands:
  788. - bash tests/drone-run-integration-tests.sh || exit 0
  789. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  790. - ./occ config:system:set redis host --value=cache
  791. - ./occ config:system:set redis port --value=6379 --type=integer
  792. - ./occ config:system:set redis timeout --value=0 --type=integer
  793. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  794. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  795. - ./occ app:enable testing
  796. - cd build/integration
  797. - ./run.sh features/ratelimiting.feature
  798. services:
  799. - name: cache
  800. image: redis
  801. trigger:
  802. branch:
  803. - master
  804. - stable*
  805. event:
  806. - pull_request
  807. - push
  808. ---
  809. kind: pipeline
  810. name: integration-carddav
  811. steps:
  812. - name: submodules
  813. image: docker:git
  814. commands:
  815. - git submodule update --init
  816. - name: integration-carddav
  817. image: nextcloudci/integration-php7.3:integration-php7.3-2
  818. commands:
  819. - bash tests/drone-run-integration-tests.sh || exit 0
  820. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  821. - cd build/integration
  822. - ./run.sh features/carddav.feature
  823. trigger:
  824. branch:
  825. - master
  826. - stable*
  827. event:
  828. - pull_request
  829. - push
  830. ---
  831. kind: pipeline
  832. name: integration-dav-v2
  833. steps:
  834. - name: submodules
  835. image: docker:git
  836. commands:
  837. - git submodule update --init
  838. - name: integration-dav-v2
  839. image: nextcloudci/integration-php7.3:integration-php7.3-2
  840. commands:
  841. - bash tests/drone-run-integration-tests.sh || exit 0
  842. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  843. - cd build/integration
  844. - ./run.sh features/dav-v2.feature
  845. trigger:
  846. branch:
  847. - master
  848. - stable*
  849. event:
  850. - pull_request
  851. - push
  852. ---
  853. kind: pipeline
  854. name: integration-ocs-v1
  855. steps:
  856. - name: submodules
  857. image: docker:git
  858. commands:
  859. - git submodule update --init
  860. - name: integration-ocs-v1
  861. image: nextcloudci/integration-php7.3:integration-php7.3-2
  862. commands:
  863. - bash tests/drone-run-integration-tests.sh || exit 0
  864. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  865. - cd build/integration
  866. - ./run.sh features/ocs-v1.feature
  867. trigger:
  868. branch:
  869. - master
  870. - stable*
  871. event:
  872. - pull_request
  873. - push
  874. ---
  875. kind: pipeline
  876. name: integration-checksums-v1
  877. steps:
  878. - name: submodules
  879. image: docker:git
  880. commands:
  881. - git submodule update --init
  882. - name: integration-checksums-v1
  883. image: nextcloudci/integration-php7.3:integration-php7.3-2
  884. commands:
  885. - bash tests/drone-run-integration-tests.sh || exit 0
  886. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  887. - cd build/integration
  888. - ./run.sh features/checksums.feature
  889. trigger:
  890. branch:
  891. - master
  892. - stable*
  893. event:
  894. - pull_request
  895. - push
  896. ---
  897. kind: pipeline
  898. name: integration-external-storage
  899. steps:
  900. - name: submodules
  901. image: docker:git
  902. commands:
  903. - git submodule update --init
  904. - name: integration-external-storage
  905. image: nextcloudci/integration-php7.3:integration-php7.3-2
  906. commands:
  907. - bash tests/drone-run-integration-tests.sh || exit 0
  908. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  909. - cd build/integration
  910. - ./run.sh features/external-storage.feature
  911. trigger:
  912. branch:
  913. - master
  914. - stable*
  915. event:
  916. - pull_request
  917. - push
  918. ---
  919. kind: pipeline
  920. name: integration-provisioning-v1
  921. steps:
  922. - name: submodules
  923. image: docker:git
  924. commands:
  925. - git submodule update --init
  926. - name: integration-provisioning-v1
  927. image: nextcloudci/integration-php7.3:integration-php7.3-2
  928. commands:
  929. - bash tests/drone-run-integration-tests.sh || exit 0
  930. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  931. - cd build/integration
  932. - ./run.sh features/provisioning-v1.feature
  933. trigger:
  934. branch:
  935. - master
  936. - stable*
  937. event:
  938. - pull_request
  939. - push
  940. ---
  941. kind: pipeline
  942. name: integration-tags
  943. steps:
  944. - name: submodules
  945. image: docker:git
  946. commands:
  947. - git submodule update --init
  948. - name: integration-tags
  949. image: nextcloudci/integration-php7.3:integration-php7.3-2
  950. commands:
  951. - bash tests/drone-run-integration-tests.sh || exit 0
  952. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  953. - cd build/integration
  954. - ./run.sh features/tags.feature
  955. trigger:
  956. branch:
  957. - master
  958. - stable*
  959. event:
  960. - pull_request
  961. - push
  962. ---
  963. kind: pipeline
  964. name: integration-caldav
  965. steps:
  966. - name: submodules
  967. image: docker:git
  968. commands:
  969. - git submodule update --init
  970. - name: integration-caldav
  971. image: nextcloudci/integration-php7.3:integration-php7.3-2
  972. commands:
  973. - bash tests/drone-run-integration-tests.sh || exit 0
  974. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  975. - cd build/integration
  976. - ./run.sh features/caldav.feature
  977. trigger:
  978. branch:
  979. - master
  980. - stable*
  981. event:
  982. - pull_request
  983. - push
  984. ---
  985. kind: pipeline
  986. name: integration-comments
  987. steps:
  988. - name: submodules
  989. image: docker:git
  990. commands:
  991. - git submodule update --init
  992. - name: integration-comments
  993. image: nextcloudci/integration-php7.3:integration-php7.3-2
  994. commands:
  995. - bash tests/drone-run-integration-tests.sh || exit 0
  996. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  997. - cd build/integration
  998. - ./run.sh features/comments.feature
  999. trigger:
  1000. branch:
  1001. - master
  1002. - stable*
  1003. event:
  1004. - pull_request
  1005. - push
  1006. ---
  1007. kind: pipeline
  1008. name: integration-comments-search
  1009. steps:
  1010. - name: submodules
  1011. image: docker:git
  1012. commands:
  1013. - git submodule update --init
  1014. - name: integration-comments-search
  1015. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1016. commands:
  1017. - bash tests/drone-run-integration-tests.sh || exit 0
  1018. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1019. - cd build/integration
  1020. - ./run.sh features/comments-search.feature
  1021. trigger:
  1022. branch:
  1023. - master
  1024. - stable*
  1025. event:
  1026. - pull_request
  1027. - push
  1028. ---
  1029. kind: pipeline
  1030. name: integration-favorites
  1031. steps:
  1032. - name: submodules
  1033. image: docker:git
  1034. commands:
  1035. - git submodule update --init
  1036. - name: integration-favorites
  1037. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1038. commands:
  1039. - bash tests/drone-run-integration-tests.sh || exit 0
  1040. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1041. - cd build/integration
  1042. - ./run.sh features/favorites.feature
  1043. trigger:
  1044. branch:
  1045. - master
  1046. - stable*
  1047. event:
  1048. - pull_request
  1049. - push
  1050. ---
  1051. kind: pipeline
  1052. name: integration-provisioning-v2
  1053. steps:
  1054. - name: submodules
  1055. image: docker:git
  1056. commands:
  1057. - git submodule update --init
  1058. - name: integration-provisioning-v2
  1059. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1060. commands:
  1061. - bash tests/drone-run-integration-tests.sh || exit 0
  1062. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1063. - cd build/integration
  1064. - ./run.sh features/provisioning-v2.feature
  1065. trigger:
  1066. branch:
  1067. - master
  1068. - stable*
  1069. event:
  1070. - pull_request
  1071. - push
  1072. ---
  1073. kind: pipeline
  1074. name: integration-webdav-related
  1075. steps:
  1076. - name: submodules
  1077. image: docker:git
  1078. commands:
  1079. - git submodule update --init
  1080. - name: integration-webdav-related
  1081. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1082. commands:
  1083. - bash tests/drone-run-integration-tests.sh || exit 0
  1084. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1085. - cd build/integration
  1086. - ./run.sh features/webdav-related.feature
  1087. trigger:
  1088. branch:
  1089. - master
  1090. - stable*
  1091. event:
  1092. - pull_request
  1093. - push
  1094. ---
  1095. kind: pipeline
  1096. name: integration-sharees-features
  1097. steps:
  1098. - name: submodules
  1099. image: docker:git
  1100. commands:
  1101. - git submodule update --init
  1102. - name: integration-sharees-features
  1103. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1104. commands:
  1105. - bash tests/drone-run-integration-tests.sh || exit 0
  1106. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1107. - cd build/integration
  1108. - ./run.sh sharees_features/sharees.feature
  1109. trigger:
  1110. branch:
  1111. - master
  1112. - stable*
  1113. event:
  1114. - pull_request
  1115. - push
  1116. ---
  1117. kind: pipeline
  1118. name: integration-sharees-v2-features
  1119. steps:
  1120. - name: submodules
  1121. image: docker:git
  1122. commands:
  1123. - git submodule update --init
  1124. - name: integration-sharees-v2-features
  1125. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1126. commands:
  1127. - bash tests/drone-run-integration-tests.sh || exit 0
  1128. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1129. - cd build/integration
  1130. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  1131. trigger:
  1132. branch:
  1133. - master
  1134. - stable*
  1135. event:
  1136. - pull_request
  1137. - push
  1138. ---
  1139. kind: pipeline
  1140. name: integration-sharing-v1
  1141. steps:
  1142. - name: submodules
  1143. image: docker:git
  1144. commands:
  1145. - git submodule update --init
  1146. - name: integration-sharing-v1
  1147. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1148. commands:
  1149. - bash tests/drone-run-integration-tests.sh || exit 0
  1150. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1151. - cd build/integration
  1152. - ./run.sh sharing_features/sharing-v1.feature
  1153. trigger:
  1154. branch:
  1155. - master
  1156. - stable*
  1157. event:
  1158. - pull_request
  1159. - push
  1160. ---
  1161. kind: pipeline
  1162. name: integration-sharing-v1-part2
  1163. steps:
  1164. - name: submodules
  1165. image: docker:git
  1166. commands:
  1167. - git submodule update --init
  1168. - name: integration-sharing-v1-part2
  1169. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1170. commands:
  1171. - bash tests/drone-run-integration-tests.sh || exit 0
  1172. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1173. - cd build/integration
  1174. - ./run.sh sharing_features/sharing-v1-part2.feature
  1175. trigger:
  1176. branch:
  1177. - master
  1178. - stable*
  1179. event:
  1180. - pull_request
  1181. - push
  1182. ---
  1183. kind: pipeline
  1184. name: integration-sharing-v1-part3
  1185. steps:
  1186. - name: submodules
  1187. image: docker:git
  1188. commands:
  1189. - git submodule update --init
  1190. - name: integration-sharing-v1-part3
  1191. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1192. commands:
  1193. - bash tests/drone-run-integration-tests.sh || exit 0
  1194. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1195. - cd build/integration
  1196. - ./run.sh sharing_features/sharing-v1-part3.feature
  1197. trigger:
  1198. branch:
  1199. - master
  1200. - stable*
  1201. event:
  1202. - pull_request
  1203. - push
  1204. ---
  1205. kind: pipeline
  1206. name: integration-sharing-v1-video-verification
  1207. steps:
  1208. - name: submodules
  1209. image: docker:git
  1210. commands:
  1211. - git submodule update --init
  1212. - name: install-talk
  1213. image: docker:git
  1214. commands:
  1215. # JavaScript files are not used in integration tests so it is not needed to
  1216. # build them.
  1217. - git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
  1218. - name: integration-sharing-v1-video-verification
  1219. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1220. commands:
  1221. - bash tests/drone-run-integration-tests.sh || exit 0
  1222. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1223. - cd build/integration
  1224. - ./run.sh sharing_features/sharing-v1-video-verification.feature
  1225. trigger:
  1226. branch:
  1227. - master
  1228. - stable*
  1229. event:
  1230. - pull_request
  1231. - push
  1232. ---
  1233. kind: pipeline
  1234. name: integration-setup-features
  1235. steps:
  1236. - name: submodules
  1237. image: docker:git
  1238. commands:
  1239. - git submodule update --init
  1240. - name: integration-setup-features
  1241. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1242. commands:
  1243. - bash tests/drone-run-integration-tests.sh || exit 0
  1244. - cd build/integration
  1245. - ./run.sh setup_features/setup.feature
  1246. trigger:
  1247. branch:
  1248. - master
  1249. - stable*
  1250. event:
  1251. - pull_request
  1252. - push
  1253. ---
  1254. kind: pipeline
  1255. name: integration-filesdrop-features
  1256. steps:
  1257. - name: submodules
  1258. image: docker:git
  1259. commands:
  1260. - git submodule update --init
  1261. - name: integration-filesdrop-features
  1262. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1263. commands:
  1264. - bash tests/drone-run-integration-tests.sh || exit 0
  1265. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1266. - cd build/integration
  1267. - ./run.sh filesdrop_features/filesdrop.feature
  1268. trigger:
  1269. branch:
  1270. - master
  1271. - stable*
  1272. event:
  1273. - pull_request
  1274. - push
  1275. ---
  1276. kind: pipeline
  1277. name: integration-transfer-ownership-features
  1278. steps:
  1279. - name: submodules
  1280. image: docker:git
  1281. commands:
  1282. - git submodule update --init
  1283. - name: integration-transfer-ownership-features
  1284. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1285. commands:
  1286. - bash tests/drone-run-integration-tests.sh || exit 0
  1287. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1288. - cd build/integration
  1289. - ./run.sh features/transfer-ownership.feature
  1290. trigger:
  1291. branch:
  1292. - master
  1293. - stable*
  1294. event:
  1295. - pull_request
  1296. - push
  1297. ---
  1298. kind: pipeline
  1299. name: integration-ldap-features
  1300. steps:
  1301. - name: submodules
  1302. image: docker:git
  1303. commands:
  1304. - git submodule update --init
  1305. - name: integration-ldap-features
  1306. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1307. commands:
  1308. - bash tests/drone-run-integration-tests.sh || exit 0
  1309. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1310. - cd build/integration
  1311. - ./run.sh ldap_features/ldap-ocs.feature
  1312. trigger:
  1313. branch:
  1314. - master
  1315. - stable*
  1316. event:
  1317. - pull_request
  1318. - push
  1319. ---
  1320. kind: pipeline
  1321. name: integration-ldap-openldap-features
  1322. steps:
  1323. - name: submodules
  1324. image: docker:git
  1325. commands:
  1326. - git submodule update --init
  1327. - name: integration-ldap-openldap-features
  1328. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1329. commands:
  1330. - bash tests/drone-run-integration-tests.sh || exit 0
  1331. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1332. - ./occ config:system:set redis host --value=cache
  1333. - ./occ config:system:set redis port --value=6379 --type=integer
  1334. - ./occ config:system:set redis timeout --value=0 --type=integer
  1335. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1336. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1337. - cd build/integration
  1338. - ./run.sh ldap_features/ldap-openldap.feature
  1339. services:
  1340. - name: cache
  1341. image: redis
  1342. - name: openldap
  1343. image: nextcloudci/openldap:openldap-7
  1344. environment:
  1345. SLAPD_DOMAIN: nextcloud.ci
  1346. SLAPD_ORGANIZATION: Nextcloud
  1347. SLAPD_PASSWORD: admin
  1348. SLAPD_ADDITIONAL_MODULES: memberof
  1349. trigger:
  1350. branch:
  1351. - master
  1352. - stable*
  1353. event:
  1354. - pull_request
  1355. - push
  1356. ---
  1357. kind: pipeline
  1358. name: integration-ldap-openldap-uid-features-php54-api
  1359. steps:
  1360. - name: submodules
  1361. image: docker:git
  1362. commands:
  1363. - git submodule update --init
  1364. - name: integration-ldap-openldap-uid-features
  1365. image: nextcloudci/integration-php7.2:integration-php7.2-1
  1366. commands:
  1367. - bash tests/drone-run-integration-tests.sh || exit 0
  1368. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1369. - ./occ config:system:set redis host --value=cache
  1370. - ./occ config:system:set redis port --value=6379 --type=integer
  1371. - ./occ config:system:set redis timeout --value=0 --type=integer
  1372. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1373. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1374. - cd build/integration
  1375. - ./run.sh ldap_features/openldap-uid-username.feature
  1376. services:
  1377. - name: cache
  1378. image: redis
  1379. - name: openldap
  1380. image: nextcloudci/openldap:openldap-7
  1381. environment:
  1382. SLAPD_DOMAIN: nextcloud.ci
  1383. SLAPD_ORGANIZATION: Nextcloud
  1384. SLAPD_PASSWORD: admin
  1385. SLAPD_ADDITIONAL_MODULES: memberof
  1386. trigger:
  1387. branch:
  1388. - master
  1389. - stable*
  1390. event:
  1391. - pull_request
  1392. - push
  1393. type: docker
  1394. ---
  1395. kind: pipeline
  1396. name: integration-ldap-openldap-uid-features
  1397. steps:
  1398. - name: submodules
  1399. image: docker:git
  1400. commands:
  1401. - git submodule update --init
  1402. - name: integration-ldap-openldap-uid-features
  1403. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1404. commands:
  1405. - bash tests/drone-run-integration-tests.sh || exit 0
  1406. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1407. - ./occ config:system:set redis host --value=cache
  1408. - ./occ config:system:set redis port --value=6379 --type=integer
  1409. - ./occ config:system:set redis timeout --value=0 --type=integer
  1410. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1411. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1412. - cd build/integration
  1413. - ./run.sh ldap_features/openldap-uid-username.feature
  1414. services:
  1415. - name: cache
  1416. image: redis
  1417. - name: openldap
  1418. image: nextcloudci/openldap:openldap-7
  1419. environment:
  1420. SLAPD_DOMAIN: nextcloud.ci
  1421. SLAPD_ORGANIZATION: Nextcloud
  1422. SLAPD_PASSWORD: admin
  1423. SLAPD_ADDITIONAL_MODULES: memberof
  1424. trigger:
  1425. branch:
  1426. - master
  1427. - stable*
  1428. event:
  1429. - pull_request
  1430. - push
  1431. type: docker
  1432. ---
  1433. kind: pipeline
  1434. name: integration-ldap-openldap-numerical-id-features
  1435. steps:
  1436. - name: submodules
  1437. image: docker:git
  1438. commands:
  1439. - git submodule update --init
  1440. - name: integration-ldap-openldap-numerical-id-features
  1441. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1442. commands:
  1443. - bash tests/drone-run-integration-tests.sh || exit 0
  1444. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1445. - ./occ config:system:set redis host --value=cache
  1446. - ./occ config:system:set redis port --value=6379 --type=integer
  1447. - ./occ config:system:set redis timeout --value=0 --type=integer
  1448. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1449. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1450. - cd build/integration
  1451. - ./run.sh ldap_features/openldap-numerical-id.feature
  1452. services:
  1453. - name: cache
  1454. image: redis
  1455. - name: openldap
  1456. image: nextcloudci/openldap:openldap-7
  1457. environment:
  1458. SLAPD_DOMAIN: nextcloud.ci
  1459. SLAPD_ORGANIZATION: Nextcloud
  1460. SLAPD_PASSWORD: admin
  1461. SLAPD_ADDITIONAL_MODULES: memberof
  1462. trigger:
  1463. branch:
  1464. - master
  1465. - stable*
  1466. event:
  1467. - pull_request
  1468. - push
  1469. ---
  1470. kind: pipeline
  1471. name: integration-trashbin
  1472. steps:
  1473. - name: submodules
  1474. image: docker:git
  1475. commands:
  1476. - git submodule update --init
  1477. - name: integration-trashbin
  1478. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1479. commands:
  1480. - bash tests/drone-run-integration-tests.sh || exit 0
  1481. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1482. - cd build/integration
  1483. - ./run.sh features/trashbin.feature
  1484. trigger:
  1485. branch:
  1486. - master
  1487. - stable*
  1488. event:
  1489. - pull_request
  1490. - push
  1491. ---
  1492. kind: pipeline
  1493. name: integration-remote-api
  1494. steps:
  1495. - name: submodules
  1496. image: docker:git
  1497. commands:
  1498. - git submodule update --init
  1499. - name: integration-remote-api
  1500. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1501. commands:
  1502. - bash tests/drone-run-integration-tests.sh || exit 0
  1503. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1504. - cd build/integration
  1505. - ./run.sh remoteapi_features/remote.feature
  1506. trigger:
  1507. branch:
  1508. - master
  1509. - stable*
  1510. event:
  1511. - pull_request
  1512. - push
  1513. ---
  1514. kind: pipeline
  1515. name: integration-download
  1516. steps:
  1517. - name: submodules
  1518. image: docker:git
  1519. commands:
  1520. - git submodule update --init
  1521. - name: integration-download
  1522. image: nextcloudci/integration-php7.3:integration-php7.3-2
  1523. commands:
  1524. - bash tests/drone-run-integration-tests.sh || exit 0
  1525. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1526. - cd build/integration
  1527. - ./run.sh --tags ~@large features/download.feature
  1528. trigger:
  1529. branch:
  1530. - master
  1531. - stable*
  1532. event:
  1533. - pull_request
  1534. - push
  1535. ---
  1536. kind: pipeline
  1537. name: acceptance-access-levels
  1538. steps:
  1539. - name: submodules
  1540. image: docker:git
  1541. commands:
  1542. - git submodule update --init
  1543. - name: acceptance-access-levels
  1544. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1545. commands:
  1546. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-access-levels --selenium-server selenium:4444 allow-git-repository-modifications features/access-levels.feature
  1547. services:
  1548. - name: selenium
  1549. image: selenium/standalone-firefox:2.53.1-beryllium
  1550. environment:
  1551. # Reduce default log level for Selenium server (INFO) as it is too
  1552. # verbose.
  1553. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1554. trigger:
  1555. branch:
  1556. - master
  1557. - stable*
  1558. event:
  1559. - pull_request
  1560. - push
  1561. ---
  1562. kind: pipeline
  1563. name: acceptance-app-comments
  1564. steps:
  1565. - name: submodules
  1566. image: docker:git
  1567. commands:
  1568. - git submodule update --init
  1569. - name: acceptance-app-comments
  1570. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1571. commands:
  1572. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-comments --selenium-server selenium:4444 allow-git-repository-modifications features/app-comments.feature
  1573. services:
  1574. - name: selenium
  1575. image: selenium/standalone-firefox:2.53.1-beryllium
  1576. environment:
  1577. # Reduce default log level for Selenium server (INFO) as it is too
  1578. # verbose.
  1579. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1580. trigger:
  1581. branch:
  1582. - master
  1583. - stable*
  1584. event:
  1585. - pull_request
  1586. - push
  1587. ---
  1588. kind: pipeline
  1589. name: acceptance-app-files
  1590. steps:
  1591. - name: submodules
  1592. image: docker:git
  1593. commands:
  1594. - git submodule update --init
  1595. - name: acceptance-app-files
  1596. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1597. commands:
  1598. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files --selenium-server selenium:4444 allow-git-repository-modifications features/app-files.feature
  1599. services:
  1600. - name: selenium
  1601. image: selenium/standalone-firefox:2.53.1-beryllium
  1602. environment:
  1603. # Reduce default log level for Selenium server (INFO) as it is too
  1604. # verbose.
  1605. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1606. trigger:
  1607. branch:
  1608. - master
  1609. - stable*
  1610. event:
  1611. - pull_request
  1612. - push
  1613. ---
  1614. kind: pipeline
  1615. name: acceptance-app-files-sharing
  1616. steps:
  1617. - name: submodules
  1618. image: docker:git
  1619. commands:
  1620. - git submodule update --init
  1621. - name: acceptance-app-files-sharing
  1622. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1623. commands:
  1624. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing.feature
  1625. services:
  1626. - name: selenium
  1627. image: selenium/standalone-firefox:2.53.1-beryllium
  1628. environment:
  1629. # Reduce default log level for Selenium server (INFO) as it is too
  1630. # verbose.
  1631. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1632. trigger:
  1633. branch:
  1634. - master
  1635. - stable*
  1636. event:
  1637. - pull_request
  1638. - push
  1639. ---
  1640. kind: pipeline
  1641. name: acceptance-app-files-sharing-link
  1642. steps:
  1643. - name: submodules
  1644. image: docker:git
  1645. commands:
  1646. - git submodule update --init
  1647. - name: acceptance-app-files-sharing-link
  1648. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1649. commands:
  1650. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-sharing-link --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-sharing-link.feature
  1651. services:
  1652. - name: selenium
  1653. image: selenium/standalone-firefox:2.53.1-beryllium
  1654. environment:
  1655. # Reduce default log level for Selenium server (INFO) as it is too
  1656. # verbose.
  1657. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1658. trigger:
  1659. branch:
  1660. - master
  1661. - stable*
  1662. event:
  1663. - pull_request
  1664. - push
  1665. ---
  1666. kind: pipeline
  1667. name: acceptance-app-files-tags
  1668. steps:
  1669. - name: submodules
  1670. image: docker:git
  1671. commands:
  1672. - git submodule update --init
  1673. - name: acceptance-app-files-tags
  1674. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1675. commands:
  1676. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-files-tags --selenium-server selenium:4444 allow-git-repository-modifications features/app-files-tags.feature
  1677. services:
  1678. - name: selenium
  1679. image: selenium/standalone-firefox:2.53.1-beryllium
  1680. environment:
  1681. # Reduce default log level for Selenium server (INFO) as it is too
  1682. # verbose.
  1683. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1684. trigger:
  1685. branch:
  1686. - master
  1687. - stable*
  1688. event:
  1689. - pull_request
  1690. - push
  1691. ---
  1692. kind: pipeline
  1693. name: acceptance-app-theming
  1694. steps:
  1695. - name: submodules
  1696. image: docker:git
  1697. commands:
  1698. - git submodule update --init
  1699. - name: acceptance-app-theming
  1700. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1701. commands:
  1702. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-app-theming --selenium-server selenium:4444 allow-git-repository-modifications features/app-theming.feature
  1703. services:
  1704. - name: selenium
  1705. image: selenium/standalone-firefox:2.53.1-beryllium
  1706. environment:
  1707. # Reduce default log level for Selenium server (INFO) as it is too
  1708. # verbose.
  1709. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1710. trigger:
  1711. branch:
  1712. - master
  1713. - stable*
  1714. event:
  1715. - pull_request
  1716. - push
  1717. ---
  1718. kind: pipeline
  1719. name: acceptance-header
  1720. steps:
  1721. - name: submodules
  1722. image: docker:git
  1723. commands:
  1724. - git submodule update --init
  1725. - name: acceptance-header
  1726. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1727. commands:
  1728. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1729. services:
  1730. - name: selenium
  1731. image: selenium/standalone-firefox:2.53.1-beryllium
  1732. environment:
  1733. # Reduce default log level for Selenium server (INFO) as it is too
  1734. # verbose.
  1735. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1736. trigger:
  1737. branch:
  1738. - master
  1739. - stable*
  1740. event:
  1741. - pull_request
  1742. - push
  1743. ---
  1744. kind: pipeline
  1745. name: acceptance-login
  1746. steps:
  1747. - name: submodules
  1748. image: docker:git
  1749. commands:
  1750. - git submodule update --init
  1751. - name: acceptance-login
  1752. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1753. commands:
  1754. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1755. services:
  1756. - name: selenium
  1757. image: selenium/standalone-firefox:2.53.1-beryllium
  1758. environment:
  1759. # Reduce default log level for Selenium server (INFO) as it is too
  1760. # verbose.
  1761. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1762. trigger:
  1763. branch:
  1764. - master
  1765. - stable*
  1766. event:
  1767. - pull_request
  1768. - push
  1769. ---
  1770. kind: pipeline
  1771. name: acceptance-users
  1772. steps:
  1773. - name: submodules
  1774. image: docker:git
  1775. commands:
  1776. - git submodule update --init
  1777. - name: acceptance-users
  1778. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1779. commands:
  1780. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1781. services:
  1782. - name: selenium
  1783. image: selenium/standalone-firefox:2.53.1-beryllium
  1784. environment:
  1785. # Reduce default log level for Selenium server (INFO) as it is too
  1786. # verbose.
  1787. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1788. trigger:
  1789. branch:
  1790. - master
  1791. - stable*
  1792. event:
  1793. - pull_request
  1794. - push
  1795. ---
  1796. kind: pipeline
  1797. name: acceptance-apps
  1798. steps:
  1799. - name: submodules
  1800. image: docker:git
  1801. commands:
  1802. - git submodule update --init
  1803. - name: acceptance-apps
  1804. image: nextcloudci/acceptance-php7.3:acceptance-php7.3-2
  1805. commands:
  1806. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1807. services:
  1808. - name: selenium
  1809. image: selenium/standalone-firefox:2.53.1-beryllium
  1810. environment:
  1811. # Reduce default log level for Selenium server (INFO) as it is too
  1812. # verbose.
  1813. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1814. trigger:
  1815. branch:
  1816. - master
  1817. - stable*
  1818. event:
  1819. - pull_request
  1820. - push
  1821. ---
  1822. kind: pipeline
  1823. name: nodb-codecov
  1824. steps:
  1825. - name: submodules
  1826. image: docker:git
  1827. commands:
  1828. - git submodule update --init
  1829. - name: nodb-codecov
  1830. image: nextcloudci/php7.2:php7.2-13
  1831. commands:
  1832. - phpenmod xdebug
  1833. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1834. - wget https://codecov.io/bash -O codecov.sh
  1835. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1836. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1837. services:
  1838. - name: cache
  1839. image: redis
  1840. trigger:
  1841. branch:
  1842. - master
  1843. - stable*
  1844. event:
  1845. - push
  1846. ---
  1847. kind: pipeline
  1848. name: db-codecov
  1849. steps:
  1850. - name: submodules
  1851. image: docker:git
  1852. commands:
  1853. - git submodule update --init
  1854. - name: db-codecov
  1855. image: nextcloudci/php7.2:php7.2-13
  1856. commands:
  1857. - phpenmod xdebug
  1858. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1859. - wget https://codecov.io/bash -O codecov.sh
  1860. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1861. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1862. services:
  1863. - name: cache
  1864. image: redis
  1865. trigger:
  1866. branch:
  1867. - master
  1868. - stable*
  1869. event:
  1870. - push
  1871. ---
  1872. kind: pipeline
  1873. name: object-store-s3
  1874. steps:
  1875. - name: submodules
  1876. image: docker:git
  1877. commands:
  1878. - git submodule update --init
  1879. - name: object-store
  1880. image: nextcloudci/php7.2:php7.2-13
  1881. commands:
  1882. - phpenmod xdebug
  1883. - ./tests/drone-wait-objectstore.sh
  1884. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1885. - wget https://codecov.io/bash -O codecov.sh
  1886. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1887. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1888. services:
  1889. - name: fake-s3
  1890. image: lphoward/fake-s3:latest
  1891. trigger:
  1892. branch:
  1893. - master
  1894. - stable*
  1895. event:
  1896. - pull_request
  1897. - push
  1898. ---
  1899. kind: pipeline
  1900. name: object-store-azure
  1901. steps:
  1902. - name: submodules
  1903. image: docker:git
  1904. commands:
  1905. - git submodule update --init
  1906. - name: object-store
  1907. image: nextcloudci/php7.2:php7.2-13
  1908. commands:
  1909. - phpenmod xdebug
  1910. - ./tests/drone-wait-objectstore.sh
  1911. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1912. - wget https://codecov.io/bash -O codecov.sh
  1913. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1914. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1915. services:
  1916. - name: azurite
  1917. image: arafato/azurite:latest
  1918. environment:
  1919. executable: blob
  1920. trigger:
  1921. branch:
  1922. - master
  1923. - stable*
  1924. event:
  1925. - pull_request
  1926. - push
  1927. ---
  1928. #kind: pipeline
  1929. #name: object-store-swift-v2
  1930. #
  1931. #clone:
  1932. # depth: 1
  1933. #
  1934. #steps:
  1935. #- name: submodules
  1936. # image: docker:git
  1937. # commands:
  1938. # - git submodule update --init
  1939. #- name: object-store
  1940. # image: nextcloudci/php7.1:php7.1-16
  1941. # commands:
  1942. # - phpenmod xdebug
  1943. # - ./tests/drone-wait-objectstore.sh
  1944. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  1945. # - wget https://codecov.io/bash -O codecov.sh
  1946. # - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1947. # - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1948. #
  1949. #services:
  1950. #- name: dockswift
  1951. # image: icewind1991/dockswift:nextcloud-ci
  1952. # environment:
  1953. # IPADDRESS: dockswift
  1954. #
  1955. #trigger:
  1956. # branch:
  1957. # - master
  1958. # - stable*
  1959. # event:
  1960. # - pull_request
  1961. # - push
  1962. #
  1963. #---
  1964. #kind: pipeline
  1965. #name: object-store-swift-v3
  1966. #
  1967. #clone:
  1968. # depth: 1
  1969. #
  1970. #steps:
  1971. #- name: submodules
  1972. # image: docker:git
  1973. # commands:
  1974. # - git submodule update --init
  1975. #- name: object-store
  1976. # image: nextcloudci/php7.1:php7.1-16
  1977. # commands:
  1978. # - phpenmod xdebug
  1979. # - ./tests/drone-wait-objectstore.sh
  1980. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  1981. # - wget https://codecov.io/bash -O codecov.sh
  1982. # - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1983. # - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  1984. #
  1985. #services:
  1986. #- name: dockswift
  1987. # image: icewind1991/dockswift:nextcloud-ci
  1988. # environment:
  1989. # IPADDRESS: dockswift
  1990. #
  1991. #trigger:
  1992. # branch:
  1993. # - master
  1994. # - stable*
  1995. # event:
  1996. # - pull_request
  1997. # - push
  1998. #
  1999. #---
  2000. kind: pipeline
  2001. name: memcache-memcached
  2002. steps:
  2003. - name: submodules
  2004. image: docker:git
  2005. commands:
  2006. - git submodule update --init
  2007. - name: memcache-memcached
  2008. image: nextcloudci/php7.3-memcached:php7.3-memcached-3
  2009. commands:
  2010. - phpenmod xdebug
  2011. - service memcached restart
  2012. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  2013. - wget https://codecov.io/bash -O codecov.sh
  2014. - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  2015. - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  2016. trigger:
  2017. branch:
  2018. - master
  2019. - stable*
  2020. event:
  2021. - pull_request
  2022. - push
  2023. #---
  2024. #kind: pipeline
  2025. #name: memcache-redis-cluster
  2026. #
  2027. #steps:
  2028. #- name: submodules
  2029. # image: docker:git
  2030. # commands:
  2031. # - git submodule update --init
  2032. #- name: memcache-redis-cluster
  2033. # image: nextcloudci/php7.2:php7.2-13
  2034. # commands:
  2035. # - phpenmod xdebug
  2036. # - sleep 20
  2037. # - ENABLE_REDIS_CLUSTER=true ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
  2038. # - wget https://codecov.io/bash -O codecov.sh
  2039. # - sh -c "if [ '$DRONE_BUILD_EVENT' = 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -P $DRONE_PULL_REQUEST -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  2040. # - sh -c "if [ '$DRONE_BUILD_EVENT' != 'pull_request' ]; then bash codecov.sh -B $DRONE_BRANCH -C $DRONE_COMMIT -t 117641e2-a9e8-4b7b-984b-ae872d9b05f5 -f tests/autotest-clover-sqlite.xml; fi"
  2041. #
  2042. #services:
  2043. #- name: cache-cluster
  2044. # image: morrisjobke/redis-cluster
  2045. #
  2046. #trigger:
  2047. # branch:
  2048. # - master
  2049. # - stable*
  2050. # event:
  2051. # - pull_request
  2052. # - push