.drone.yml 56 KB

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