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 61KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311
  1. kind: pipeline
  2. name: checkers
  3. steps:
  4. - name: submodules
  5. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  6. commands:
  7. - git submodule update --init
  8. - name: checkers
  9. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  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: ghcr.io/nextcloud/continuous-integration-redis:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  198. commands:
  199. - git submodule update --init
  200. - name: nodb-php7.3
  201. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  231. commands:
  232. - git submodule update --init
  233. - name: sqlite-php7.3
  234. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  264. commands:
  265. - git submodule update --init
  266. - name: mariadb10.1-php7.3
  267. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-redis:latest
  274. - name: mariadb
  275. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.1: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  296. commands:
  297. - git submodule update --init
  298. - name: mariadb10.2-php7.3
  299. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-redis:latest
  306. - name: mariadb
  307. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.2: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  327. commands:
  328. - git submodule update --init
  329. - name: mariadb10.3-php7.3
  330. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-redis:latest
  337. - name: mariadb
  338. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.3: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  359. commands:
  360. - git submodule update --init
  361. - name: mariadb10.4-php7.4
  362. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  374. - name: mariadb
  375. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  396. commands:
  397. - git submodule update --init
  398. - name: mysql-php7.4
  399. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  406. - name: mysql
  407. image: ghcr.io/nextcloud/continuous-integration-mysql-8.0: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  429. commands:
  430. - git submodule update --init
  431. - name: postgres-php7.3
  432. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-redis:latest
  440. - name: postgres-9
  441. image: ghcr.io/nextcloud/continuous-integration-postgres-9: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  461. commands:
  462. - git submodule update --init
  463. - name: postgres-php7.3
  464. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-redis:latest
  472. - name: postgres-10
  473. image: ghcr.io/nextcloud/continuous-integration-postgres-10: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  492. commands:
  493. - git submodule update --init
  494. - name: postgres-php7.4
  495. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  503. - name: postgres-11
  504. image: ghcr.io/nextcloud/continuous-integration-postgres-11: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  524. commands:
  525. - git submodule update --init
  526. - name: postgres-php7.4
  527. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  535. - name: postgres-12
  536. image: ghcr.io/nextcloud/continuous-integration-postgres-12: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  556. commands:
  557. - git submodule update --init
  558. - name: postgres-php7.4
  559. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  567. - name: postgres-13
  568. image: ghcr.io/nextcloud/continuous-integration-postgres-13: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  589. commands:
  590. - git submodule update --init
  591. - name: mysqlmb4-php7.4
  592. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  604. - name: mysqlmb4
  605. image: ghcr.io/nextcloud/continuous-integration-mysql-5.7: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  626. commands:
  627. - git submodule update --init
  628. - name: mysqlmb4-php7.3
  629. image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  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: ghcr.io/nextcloud/continuous-integration-redis:latest
  636. - name: mysqlmb4
  637. image: ghcr.io/nextcloud/continuous-integration-mysql-5.7: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  658. commands:
  659. - git submodule update --init
  660. - name: integration-capabilities_features
  661. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  680. commands:
  681. - git submodule update --init
  682. - name: integration-collaboration_features
  683. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  702. commands:
  703. - git submodule update --init
  704. - name: integration-federation_features
  705. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  724. commands:
  725. - git submodule update --init
  726. - name: integration-auth
  727. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  746. commands:
  747. - git submodule update --init
  748. - name: integration-avatar
  749. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  768. commands:
  769. - git submodule update --init
  770. - name: integration-maintenance-mode
  771. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  790. commands:
  791. - git submodule update --init
  792. - name: integration-ratelimiting
  793. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-redis:latest
  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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  821. commands:
  822. - git submodule update --init
  823. - name: integration-carddav
  824. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  843. commands:
  844. - git submodule update --init
  845. - name: integration-dav-v2
  846. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  865. commands:
  866. - git submodule update --init
  867. - name: integration-ocs-v1
  868. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  887. commands:
  888. - git submodule update --init
  889. - name: integration-checksums-v1
  890. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  909. commands:
  910. - git submodule update --init
  911. - name: integration-external-storage
  912. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  931. commands:
  932. - git submodule update --init
  933. - name: integration-provisioning-v1
  934. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  953. commands:
  954. - git submodule update --init
  955. - name: integration-tags
  956. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  975. commands:
  976. - git submodule update --init
  977. - name: integration-caldav
  978. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  997. commands:
  998. - git submodule update --init
  999. - name: integration-comments
  1000. image: ghcr.io/nextcloud/continuous-integration-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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1019. commands:
  1020. - git submodule update --init
  1021. - name: integration-comments-search
  1022. image: ghcr.io/nextcloud/continuous-integration-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-contacts-menu
  1038. steps:
  1039. - name: submodules
  1040. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1041. commands:
  1042. - git submodule update --init
  1043. - name: integration-contacts-menu
  1044. image: ghcr.io/nextcloud/continuous-integration-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/contacts-menu.feature
  1050. trigger:
  1051. branch:
  1052. - master
  1053. - stable*
  1054. event:
  1055. - pull_request
  1056. - push
  1057. ---
  1058. kind: pipeline
  1059. name: integration-favorites
  1060. steps:
  1061. - name: submodules
  1062. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1063. commands:
  1064. - git submodule update --init
  1065. - name: integration-favorites
  1066. image: ghcr.io/nextcloud/continuous-integration-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/favorites.feature
  1072. trigger:
  1073. branch:
  1074. - master
  1075. - stable*
  1076. event:
  1077. - pull_request
  1078. - push
  1079. ---
  1080. kind: pipeline
  1081. name: integration-provisioning-v2
  1082. steps:
  1083. - name: submodules
  1084. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1085. commands:
  1086. - git submodule update --init
  1087. - name: integration-provisioning-v2
  1088. image: ghcr.io/nextcloud/continuous-integration-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/provisioning-v2.feature
  1094. trigger:
  1095. branch:
  1096. - master
  1097. - stable*
  1098. event:
  1099. - pull_request
  1100. - push
  1101. ---
  1102. kind: pipeline
  1103. name: integration-webdav-related
  1104. steps:
  1105. - name: submodules
  1106. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1107. commands:
  1108. - git submodule update --init
  1109. - name: integration-webdav-related
  1110. image: ghcr.io/nextcloud/continuous-integration-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 features/webdav-related.feature
  1116. trigger:
  1117. branch:
  1118. - master
  1119. - stable*
  1120. event:
  1121. - pull_request
  1122. - push
  1123. ---
  1124. kind: pipeline
  1125. name: integration-sharees-features
  1126. steps:
  1127. - name: submodules
  1128. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1129. commands:
  1130. - git submodule update --init
  1131. - name: integration-sharees-features
  1132. image: ghcr.io/nextcloud/continuous-integration-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.feature
  1138. trigger:
  1139. branch:
  1140. - master
  1141. - stable*
  1142. event:
  1143. - pull_request
  1144. - push
  1145. ---
  1146. kind: pipeline
  1147. name: integration-sharees-v2-features
  1148. steps:
  1149. - name: submodules
  1150. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1151. commands:
  1152. - git submodule update --init
  1153. - name: integration-sharees-v2-features
  1154. image: ghcr.io/nextcloud/continuous-integration-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 sharees_features/sharees_provisioningapiv2.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
  1170. steps:
  1171. - name: submodules
  1172. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1173. commands:
  1174. - git submodule update --init
  1175. - name: integration-sharing-v1
  1176. image: ghcr.io/nextcloud/continuous-integration-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.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-part2
  1192. steps:
  1193. - name: submodules
  1194. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1195. commands:
  1196. - git submodule update --init
  1197. - name: integration-sharing-v1-part2
  1198. image: ghcr.io/nextcloud/continuous-integration-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-part2.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-part3
  1214. steps:
  1215. - name: submodules
  1216. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1217. commands:
  1218. - git submodule update --init
  1219. - name: integration-sharing-v1-part3
  1220. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:integration-php7.3-2
  1221. commands:
  1222. - bash tests/drone-run-integration-tests.sh || exit 0
  1223. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1224. - cd build/integration
  1225. - ./run.sh sharing_features/sharing-v1-part3.feature
  1226. trigger:
  1227. branch:
  1228. - master
  1229. - stable*
  1230. event:
  1231. - pull_request
  1232. - push
  1233. ---
  1234. kind: pipeline
  1235. name: integration-sharing-v1-video-verification
  1236. steps:
  1237. - name: submodules
  1238. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1239. commands:
  1240. - git submodule update --init
  1241. - name: install-talk
  1242. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1243. commands:
  1244. # JavaScript files are not used in integration tests so it is not needed to
  1245. # build them.
  1246. - git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
  1247. - name: integration-sharing-v1-video-verification
  1248. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:integration-php7.3-2
  1249. commands:
  1250. - bash tests/drone-run-integration-tests.sh || exit 0
  1251. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1252. - cd build/integration
  1253. - ./run.sh sharing_features/sharing-v1-video-verification.feature
  1254. trigger:
  1255. branch:
  1256. - master
  1257. - stable*
  1258. event:
  1259. - pull_request
  1260. - push
  1261. ---
  1262. kind: pipeline
  1263. name: integration-setup-features
  1264. steps:
  1265. - name: submodules
  1266. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1267. commands:
  1268. - git submodule update --init
  1269. - name: integration-setup-features
  1270. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:integration-php7.3-2
  1271. commands:
  1272. - bash tests/drone-run-integration-tests.sh || exit 0
  1273. - cd build/integration
  1274. - ./run.sh setup_features/setup.feature
  1275. trigger:
  1276. branch:
  1277. - master
  1278. - stable*
  1279. event:
  1280. - pull_request
  1281. - push
  1282. ---
  1283. kind: pipeline
  1284. name: integration-filesdrop-features
  1285. steps:
  1286. - name: submodules
  1287. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1288. commands:
  1289. - git submodule update --init
  1290. - name: integration-filesdrop-features
  1291. image: ghcr.io/nextcloud/continuous-integration-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 filesdrop_features/filesdrop.feature
  1297. trigger:
  1298. branch:
  1299. - master
  1300. - stable*
  1301. event:
  1302. - pull_request
  1303. - push
  1304. ---
  1305. kind: pipeline
  1306. name: integration-transfer-ownership-features
  1307. steps:
  1308. - name: submodules
  1309. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1310. commands:
  1311. - git submodule update --init
  1312. - name: integration-transfer-ownership-features
  1313. image: ghcr.io/nextcloud/continuous-integration-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 features/transfer-ownership.feature
  1319. trigger:
  1320. branch:
  1321. - master
  1322. - stable*
  1323. event:
  1324. - pull_request
  1325. - push
  1326. ---
  1327. kind: pipeline
  1328. name: integration-ldap-features
  1329. steps:
  1330. - name: submodules
  1331. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1332. commands:
  1333. - git submodule update --init
  1334. - name: integration-ldap-features
  1335. image: ghcr.io/nextcloud/continuous-integration-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. - cd build/integration
  1340. - ./run.sh ldap_features/ldap-ocs.feature
  1341. trigger:
  1342. branch:
  1343. - master
  1344. - stable*
  1345. event:
  1346. - pull_request
  1347. - push
  1348. ---
  1349. kind: pipeline
  1350. name: integration-ldap-openldap-features
  1351. steps:
  1352. - name: submodules
  1353. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1354. commands:
  1355. - git submodule update --init
  1356. - name: integration-ldap-openldap-features
  1357. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:integration-php7.3-2
  1358. commands:
  1359. - bash tests/drone-run-integration-tests.sh || exit 0
  1360. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1361. - ./occ config:system:set redis host --value=cache
  1362. - ./occ config:system:set redis port --value=6379 --type=integer
  1363. - ./occ config:system:set redis timeout --value=0 --type=integer
  1364. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1365. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1366. - cd build/integration
  1367. - ./run.sh ldap_features/ldap-openldap.feature
  1368. services:
  1369. - name: cache
  1370. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1371. - name: openldap
  1372. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1373. environment:
  1374. SLAPD_DOMAIN: nextcloud.ci
  1375. SLAPD_ORGANIZATION: Nextcloud
  1376. SLAPD_PASSWORD: admin
  1377. SLAPD_ADDITIONAL_MODULES: memberof
  1378. trigger:
  1379. branch:
  1380. - master
  1381. - stable*
  1382. event:
  1383. - pull_request
  1384. - push
  1385. ---
  1386. kind: pipeline
  1387. name: integration-ldap-openldap-uid-features
  1388. steps:
  1389. - name: submodules
  1390. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1391. commands:
  1392. - git submodule update --init
  1393. - name: integration-ldap-openldap-uid-features
  1394. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:integration-php7.3-2
  1395. commands:
  1396. - bash tests/drone-run-integration-tests.sh || exit 0
  1397. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1398. - ./occ config:system:set redis host --value=cache
  1399. - ./occ config:system:set redis port --value=6379 --type=integer
  1400. - ./occ config:system:set redis timeout --value=0 --type=integer
  1401. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1402. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1403. - cd build/integration
  1404. - ./run.sh ldap_features/openldap-uid-username.feature
  1405. services:
  1406. - name: cache
  1407. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1408. - name: openldap
  1409. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1410. environment:
  1411. SLAPD_DOMAIN: nextcloud.ci
  1412. SLAPD_ORGANIZATION: Nextcloud
  1413. SLAPD_PASSWORD: admin
  1414. SLAPD_ADDITIONAL_MODULES: memberof
  1415. trigger:
  1416. branch:
  1417. - master
  1418. - stable*
  1419. event:
  1420. - pull_request
  1421. - push
  1422. type: docker
  1423. ---
  1424. kind: pipeline
  1425. name: integration-ldap-openldap-numerical-id-features
  1426. steps:
  1427. - name: submodules
  1428. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1429. commands:
  1430. - git submodule update --init
  1431. - name: integration-ldap-openldap-numerical-id-features
  1432. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:integration-php7.3-2
  1433. commands:
  1434. - bash tests/drone-run-integration-tests.sh || exit 0
  1435. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1436. - ./occ config:system:set redis host --value=cache
  1437. - ./occ config:system:set redis port --value=6379 --type=integer
  1438. - ./occ config:system:set redis timeout --value=0 --type=integer
  1439. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1440. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1441. - cd build/integration
  1442. - ./run.sh ldap_features/openldap-numerical-id.feature
  1443. services:
  1444. - name: cache
  1445. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1446. - name: openldap
  1447. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1448. environment:
  1449. SLAPD_DOMAIN: nextcloud.ci
  1450. SLAPD_ORGANIZATION: Nextcloud
  1451. SLAPD_PASSWORD: admin
  1452. SLAPD_ADDITIONAL_MODULES: memberof
  1453. trigger:
  1454. branch:
  1455. - master
  1456. - stable*
  1457. event:
  1458. - pull_request
  1459. - push
  1460. ---
  1461. kind: pipeline
  1462. name: integration-trashbin
  1463. steps:
  1464. - name: submodules
  1465. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1466. commands:
  1467. - git submodule update --init
  1468. - name: integration-trashbin
  1469. image: ghcr.io/nextcloud/continuous-integration-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 features/trashbin.feature
  1475. trigger:
  1476. branch:
  1477. - master
  1478. - stable*
  1479. event:
  1480. - pull_request
  1481. - push
  1482. ---
  1483. kind: pipeline
  1484. name: integration-remote-api
  1485. steps:
  1486. - name: submodules
  1487. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1488. commands:
  1489. - git submodule update --init
  1490. - name: integration-remote-api
  1491. image: ghcr.io/nextcloud/continuous-integration-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 remoteapi_features/remote.feature
  1497. trigger:
  1498. branch:
  1499. - master
  1500. - stable*
  1501. event:
  1502. - pull_request
  1503. - push
  1504. ---
  1505. kind: pipeline
  1506. name: integration-download
  1507. steps:
  1508. - name: submodules
  1509. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1510. commands:
  1511. - git submodule update --init
  1512. - name: integration-download
  1513. image: ghcr.io/nextcloud/continuous-integration-integration-php7.3:integration-php7.3-2
  1514. commands:
  1515. - bash tests/drone-run-integration-tests.sh || exit 0
  1516. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1517. - cd build/integration
  1518. - ./run.sh --tags ~@large features/download.feature
  1519. trigger:
  1520. branch:
  1521. - master
  1522. - stable*
  1523. event:
  1524. - pull_request
  1525. - push
  1526. ---
  1527. kind: pipeline
  1528. name: acceptance-access-levels
  1529. steps:
  1530. - name: submodules
  1531. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1532. commands:
  1533. - git submodule update --init
  1534. - name: acceptance-access-levels
  1535. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1536. commands:
  1537. - 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
  1538. services:
  1539. - name: selenium
  1540. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1541. environment:
  1542. # Reduce default log level for Selenium server (INFO) as it is too
  1543. # verbose.
  1544. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1545. trigger:
  1546. branch:
  1547. - master
  1548. - stable*
  1549. event:
  1550. - pull_request
  1551. - push
  1552. #---
  1553. #kind: pipeline
  1554. #name: acceptance-app-comments
  1555. #
  1556. #steps:
  1557. #- name: submodules
  1558. # image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1559. # commands:
  1560. # - git submodule update --init
  1561. #- name: acceptance-app-comments
  1562. # image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1563. # commands:
  1564. # - 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
  1565. #
  1566. #services:
  1567. #- name: selenium
  1568. # image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1569. # environment:
  1570. # # Reduce default log level for Selenium server (INFO) as it is too
  1571. # # verbose.
  1572. # JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1573. #
  1574. #trigger:
  1575. # branch:
  1576. # - master
  1577. # - stable*
  1578. # event:
  1579. # - pull_request
  1580. # - push
  1581. #
  1582. ---
  1583. kind: pipeline
  1584. name: acceptance-app-files
  1585. steps:
  1586. - name: submodules
  1587. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1588. commands:
  1589. - git submodule update --init
  1590. - name: acceptance-app-files
  1591. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1592. commands:
  1593. - 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
  1594. services:
  1595. - name: selenium
  1596. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1597. environment:
  1598. # Reduce default log level for Selenium server (INFO) as it is too
  1599. # verbose.
  1600. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1601. trigger:
  1602. branch:
  1603. - master
  1604. - stable*
  1605. event:
  1606. - pull_request
  1607. - push
  1608. ---
  1609. kind: pipeline
  1610. name: acceptance-app-files-sharing
  1611. steps:
  1612. - name: submodules
  1613. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1614. commands:
  1615. - git submodule update --init
  1616. - name: acceptance-app-files-sharing
  1617. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1618. commands:
  1619. - 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
  1620. services:
  1621. - name: selenium
  1622. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1623. environment:
  1624. # Reduce default log level for Selenium server (INFO) as it is too
  1625. # verbose.
  1626. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1627. trigger:
  1628. branch:
  1629. - master
  1630. - stable*
  1631. event:
  1632. - pull_request
  1633. - push
  1634. ---
  1635. kind: pipeline
  1636. name: acceptance-app-files-sharing-link
  1637. steps:
  1638. - name: submodules
  1639. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1640. commands:
  1641. - git submodule update --init
  1642. - name: acceptance-app-files-sharing-link
  1643. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1644. commands:
  1645. - 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
  1646. services:
  1647. - name: selenium
  1648. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1649. environment:
  1650. # Reduce default log level for Selenium server (INFO) as it is too
  1651. # verbose.
  1652. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1653. trigger:
  1654. branch:
  1655. - master
  1656. - stable*
  1657. event:
  1658. - pull_request
  1659. - push
  1660. ---
  1661. kind: pipeline
  1662. name: acceptance-app-files-tags
  1663. steps:
  1664. - name: submodules
  1665. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1666. commands:
  1667. - git submodule update --init
  1668. - name: acceptance-app-files-tags
  1669. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1670. commands:
  1671. - 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
  1672. services:
  1673. - name: selenium
  1674. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1675. environment:
  1676. # Reduce default log level for Selenium server (INFO) as it is too
  1677. # verbose.
  1678. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1679. trigger:
  1680. branch:
  1681. - master
  1682. - stable*
  1683. event:
  1684. - pull_request
  1685. - push
  1686. ---
  1687. kind: pipeline
  1688. name: acceptance-app-theming
  1689. steps:
  1690. - name: submodules
  1691. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1692. commands:
  1693. - git submodule update --init
  1694. - name: acceptance-app-theming
  1695. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1696. commands:
  1697. - 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
  1698. services:
  1699. - name: selenium
  1700. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1701. environment:
  1702. # Reduce default log level for Selenium server (INFO) as it is too
  1703. # verbose.
  1704. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1705. trigger:
  1706. branch:
  1707. - master
  1708. - stable*
  1709. event:
  1710. - pull_request
  1711. - push
  1712. ---
  1713. kind: pipeline
  1714. name: acceptance-header
  1715. steps:
  1716. - name: submodules
  1717. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1718. commands:
  1719. - git submodule update --init
  1720. - name: acceptance-header
  1721. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1722. commands:
  1723. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1724. services:
  1725. - name: selenium
  1726. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1727. environment:
  1728. # Reduce default log level for Selenium server (INFO) as it is too
  1729. # verbose.
  1730. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1731. trigger:
  1732. branch:
  1733. - master
  1734. - stable*
  1735. event:
  1736. - pull_request
  1737. - push
  1738. ---
  1739. kind: pipeline
  1740. name: acceptance-login
  1741. steps:
  1742. - name: submodules
  1743. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1744. commands:
  1745. - git submodule update --init
  1746. - name: acceptance-login
  1747. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1748. commands:
  1749. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1750. services:
  1751. - name: selenium
  1752. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1753. environment:
  1754. # Reduce default log level for Selenium server (INFO) as it is too
  1755. # verbose.
  1756. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1757. trigger:
  1758. branch:
  1759. - master
  1760. - stable*
  1761. event:
  1762. - pull_request
  1763. - push
  1764. ---
  1765. kind: pipeline
  1766. name: acceptance-users
  1767. steps:
  1768. - name: submodules
  1769. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1770. commands:
  1771. - git submodule update --init
  1772. - name: acceptance-users
  1773. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1774. commands:
  1775. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1776. services:
  1777. - name: selenium
  1778. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1779. environment:
  1780. # Reduce default log level for Selenium server (INFO) as it is too
  1781. # verbose.
  1782. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1783. trigger:
  1784. branch:
  1785. - master
  1786. - stable*
  1787. event:
  1788. - pull_request
  1789. - push
  1790. ---
  1791. kind: pipeline
  1792. name: acceptance-apps
  1793. steps:
  1794. - name: submodules
  1795. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1796. commands:
  1797. - git submodule update --init
  1798. - name: acceptance-apps
  1799. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.3:acceptance-php7.3-3
  1800. commands:
  1801. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1802. services:
  1803. - name: selenium
  1804. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1805. environment:
  1806. # Reduce default log level for Selenium server (INFO) as it is too
  1807. # verbose.
  1808. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1809. trigger:
  1810. branch:
  1811. - master
  1812. - stable*
  1813. event:
  1814. - pull_request
  1815. - push
  1816. ---
  1817. kind: pipeline
  1818. name: nodb-codecov
  1819. steps:
  1820. - name: submodules
  1821. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1822. commands:
  1823. - git submodule update --init
  1824. - name: nodb-codecov
  1825. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  1826. environment:
  1827. CODECOV_TOKEN:
  1828. from_secret: CODECOV_TOKEN
  1829. XDEBUG_MODE: coverage
  1830. commands:
  1831. - phpenmod xdebug
  1832. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1833. - wget https://codecov.io/bash -O codecov.sh
  1834. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1835. services:
  1836. - name: cache
  1837. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1838. trigger:
  1839. branch:
  1840. - master
  1841. - stable*
  1842. event:
  1843. - push
  1844. ---
  1845. kind: pipeline
  1846. name: db-codecov
  1847. steps:
  1848. - name: submodules
  1849. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1850. commands:
  1851. - git submodule update --init
  1852. - name: db-codecov
  1853. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  1854. environment:
  1855. CODECOV_TOKEN:
  1856. from_secret: CODECOV_TOKEN
  1857. XDEBUG_MODE: coverage
  1858. commands:
  1859. - phpenmod xdebug
  1860. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1861. - wget https://codecov.io/bash -O codecov.sh
  1862. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1863. services:
  1864. - name: cache
  1865. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1866. trigger:
  1867. branch:
  1868. - master
  1869. - stable*
  1870. event:
  1871. - push
  1872. ---
  1873. kind: pipeline
  1874. name: object-store-s3
  1875. steps:
  1876. - name: submodules
  1877. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1878. commands:
  1879. - git submodule update --init
  1880. - name: object-store
  1881. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  1882. environment:
  1883. CODECOV_TOKEN:
  1884. from_secret: CODECOV_TOKEN
  1885. commands:
  1886. - phpenmod xdebug
  1887. - ./tests/drone-wait-objectstore.sh
  1888. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1889. - wget https://codecov.io/bash -O codecov.sh
  1890. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1891. services:
  1892. - name: fake-s3
  1893. image: ghcr.io/nextcloud/continuous-integration-fake-s3:latest
  1894. trigger:
  1895. branch:
  1896. - master
  1897. - stable*
  1898. event:
  1899. - pull_request
  1900. - push
  1901. ---
  1902. kind: pipeline
  1903. name: object-store-azure
  1904. steps:
  1905. - name: submodules
  1906. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1907. commands:
  1908. - git submodule update --init
  1909. - name: object-store
  1910. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  1911. environment:
  1912. CODECOV_TOKEN:
  1913. from_secret: CODECOV_TOKEN
  1914. commands:
  1915. - phpenmod xdebug
  1916. - ./tests/drone-wait-objectstore.sh
  1917. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1918. - wget https://codecov.io/bash -O codecov.sh
  1919. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1920. services:
  1921. - name: azurite
  1922. image: ghcr.io/nextcloud/continuous-integration-azurite:latest
  1923. environment:
  1924. executable: blob
  1925. trigger:
  1926. branch:
  1927. - master
  1928. - stable*
  1929. event:
  1930. - pull_request
  1931. - push
  1932. ---
  1933. #kind: pipeline
  1934. #name: object-store-swift-v2
  1935. #
  1936. #clone:
  1937. # depth: 1
  1938. #
  1939. #steps:
  1940. #- name: submodules
  1941. # image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1942. # commands:
  1943. # - git submodule update --init
  1944. #- name: object-store
  1945. # image: nextcloudci/php7.1:php7.1-16
  1946. # commands:
  1947. # - phpenmod xdebug
  1948. # - ./tests/drone-wait-objectstore.sh
  1949. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  1950. # - wget https://codecov.io/bash -O codecov.sh
  1951. # - 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"
  1952. # - 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"
  1953. #
  1954. #services:
  1955. #- name: dockswift
  1956. # image: icewind1991/dockswift:nextcloud-ci
  1957. # environment:
  1958. # IPADDRESS: dockswift
  1959. #
  1960. #trigger:
  1961. # branch:
  1962. # - master
  1963. # - stable*
  1964. # event:
  1965. # - pull_request
  1966. # - push
  1967. #
  1968. #---
  1969. #kind: pipeline
  1970. #name: object-store-swift-v3
  1971. #
  1972. #clone:
  1973. # depth: 1
  1974. #
  1975. #steps:
  1976. #- name: submodules
  1977. # image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1978. # commands:
  1979. # - git submodule update --init
  1980. #- name: object-store
  1981. # image: nextcloudci/php7.1:php7.1-16
  1982. # commands:
  1983. # - phpenmod xdebug
  1984. # - ./tests/drone-wait-objectstore.sh
  1985. # - TEST_SELECTION=PRIMARY-${OBJECT_STORE} ./autotest.sh sqlite
  1986. # - wget https://codecov.io/bash -O codecov.sh
  1987. # - 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"
  1988. # - 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"
  1989. #
  1990. #services:
  1991. #- name: dockswift
  1992. # image: icewind1991/dockswift:nextcloud-ci
  1993. # environment:
  1994. # IPADDRESS: dockswift
  1995. #
  1996. #trigger:
  1997. # branch:
  1998. # - master
  1999. # - stable*
  2000. # event:
  2001. # - pull_request
  2002. # - push
  2003. #
  2004. #---
  2005. kind: pipeline
  2006. name: memcache-memcached
  2007. steps:
  2008. - name: submodules
  2009. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  2010. commands:
  2011. - git submodule update --init
  2012. - name: memcache-memcached
  2013. image: nextcloudci/php7.3-memcached:php7.3-memcached-3
  2014. commands:
  2015. - phpenmod xdebug
  2016. - service memcached restart
  2017. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  2018. - wget https://codecov.io/bash -O codecov.sh
  2019. - 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"
  2020. - 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"
  2021. trigger:
  2022. branch:
  2023. - master
  2024. - stable*
  2025. event:
  2026. - pull_request
  2027. - push
  2028. #---
  2029. #kind: pipeline
  2030. #name: memcache-redis-cluster
  2031. #
  2032. #steps:
  2033. #- name: submodules
  2034. # image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  2035. # commands:
  2036. # - git submodule update --init
  2037. #- name: memcache-redis-cluster
  2038. # image: ghcr.io/nextcloud/continuous-integration-php7.3:php7.3-6
  2039. # commands:
  2040. # - phpenmod xdebug
  2041. # - sleep 20
  2042. # - ENABLE_REDIS_CLUSTER=true ./autotest.sh sqlite tests/lib/Memcache/RedisTest.php
  2043. # - wget https://codecov.io/bash -O codecov.sh
  2044. # - 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"
  2045. # - 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"
  2046. #
  2047. #services:
  2048. #- name: cache-cluster
  2049. # image: morrisjobke/redis-cluster
  2050. #
  2051. #trigger:
  2052. # branch:
  2053. # - master
  2054. # - stable*
  2055. # event:
  2056. # - pull_request
  2057. # - push