You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.drone.yml 53KB

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