1
0

.drone.yml 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002
  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-integration-php7.4: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: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  26. commands:
  27. - git submodule update --init
  28. - name: litmus-v1
  29. image: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  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: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  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: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  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: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  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: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  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: ghcr.io/nextcloud/continuous-integration-litmus-php7.4:latest
  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.4-samba-native
  138. image: ghcr.io/nextcloud/continuous-integration-samba-native-php7.4:latest
  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. # Temporarily disabled because it times out for unknown reasons 98% of the time
  148. #- name: sqlite-php7.4-samba-non-native
  149. # image: ghcr.io/nextcloud/continuous-integration-samba-non-native-php7.4:latest
  150. # commands:
  151. # - smbd -D -FS &
  152. # - ./autotest-external.sh sqlite smb-linux
  153. # - wget https://codecov.io/bash -O codecov.sh
  154. # - 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"
  155. # - 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"
  156. # - 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"
  157. # - 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"
  158. trigger:
  159. branch:
  160. - master
  161. - stable*
  162. event:
  163. - pull_request
  164. - push
  165. ---
  166. kind: pipeline
  167. name: sqlite-php7.4-webdav-apache
  168. steps:
  169. - name: submodules
  170. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  171. commands:
  172. - git submodule update --init
  173. - name: sqlite-php7.4-webdav-apache
  174. image: ghcr.io/nextcloud/continuous-integration-webdav-apache-php7.4:latest
  175. commands:
  176. - apache2ctl start
  177. - ./autotest-external.sh sqlite webdav-apachedrone
  178. - wget https://codecov.io/bash -O codecov.sh
  179. - 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"
  180. - 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"
  181. - 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"
  182. - 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"
  183. services:
  184. - name: cache
  185. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  186. trigger:
  187. branch:
  188. - master
  189. - stable*
  190. event:
  191. - pull_request
  192. - push
  193. ---
  194. kind: pipeline
  195. name: nodb
  196. steps:
  197. - name: submodules
  198. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  199. commands:
  200. - git submodule update --init
  201. - name: nodb-php7.4
  202. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  203. commands:
  204. - bash tests/drone-run-php-tests.sh || exit 0
  205. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  206. - name: nodb-php8.0
  207. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  208. commands:
  209. - bash tests/drone-run-php-tests.sh || exit 0
  210. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  211. services:
  212. - name: cache
  213. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  214. trigger:
  215. branch:
  216. - master
  217. - stable*
  218. event:
  219. - pull_request
  220. - push
  221. ---
  222. kind: pipeline
  223. name: sqlite
  224. steps:
  225. - name: submodules
  226. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  227. commands:
  228. - git submodule update --init
  229. - name: sqlite-php7.4
  230. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  231. commands:
  232. - bash tests/drone-run-php-tests.sh || exit 0
  233. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  234. - name: sqlite-php8.0
  235. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  236. commands:
  237. - bash tests/drone-run-php-tests.sh || exit 0
  238. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  239. services:
  240. - name: cache
  241. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  242. trigger:
  243. branch:
  244. - master
  245. - stable*
  246. event:
  247. - pull_request
  248. - push
  249. ---
  250. kind: pipeline
  251. name: mariadb10.2-php7.4
  252. steps:
  253. - name: submodules
  254. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  255. commands:
  256. - git submodule update --init
  257. - name: mariadb10.2-php7.4
  258. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  259. commands:
  260. - bash tests/drone-run-php-tests.sh || exit 0
  261. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  262. services:
  263. - name: cache
  264. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  265. - name: mariadb
  266. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.2:10.2
  267. environment:
  268. MYSQL_ROOT_PASSWORD: owncloud
  269. MYSQL_USER: oc_autotest
  270. MYSQL_PASSWORD: owncloud
  271. MYSQL_DATABASE: oc_autotest
  272. command:
  273. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  274. tmpfs:
  275. - /var/lib/mysql
  276. trigger:
  277. branch:
  278. - master
  279. - stable*
  280. event:
  281. - pull_request
  282. - push
  283. ---
  284. kind: pipeline
  285. name: mariadb10.4-php8.0
  286. steps:
  287. - name: submodules
  288. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  289. commands:
  290. - git submodule update --init
  291. - name: mariadb10.4-php8.0
  292. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  293. commands:
  294. - bash tests/drone-run-php-tests.sh || exit 0
  295. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  296. services:
  297. - name: cache
  298. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  299. - name: mariadb
  300. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4
  301. environment:
  302. MYSQL_ROOT_PASSWORD: owncloud
  303. MYSQL_USER: oc_autotest
  304. MYSQL_PASSWORD: owncloud
  305. MYSQL_DATABASE: oc_autotest
  306. command:
  307. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  308. tmpfs:
  309. - /var/lib/mysql
  310. trigger:
  311. branch:
  312. - master
  313. - stable*
  314. event:
  315. - pull_request
  316. - push
  317. ---
  318. kind: pipeline
  319. name: mariadb10.6-php8.0
  320. steps:
  321. - name: submodules
  322. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  323. commands:
  324. - git submodule update --init
  325. - name: mariadb10.6-php8.0
  326. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  327. commands:
  328. - bash tests/drone-run-php-tests.sh || exit 0
  329. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  330. services:
  331. - name: cache
  332. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  333. - name: mariadb
  334. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.6:latest
  335. environment:
  336. MYSQL_ROOT_PASSWORD: owncloud
  337. MYSQL_USER: oc_autotest
  338. MYSQL_PASSWORD: owncloud
  339. MYSQL_DATABASE: oc_autotest
  340. command:
  341. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  342. tmpfs:
  343. - /var/lib/mysql
  344. trigger:
  345. branch:
  346. - master
  347. - stable*
  348. event:
  349. - pull_request
  350. - push
  351. ---
  352. kind: pipeline
  353. name: mysql8.0-php7.4
  354. steps:
  355. - name: submodules
  356. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  357. commands:
  358. - git submodule update --init
  359. - name: mysql-php7.4
  360. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  361. commands:
  362. - bash tests/drone-run-php-tests.sh || exit 0
  363. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  364. services:
  365. - name: cache
  366. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  367. - name: mysql
  368. image: ghcr.io/nextcloud/continuous-integration-mysql-8.0:mysql-8.0
  369. command:
  370. - --default-authentication-plugin=mysql_native_password
  371. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  372. environment:
  373. MYSQL_ROOT_PASSWORD: owncloud
  374. MYSQL_USER: oc_autotest
  375. MYSQL_PASSWORD: owncloud
  376. MYSQL_DATABASE: oc_autotest
  377. tmpfs:
  378. - /var/lib/mysql
  379. trigger:
  380. branch:
  381. - master
  382. - stable*
  383. event:
  384. - pull_request
  385. - push
  386. ---
  387. kind: pipeline
  388. name: postgres10-php7.4
  389. steps:
  390. - name: submodules
  391. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  392. commands:
  393. - git submodule update --init
  394. - name: postgres-php7.4
  395. image: ghcr.io/nextcloud/continuous-integration-php7.4:php7.4-3
  396. commands:
  397. - bash tests/drone-run-php-tests.sh || exit 0
  398. - sleep 10 # gives the database enough time to initialize
  399. - POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  400. services:
  401. - name: cache
  402. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  403. - name: postgres-10
  404. image: ghcr.io/nextcloud/continuous-integration-postgres-10:postgres-10
  405. environment:
  406. POSTGRES_USER: oc_autotest
  407. POSTGRES_DB: oc_autotest
  408. POSTGRES_PASSWORD: owncloud
  409. tmpfs:
  410. - /var/lib/postgresql/data
  411. trigger:
  412. branch:
  413. - master
  414. - stable*
  415. event:
  416. - pull_request
  417. - push
  418. ---
  419. kind: pipeline
  420. name: postgres11-php7.4
  421. steps:
  422. - name: submodules
  423. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  424. commands:
  425. - git submodule update --init
  426. - name: postgres-php7.4
  427. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  428. commands:
  429. - bash tests/drone-run-php-tests.sh || exit 0
  430. - sleep 10 # gives the database enough time to initialize
  431. - POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  432. services:
  433. - name: cache
  434. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  435. - name: postgres-11
  436. image: ghcr.io/nextcloud/continuous-integration-postgres-11:postgres-11
  437. environment:
  438. POSTGRES_USER: oc_autotest
  439. POSTGRES_DB: oc_autotest
  440. POSTGRES_PASSWORD: owncloud
  441. tmpfs:
  442. - /var/lib/postgresql/data
  443. trigger:
  444. branch:
  445. - master
  446. - stable*
  447. event:
  448. - pull_request
  449. - push
  450. ---
  451. kind: pipeline
  452. name: postgres13-php8.0
  453. steps:
  454. - name: submodules
  455. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  456. commands:
  457. - git submodule update --init
  458. - name: postgres-php8.0
  459. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  460. commands:
  461. - bash tests/drone-run-php-tests.sh || exit 0
  462. - sleep 10 # gives the database enough time to initialize
  463. - POSTGRES=13 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  464. services:
  465. - name: cache
  466. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  467. - name: postgres-13
  468. image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
  469. environment:
  470. POSTGRES_USER: oc_autotest
  471. POSTGRES_DB: oc_autotest
  472. POSTGRES_PASSWORD: owncloud
  473. tmpfs:
  474. - /var/lib/postgresql/data
  475. trigger:
  476. branch:
  477. - master
  478. - stable*
  479. event:
  480. - pull_request
  481. - push
  482. ---
  483. kind: pipeline
  484. name: postgres15-php8.0
  485. steps:
  486. - name: submodules
  487. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  488. commands:
  489. - git submodule update --init
  490. - name: postgres-php8.0
  491. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  492. commands:
  493. - bash tests/drone-run-php-tests.sh || exit 0
  494. - sleep 10 # gives the database enough time to initialize
  495. - POSTGRES=15 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  496. services:
  497. - name: cache
  498. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  499. - name: postgres-15
  500. image: ghcr.io/nextcloud/continuous-integration-postgres-15:latest
  501. environment:
  502. POSTGRES_USER: oc_autotest
  503. POSTGRES_DB: oc_autotest
  504. POSTGRES_PASSWORD: owncloud
  505. tmpfs:
  506. - /var/lib/postgresql/data
  507. trigger:
  508. branch:
  509. - master
  510. - stable*
  511. event:
  512. - pull_request
  513. - push
  514. ---
  515. kind: pipeline
  516. name: integration-capabilities_features
  517. steps:
  518. - name: submodules
  519. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  520. commands:
  521. - git submodule update --init
  522. - name: integration-capabilities_features
  523. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  524. commands:
  525. - bash tests/drone-run-integration-tests.sh || exit 0
  526. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  527. - cd build/integration
  528. - ./run.sh capabilities_features/capabilities.feature
  529. trigger:
  530. branch:
  531. - master
  532. - stable*
  533. event:
  534. - pull_request
  535. - push
  536. ---
  537. kind: pipeline
  538. name: integration-collaboration_features
  539. steps:
  540. - name: submodules
  541. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  542. commands:
  543. - git submodule update --init
  544. - name: integration-collaboration_features
  545. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  546. commands:
  547. - bash tests/drone-run-integration-tests.sh || exit 0
  548. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  549. - cd build/integration
  550. - ./run.sh collaboration_features/
  551. trigger:
  552. branch:
  553. - master
  554. - stable*
  555. event:
  556. - pull_request
  557. - push
  558. ---
  559. kind: pipeline
  560. name: integration-federation_features
  561. steps:
  562. - name: submodules
  563. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  564. commands:
  565. - git submodule update --init
  566. - name: integration-federation_features
  567. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  568. commands:
  569. - bash tests/drone-run-integration-tests.sh || exit 0
  570. - ./occ maintenance:install --admin-pass=admin
  571. - cd build/integration
  572. - ./run.sh federation_features/
  573. trigger:
  574. branch:
  575. - master
  576. - stable*
  577. event:
  578. - pull_request
  579. - push
  580. ---
  581. kind: pipeline
  582. name: integration-auth
  583. steps:
  584. - name: submodules
  585. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  586. commands:
  587. - git submodule update --init
  588. - name: integration-auth
  589. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  590. commands:
  591. - bash tests/drone-run-integration-tests.sh || exit 0
  592. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  593. - cd build/integration
  594. - ./run.sh features/auth.feature
  595. trigger:
  596. branch:
  597. - master
  598. - stable*
  599. event:
  600. - pull_request
  601. - push
  602. ---
  603. kind: pipeline
  604. name: integration-avatar
  605. steps:
  606. - name: submodules
  607. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  608. commands:
  609. - git submodule update --init
  610. - name: integration-avatar
  611. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  612. commands:
  613. - bash tests/drone-run-integration-tests.sh || exit 0
  614. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  615. - cd build/integration
  616. - ./run.sh features/avatar.feature
  617. trigger:
  618. branch:
  619. - master
  620. - stable*
  621. event:
  622. - pull_request
  623. - push
  624. ---
  625. kind: pipeline
  626. name: integration-maintenance-mode
  627. steps:
  628. - name: submodules
  629. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  630. commands:
  631. - git submodule update --init
  632. - name: integration-maintenance-mode
  633. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  634. commands:
  635. - bash tests/drone-run-integration-tests.sh || exit 0
  636. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  637. - cd build/integration
  638. - ./run.sh features/maintenance-mode.feature
  639. trigger:
  640. branch:
  641. - master
  642. - stable*
  643. event:
  644. - pull_request
  645. - push
  646. ---
  647. kind: pipeline
  648. name: integration-ratelimiting
  649. steps:
  650. - name: submodules
  651. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  652. commands:
  653. - git submodule update --init
  654. - name: integration-ratelimiting
  655. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  656. commands:
  657. - bash tests/drone-run-integration-tests.sh || exit 0
  658. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  659. - ./occ config:system:set redis host --value=cache
  660. - ./occ config:system:set redis port --value=6379 --type=integer
  661. - ./occ config:system:set redis timeout --value=0 --type=integer
  662. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  663. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  664. - ./occ app:enable testing
  665. - cd build/integration
  666. - ./run.sh features/ratelimiting.feature
  667. services:
  668. - name: cache
  669. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  670. trigger:
  671. branch:
  672. - master
  673. - stable*
  674. event:
  675. - pull_request
  676. - push
  677. ---
  678. kind: pipeline
  679. name: integration-carddav
  680. steps:
  681. - name: submodules
  682. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  683. commands:
  684. - git submodule update --init
  685. - name: integration-carddav
  686. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  687. commands:
  688. - bash tests/drone-run-integration-tests.sh || exit 0
  689. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  690. - cd build/integration
  691. - ./run.sh features/carddav.feature
  692. trigger:
  693. branch:
  694. - master
  695. - stable*
  696. event:
  697. - pull_request
  698. - push
  699. ---
  700. kind: pipeline
  701. name: integration-dav-v2
  702. steps:
  703. - name: submodules
  704. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  705. commands:
  706. - git submodule update --init
  707. - name: integration-dav-v2
  708. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  709. commands:
  710. - bash tests/drone-run-integration-tests.sh || exit 0
  711. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  712. - cd build/integration
  713. - ./run.sh features/dav-v2.feature
  714. trigger:
  715. branch:
  716. - master
  717. - stable*
  718. event:
  719. - pull_request
  720. - push
  721. ---
  722. kind: pipeline
  723. name: integration-ocs-v1
  724. steps:
  725. - name: submodules
  726. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  727. commands:
  728. - git submodule update --init
  729. - name: integration-ocs-v1
  730. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  731. commands:
  732. - bash tests/drone-run-integration-tests.sh || exit 0
  733. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  734. - cd build/integration
  735. - ./run.sh features/ocs-v1.feature
  736. trigger:
  737. branch:
  738. - master
  739. - stable*
  740. event:
  741. - pull_request
  742. - push
  743. ---
  744. kind: pipeline
  745. name: integration-checksums-v1
  746. steps:
  747. - name: submodules
  748. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  749. commands:
  750. - git submodule update --init
  751. - name: integration-checksums-v1
  752. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  753. commands:
  754. - bash tests/drone-run-integration-tests.sh || exit 0
  755. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  756. - cd build/integration
  757. - ./run.sh features/checksums.feature
  758. trigger:
  759. branch:
  760. - master
  761. - stable*
  762. event:
  763. - pull_request
  764. - push
  765. ---
  766. kind: pipeline
  767. name: integration-external-storage
  768. steps:
  769. - name: submodules
  770. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  771. commands:
  772. - git submodule update --init
  773. - name: integration-external-storage
  774. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  775. commands:
  776. - bash tests/drone-run-integration-tests.sh || exit 0
  777. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  778. - cd build/integration
  779. - ./run.sh features/external-storage.feature
  780. trigger:
  781. branch:
  782. - master
  783. - stable*
  784. event:
  785. - pull_request
  786. - push
  787. ---
  788. kind: pipeline
  789. name: integration-provisioning-v1
  790. steps:
  791. - name: submodules
  792. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  793. commands:
  794. - git submodule update --init
  795. - name: integration-provisioning-v1
  796. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  797. commands:
  798. - bash tests/drone-run-integration-tests.sh || exit 0
  799. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  800. - cd build/integration
  801. - ./run.sh features/provisioning-v1.feature
  802. trigger:
  803. branch:
  804. - master
  805. - stable*
  806. event:
  807. - pull_request
  808. - push
  809. ---
  810. kind: pipeline
  811. name: integration-tags
  812. steps:
  813. - name: submodules
  814. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  815. commands:
  816. - git submodule update --init
  817. - name: integration-tags
  818. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  819. commands:
  820. - bash tests/drone-run-integration-tests.sh || exit 0
  821. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  822. - cd build/integration
  823. - ./run.sh features/tags.feature
  824. trigger:
  825. branch:
  826. - master
  827. - stable*
  828. event:
  829. - pull_request
  830. - push
  831. ---
  832. kind: pipeline
  833. name: integration-caldav
  834. steps:
  835. - name: submodules
  836. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  837. commands:
  838. - git submodule update --init
  839. - name: integration-caldav
  840. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  841. commands:
  842. - bash tests/drone-run-integration-tests.sh || exit 0
  843. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  844. - cd build/integration
  845. - ./run.sh features/caldav.feature
  846. trigger:
  847. branch:
  848. - master
  849. - stable*
  850. event:
  851. - pull_request
  852. - push
  853. ---
  854. kind: pipeline
  855. name: integration-comments
  856. steps:
  857. - name: submodules
  858. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  859. commands:
  860. - git submodule update --init
  861. - name: integration-comments
  862. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  863. commands:
  864. - bash tests/drone-run-integration-tests.sh || exit 0
  865. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  866. - cd build/integration
  867. - ./run.sh features/comments.feature
  868. trigger:
  869. branch:
  870. - master
  871. - stable*
  872. event:
  873. - pull_request
  874. - push
  875. ---
  876. kind: pipeline
  877. name: integration-comments-search
  878. steps:
  879. - name: submodules
  880. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  881. commands:
  882. - git submodule update --init
  883. - name: integration-comments-search
  884. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  885. commands:
  886. - bash tests/drone-run-integration-tests.sh || exit 0
  887. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  888. - cd build/integration
  889. - ./run.sh features/comments-search.feature
  890. trigger:
  891. branch:
  892. - master
  893. - stable*
  894. event:
  895. - pull_request
  896. - push
  897. ---
  898. kind: pipeline
  899. name: integration-contacts-menu
  900. steps:
  901. - name: submodules
  902. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  903. commands:
  904. - git submodule update --init
  905. - name: integration-contacts-menu
  906. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  907. commands:
  908. - bash tests/drone-run-integration-tests.sh || exit 0
  909. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  910. - cd build/integration
  911. - ./run.sh features/contacts-menu.feature
  912. trigger:
  913. branch:
  914. - master
  915. - stable*
  916. event:
  917. - pull_request
  918. - push
  919. ---
  920. kind: pipeline
  921. name: integration-favorites
  922. steps:
  923. - name: submodules
  924. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  925. commands:
  926. - git submodule update --init
  927. - name: integration-favorites
  928. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  929. commands:
  930. - bash tests/drone-run-integration-tests.sh || exit 0
  931. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  932. - cd build/integration
  933. - ./run.sh features/favorites.feature
  934. trigger:
  935. branch:
  936. - master
  937. - stable*
  938. event:
  939. - pull_request
  940. - push
  941. ---
  942. kind: pipeline
  943. name: integration-provisioning-v2
  944. steps:
  945. - name: submodules
  946. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  947. commands:
  948. - git submodule update --init
  949. - name: integration-provisioning-v2
  950. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  951. commands:
  952. - bash tests/drone-run-integration-tests.sh || exit 0
  953. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  954. - cd build/integration
  955. - ./run.sh features/provisioning-v2.feature
  956. trigger:
  957. branch:
  958. - master
  959. - stable*
  960. event:
  961. - pull_request
  962. - push
  963. ---
  964. kind: pipeline
  965. name: integration-webdav-related
  966. steps:
  967. - name: submodules
  968. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  969. commands:
  970. - git submodule update --init
  971. - name: integration-webdav-related
  972. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  973. commands:
  974. - bash tests/drone-run-integration-tests.sh || exit 0
  975. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  976. - cd build/integration
  977. - ./run.sh features/webdav-related.feature
  978. trigger:
  979. branch:
  980. - master
  981. - stable*
  982. event:
  983. - pull_request
  984. - push
  985. ---
  986. kind: pipeline
  987. name: integration-sharees-features
  988. steps:
  989. - name: submodules
  990. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  991. commands:
  992. - git submodule update --init
  993. - name: integration-sharees-features
  994. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  995. commands:
  996. - bash tests/drone-run-integration-tests.sh || exit 0
  997. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  998. - cd build/integration
  999. - ./run.sh sharees_features/sharees.feature
  1000. trigger:
  1001. branch:
  1002. - master
  1003. - stable*
  1004. event:
  1005. - pull_request
  1006. - push
  1007. ---
  1008. kind: pipeline
  1009. name: integration-sharees-v2-features
  1010. steps:
  1011. - name: submodules
  1012. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1013. commands:
  1014. - git submodule update --init
  1015. - name: integration-sharees-v2-features
  1016. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1017. commands:
  1018. - bash tests/drone-run-integration-tests.sh || exit 0
  1019. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1020. - cd build/integration
  1021. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  1022. trigger:
  1023. branch:
  1024. - master
  1025. - stable*
  1026. event:
  1027. - pull_request
  1028. - push
  1029. ---
  1030. kind: pipeline
  1031. name: integration-sharing-v1
  1032. steps:
  1033. - name: submodules
  1034. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1035. commands:
  1036. - git submodule update --init
  1037. - name: integration-sharing-v1
  1038. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1039. commands:
  1040. - bash tests/drone-run-integration-tests.sh || exit 0
  1041. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1042. - cd build/integration
  1043. - ./run.sh sharing_features/sharing-v1.feature
  1044. trigger:
  1045. branch:
  1046. - master
  1047. - stable*
  1048. event:
  1049. - pull_request
  1050. - push
  1051. ---
  1052. kind: pipeline
  1053. name: integration-sharing-v1-part2
  1054. steps:
  1055. - name: submodules
  1056. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1057. commands:
  1058. - git submodule update --init
  1059. - name: integration-sharing-v1-part2
  1060. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1061. commands:
  1062. - bash tests/drone-run-integration-tests.sh || exit 0
  1063. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1064. - cd build/integration
  1065. - ./run.sh sharing_features/sharing-v1-part2.feature
  1066. trigger:
  1067. branch:
  1068. - master
  1069. - stable*
  1070. event:
  1071. - pull_request
  1072. - push
  1073. ---
  1074. kind: pipeline
  1075. name: integration-sharing-v1-part3
  1076. steps:
  1077. - name: submodules
  1078. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1079. commands:
  1080. - git submodule update --init
  1081. - name: integration-sharing-v1-part3
  1082. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1083. commands:
  1084. - bash tests/drone-run-integration-tests.sh || exit 0
  1085. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1086. - cd build/integration
  1087. - ./run.sh sharing_features/sharing-v1-part3.feature
  1088. trigger:
  1089. branch:
  1090. - master
  1091. - stable*
  1092. event:
  1093. - pull_request
  1094. - push
  1095. ---
  1096. kind: pipeline
  1097. name: integration-sharing-v1-video-verification
  1098. steps:
  1099. - name: submodules
  1100. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1101. commands:
  1102. - git submodule update --init
  1103. - name: install-talk
  1104. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1105. commands:
  1106. # JavaScript files are not used in integration tests so it is not needed to
  1107. # build them.
  1108. - git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
  1109. - name: integration-sharing-v1-video-verification
  1110. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  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 sharing_features/sharing-v1-video-verification.feature
  1116. trigger:
  1117. branch:
  1118. - master
  1119. - stable*
  1120. event:
  1121. - pull_request
  1122. - push
  1123. ---
  1124. kind: pipeline
  1125. name: integration-setup-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-setup-features
  1132. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1133. commands:
  1134. - bash tests/drone-run-integration-tests.sh || exit 0
  1135. - cd build/integration
  1136. - ./run.sh setup_features/setup.feature
  1137. trigger:
  1138. branch:
  1139. - master
  1140. - stable*
  1141. event:
  1142. - pull_request
  1143. - push
  1144. ---
  1145. kind: pipeline
  1146. name: integration-filesdrop-features
  1147. steps:
  1148. - name: submodules
  1149. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1150. commands:
  1151. - git submodule update --init
  1152. - name: integration-filesdrop-features
  1153. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1154. commands:
  1155. - bash tests/drone-run-integration-tests.sh || exit 0
  1156. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1157. - cd build/integration
  1158. - ./run.sh filesdrop_features/filesdrop.feature
  1159. trigger:
  1160. branch:
  1161. - master
  1162. - stable*
  1163. event:
  1164. - pull_request
  1165. - push
  1166. ---
  1167. kind: pipeline
  1168. name: integration-transfer-ownership-features
  1169. steps:
  1170. - name: submodules
  1171. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1172. commands:
  1173. - git submodule update --init
  1174. - name: integration-transfer-ownership-features
  1175. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1176. commands:
  1177. - bash tests/drone-run-integration-tests.sh || exit 0
  1178. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1179. - cd build/integration
  1180. - ./run.sh features/transfer-ownership.feature
  1181. trigger:
  1182. branch:
  1183. - master
  1184. - stable*
  1185. event:
  1186. - pull_request
  1187. - push
  1188. ---
  1189. kind: pipeline
  1190. name: integration-ldap-features
  1191. steps:
  1192. - name: submodules
  1193. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1194. commands:
  1195. - git submodule update --init
  1196. - name: integration-ldap-features
  1197. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1198. commands:
  1199. - bash tests/drone-run-integration-tests.sh || exit 0
  1200. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1201. - cd build/integration
  1202. - ./run.sh ldap_features/ldap-ocs.feature
  1203. trigger:
  1204. branch:
  1205. - master
  1206. - stable*
  1207. event:
  1208. - pull_request
  1209. - push
  1210. ---
  1211. kind: pipeline
  1212. name: integration-ldap-openldap-features
  1213. steps:
  1214. - name: submodules
  1215. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1216. commands:
  1217. - git submodule update --init
  1218. - name: integration-ldap-openldap-features
  1219. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1220. commands:
  1221. - bash tests/drone-run-integration-tests.sh || exit 0
  1222. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1223. - ./occ config:system:set redis host --value=cache
  1224. - ./occ config:system:set redis port --value=6379 --type=integer
  1225. - ./occ config:system:set redis timeout --value=0 --type=integer
  1226. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1227. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1228. - cd build/integration
  1229. - ./run.sh ldap_features/ldap-openldap.feature
  1230. services:
  1231. - name: cache
  1232. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1233. - name: openldap
  1234. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1235. environment:
  1236. SLAPD_DOMAIN: nextcloud.ci
  1237. SLAPD_ORGANIZATION: Nextcloud
  1238. SLAPD_PASSWORD: admin
  1239. SLAPD_ADDITIONAL_MODULES: memberof
  1240. trigger:
  1241. branch:
  1242. - master
  1243. - stable*
  1244. event:
  1245. - pull_request
  1246. - push
  1247. ---
  1248. kind: pipeline
  1249. name: integration-ldap-openldap-uid-features
  1250. steps:
  1251. - name: submodules
  1252. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1253. commands:
  1254. - git submodule update --init
  1255. - name: integration-ldap-openldap-uid-features
  1256. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1257. commands:
  1258. - bash tests/drone-run-integration-tests.sh || exit 0
  1259. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1260. - ./occ config:system:set redis host --value=cache
  1261. - ./occ config:system:set redis port --value=6379 --type=integer
  1262. - ./occ config:system:set redis timeout --value=0 --type=integer
  1263. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1264. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1265. - cd build/integration
  1266. - ./run.sh ldap_features/openldap-uid-username.feature
  1267. services:
  1268. - name: cache
  1269. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1270. - name: openldap
  1271. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1272. environment:
  1273. SLAPD_DOMAIN: nextcloud.ci
  1274. SLAPD_ORGANIZATION: Nextcloud
  1275. SLAPD_PASSWORD: admin
  1276. SLAPD_ADDITIONAL_MODULES: memberof
  1277. trigger:
  1278. branch:
  1279. - master
  1280. - stable*
  1281. event:
  1282. - pull_request
  1283. - push
  1284. type: docker
  1285. ---
  1286. kind: pipeline
  1287. name: integration-ldap-openldap-numerical-id-features
  1288. steps:
  1289. - name: submodules
  1290. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1291. commands:
  1292. - git submodule update --init
  1293. - name: integration-ldap-openldap-numerical-id-features
  1294. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1295. commands:
  1296. - bash tests/drone-run-integration-tests.sh || exit 0
  1297. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1298. - ./occ config:system:set redis host --value=cache
  1299. - ./occ config:system:set redis port --value=6379 --type=integer
  1300. - ./occ config:system:set redis timeout --value=0 --type=integer
  1301. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1302. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1303. - cd build/integration
  1304. - ./run.sh ldap_features/openldap-numerical-id.feature
  1305. services:
  1306. - name: cache
  1307. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1308. - name: openldap
  1309. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1310. environment:
  1311. SLAPD_DOMAIN: nextcloud.ci
  1312. SLAPD_ORGANIZATION: Nextcloud
  1313. SLAPD_PASSWORD: admin
  1314. SLAPD_ADDITIONAL_MODULES: memberof
  1315. trigger:
  1316. branch:
  1317. - master
  1318. - stable*
  1319. event:
  1320. - pull_request
  1321. - push
  1322. ---
  1323. kind: pipeline
  1324. name: integration-trashbin
  1325. steps:
  1326. - name: submodules
  1327. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1328. commands:
  1329. - git submodule update --init
  1330. - name: integration-trashbin
  1331. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1332. commands:
  1333. - bash tests/drone-run-integration-tests.sh || exit 0
  1334. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1335. - cd build/integration
  1336. - ./run.sh features/trashbin.feature
  1337. trigger:
  1338. branch:
  1339. - master
  1340. - stable*
  1341. event:
  1342. - pull_request
  1343. - push
  1344. ---
  1345. kind: pipeline
  1346. name: integration-remote-api
  1347. steps:
  1348. - name: submodules
  1349. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1350. commands:
  1351. - git submodule update --init
  1352. - name: integration-remote-api
  1353. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1354. commands:
  1355. - bash tests/drone-run-integration-tests.sh || exit 0
  1356. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1357. - cd build/integration
  1358. - ./run.sh remoteapi_features/remote.feature
  1359. trigger:
  1360. branch:
  1361. - master
  1362. - stable*
  1363. event:
  1364. - pull_request
  1365. - push
  1366. ---
  1367. kind: pipeline
  1368. name: integration-download
  1369. steps:
  1370. - name: submodules
  1371. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1372. commands:
  1373. - git submodule update --init
  1374. - name: integration-download
  1375. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1376. commands:
  1377. - bash tests/drone-run-integration-tests.sh || exit 0
  1378. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1379. - cd build/integration
  1380. - ./run.sh --tags ~@large features/download.feature
  1381. trigger:
  1382. branch:
  1383. - master
  1384. - stable*
  1385. event:
  1386. - pull_request
  1387. - push
  1388. ---
  1389. kind: pipeline
  1390. name: acceptance-access-levels
  1391. steps:
  1392. - name: submodules
  1393. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1394. commands:
  1395. - git submodule update --init
  1396. - name: acceptance-access-levels
  1397. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1398. commands:
  1399. - 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
  1400. services:
  1401. - name: selenium
  1402. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1403. environment:
  1404. # Reduce default log level for Selenium server (INFO) as it is too
  1405. # verbose.
  1406. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1407. trigger:
  1408. branch:
  1409. - master
  1410. - stable*
  1411. event:
  1412. - pull_request
  1413. - push
  1414. ---
  1415. kind: pipeline
  1416. name: acceptance-app-files
  1417. steps:
  1418. - name: submodules
  1419. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1420. commands:
  1421. - git submodule update --init
  1422. - name: acceptance-app-files
  1423. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1424. commands:
  1425. - 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
  1426. services:
  1427. - name: selenium
  1428. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1429. environment:
  1430. # Reduce default log level for Selenium server (INFO) as it is too
  1431. # verbose.
  1432. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1433. trigger:
  1434. branch:
  1435. - master
  1436. - stable*
  1437. event:
  1438. - pull_request
  1439. - push
  1440. ---
  1441. kind: pipeline
  1442. name: acceptance-app-files-sharing
  1443. steps:
  1444. - name: submodules
  1445. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1446. commands:
  1447. - git submodule update --init
  1448. - name: acceptance-app-files-sharing
  1449. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1450. commands:
  1451. - 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
  1452. services:
  1453. - name: selenium
  1454. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1455. environment:
  1456. # Reduce default log level for Selenium server (INFO) as it is too
  1457. # verbose.
  1458. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1459. trigger:
  1460. branch:
  1461. - master
  1462. - stable*
  1463. event:
  1464. - pull_request
  1465. - push
  1466. ---
  1467. kind: pipeline
  1468. name: acceptance-app-files-sharing-link
  1469. steps:
  1470. - name: submodules
  1471. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1472. commands:
  1473. - git submodule update --init
  1474. - name: acceptance-app-files-sharing-link
  1475. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1476. commands:
  1477. - 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
  1478. services:
  1479. - name: selenium
  1480. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1481. environment:
  1482. # Reduce default log level for Selenium server (INFO) as it is too
  1483. # verbose.
  1484. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1485. trigger:
  1486. branch:
  1487. - master
  1488. - stable*
  1489. event:
  1490. - pull_request
  1491. - push
  1492. ---
  1493. kind: pipeline
  1494. name: acceptance-app-files-tags
  1495. steps:
  1496. - name: submodules
  1497. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1498. commands:
  1499. - git submodule update --init
  1500. - name: acceptance-app-files-tags
  1501. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1502. commands:
  1503. - 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
  1504. services:
  1505. - name: selenium
  1506. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1507. environment:
  1508. # Reduce default log level for Selenium server (INFO) as it is too
  1509. # verbose.
  1510. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1511. trigger:
  1512. branch:
  1513. - master
  1514. - stable*
  1515. event:
  1516. - pull_request
  1517. - push
  1518. ---
  1519. kind: pipeline
  1520. name: acceptance-header
  1521. steps:
  1522. - name: submodules
  1523. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1524. commands:
  1525. - git submodule update --init
  1526. - name: acceptance-header
  1527. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1528. commands:
  1529. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1530. services:
  1531. - name: selenium
  1532. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1533. environment:
  1534. # Reduce default log level for Selenium server (INFO) as it is too
  1535. # verbose.
  1536. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1537. trigger:
  1538. branch:
  1539. - master
  1540. - stable*
  1541. event:
  1542. - pull_request
  1543. - push
  1544. ---
  1545. kind: pipeline
  1546. name: acceptance-login
  1547. steps:
  1548. - name: submodules
  1549. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1550. commands:
  1551. - git submodule update --init
  1552. - name: acceptance-login
  1553. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1554. commands:
  1555. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1556. services:
  1557. - name: selenium
  1558. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1559. environment:
  1560. # Reduce default log level for Selenium server (INFO) as it is too
  1561. # verbose.
  1562. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1563. trigger:
  1564. branch:
  1565. - master
  1566. - stable*
  1567. event:
  1568. - pull_request
  1569. - push
  1570. ---
  1571. kind: pipeline
  1572. name: acceptance-users
  1573. steps:
  1574. - name: submodules
  1575. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1576. commands:
  1577. - git submodule update --init
  1578. - name: acceptance-users
  1579. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1580. commands:
  1581. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1582. services:
  1583. - name: selenium
  1584. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1585. environment:
  1586. # Reduce default log level for Selenium server (INFO) as it is too
  1587. # verbose.
  1588. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1589. trigger:
  1590. branch:
  1591. - master
  1592. - stable*
  1593. event:
  1594. - pull_request
  1595. - push
  1596. ---
  1597. kind: pipeline
  1598. name: acceptance-apps
  1599. steps:
  1600. - name: submodules
  1601. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1602. commands:
  1603. - git submodule update --init
  1604. - name: acceptance-apps
  1605. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1606. commands:
  1607. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1608. services:
  1609. - name: selenium
  1610. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1611. environment:
  1612. # Reduce default log level for Selenium server (INFO) as it is too
  1613. # verbose.
  1614. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1615. trigger:
  1616. branch:
  1617. - master
  1618. - stable*
  1619. event:
  1620. - pull_request
  1621. - push
  1622. ---
  1623. kind: pipeline
  1624. name: nodb-codecov
  1625. steps:
  1626. - name: submodules
  1627. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1628. commands:
  1629. - git submodule update --init
  1630. - name: nodb-codecov
  1631. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1632. environment:
  1633. CODECOV_TOKEN:
  1634. from_secret: CODECOV_TOKEN
  1635. XDEBUG_MODE: coverage
  1636. commands:
  1637. - phpenmod xdebug
  1638. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1639. - wget https://codecov.io/bash -O codecov.sh
  1640. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1641. services:
  1642. - name: cache
  1643. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1644. trigger:
  1645. branch:
  1646. - master
  1647. - stable*
  1648. event:
  1649. - push
  1650. ---
  1651. kind: pipeline
  1652. name: db-codecov
  1653. steps:
  1654. - name: submodules
  1655. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1656. commands:
  1657. - git submodule update --init
  1658. - name: db-codecov
  1659. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1660. environment:
  1661. CODECOV_TOKEN:
  1662. from_secret: CODECOV_TOKEN
  1663. XDEBUG_MODE: coverage
  1664. commands:
  1665. - phpenmod xdebug
  1666. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1667. - wget https://codecov.io/bash -O codecov.sh
  1668. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1669. services:
  1670. - name: cache
  1671. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1672. trigger:
  1673. branch:
  1674. - master
  1675. - stable*
  1676. event:
  1677. - push
  1678. ---
  1679. kind: pipeline
  1680. name: object-store-s3
  1681. steps:
  1682. - name: minio
  1683. image: ghcr.io/nextcloud/continuous-integration-minio:latest
  1684. detach: true
  1685. commands:
  1686. - mkdir /s3data
  1687. - minio server /s3data
  1688. environment:
  1689. MINIO_ROOT_USER: nextcloud
  1690. MINIO_ROOT_PASSWORD: nextcloud
  1691. - name: submodules
  1692. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1693. commands:
  1694. - git submodule update --init
  1695. - name: object-store
  1696. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1697. environment:
  1698. OBJECT_STORE: s3
  1699. CODECOV_TOKEN:
  1700. from_secret: CODECOV_TOKEN
  1701. commands:
  1702. - phpenmod xdebug
  1703. - ./tests/drone-wait-objectstore.sh
  1704. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1705. - wget https://codecov.io/bash -O codecov.sh
  1706. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1707. trigger:
  1708. branch:
  1709. - master
  1710. - stable*
  1711. event:
  1712. - pull_request
  1713. - push
  1714. ---
  1715. kind: pipeline
  1716. name: object-store-azure
  1717. steps:
  1718. - name: submodules
  1719. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1720. commands:
  1721. - git submodule update --init
  1722. - name: object-store
  1723. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1724. environment:
  1725. OBJECT_STORE: azure
  1726. CODECOV_TOKEN:
  1727. from_secret: CODECOV_TOKEN
  1728. commands:
  1729. - phpenmod xdebug
  1730. - ./tests/drone-wait-objectstore.sh
  1731. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1732. - wget https://codecov.io/bash -O codecov.sh
  1733. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1734. services:
  1735. - name: azurite
  1736. image: ghcr.io/nextcloud/continuous-integration-azurite:latest
  1737. environment:
  1738. executable: blob
  1739. trigger:
  1740. branch:
  1741. - master
  1742. - stable*
  1743. event:
  1744. - pull_request
  1745. - push
  1746. ---
  1747. kind: pipeline
  1748. name: memcache-memcached
  1749. steps:
  1750. - name: submodules
  1751. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1752. commands:
  1753. - git submodule update --init
  1754. - name: memcache-memcached
  1755. image: ghcr.io/nextcloud/continuous-integration-php7.4-memcached:latest
  1756. commands:
  1757. - phpenmod xdebug
  1758. - service memcached restart
  1759. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  1760. - wget https://codecov.io/bash -O codecov.sh
  1761. - 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"
  1762. - 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"
  1763. trigger:
  1764. branch:
  1765. - master
  1766. - stable*
  1767. event:
  1768. - pull_request
  1769. - push