Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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