.drone.yml 53 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996
  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.6continuous-integration-mariadb-10.6:10.6
  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_dummy
  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_dummy
  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_dummy
  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: integration-capabilities_features
  485. steps:
  486. - name: submodules
  487. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  488. commands:
  489. - git submodule update --init
  490. - name: integration-capabilities_features
  491. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  492. commands:
  493. - bash tests/drone-run-integration-tests.sh || exit 0
  494. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  495. - cd build/integration
  496. - ./run.sh capabilities_features/capabilities.feature
  497. trigger:
  498. branch:
  499. - master
  500. - stable*
  501. event:
  502. - pull_request
  503. - push
  504. ---
  505. kind: pipeline
  506. name: integration-collaboration_features
  507. steps:
  508. - name: submodules
  509. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  510. commands:
  511. - git submodule update --init
  512. - name: integration-collaboration_features
  513. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  514. commands:
  515. - bash tests/drone-run-integration-tests.sh || exit 0
  516. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  517. - cd build/integration
  518. - ./run.sh collaboration_features/
  519. trigger:
  520. branch:
  521. - master
  522. - stable*
  523. event:
  524. - pull_request
  525. - push
  526. ---
  527. kind: pipeline
  528. name: integration-federation_features
  529. steps:
  530. - name: submodules
  531. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  532. commands:
  533. - git submodule update --init
  534. - name: integration-federation_features
  535. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  536. commands:
  537. - bash tests/drone-run-integration-tests.sh || exit 0
  538. - ./occ maintenance:install --admin-pass=admin
  539. - cd build/integration
  540. - ./run.sh federation_features/
  541. trigger:
  542. branch:
  543. - master
  544. - stable*
  545. event:
  546. - pull_request
  547. - push
  548. ---
  549. kind: pipeline
  550. name: integration-auth
  551. steps:
  552. - name: submodules
  553. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  554. commands:
  555. - git submodule update --init
  556. - name: integration-auth
  557. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  558. commands:
  559. - bash tests/drone-run-integration-tests.sh || exit 0
  560. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  561. - cd build/integration
  562. - ./run.sh features/auth.feature
  563. trigger:
  564. branch:
  565. - master
  566. - stable*
  567. event:
  568. - pull_request
  569. - push
  570. ---
  571. kind: pipeline
  572. name: integration-avatar
  573. steps:
  574. - name: submodules
  575. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  576. commands:
  577. - git submodule update --init
  578. - name: integration-avatar
  579. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  580. commands:
  581. - bash tests/drone-run-integration-tests.sh || exit 0
  582. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  583. - cd build/integration
  584. - ./run.sh features/avatar.feature
  585. trigger:
  586. branch:
  587. - master
  588. - stable*
  589. event:
  590. - pull_request
  591. - push
  592. ---
  593. kind: pipeline
  594. name: integration-maintenance-mode
  595. steps:
  596. - name: submodules
  597. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  598. commands:
  599. - git submodule update --init
  600. - name: integration-maintenance-mode
  601. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  602. commands:
  603. - bash tests/drone-run-integration-tests.sh || exit 0
  604. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  605. - cd build/integration
  606. - ./run.sh features/maintenance-mode.feature
  607. trigger:
  608. branch:
  609. - master
  610. - stable*
  611. event:
  612. - pull_request
  613. - push
  614. ---
  615. kind: pipeline
  616. name: integration-ratelimiting
  617. steps:
  618. - name: submodules
  619. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  620. commands:
  621. - git submodule update --init
  622. - name: integration-ratelimiting
  623. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  624. commands:
  625. - bash tests/drone-run-integration-tests.sh || exit 0
  626. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  627. - ./occ config:system:set redis host --value=cache
  628. - ./occ config:system:set redis port --value=6379 --type=integer
  629. - ./occ config:system:set redis timeout --value=0 --type=integer
  630. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  631. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  632. - ./occ app:enable testing
  633. - cd build/integration
  634. - ./run.sh features/ratelimiting.feature
  635. services:
  636. - name: cache
  637. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  638. trigger:
  639. branch:
  640. - master
  641. - stable*
  642. event:
  643. - pull_request
  644. - push
  645. ---
  646. kind: pipeline
  647. name: integration-carddav
  648. steps:
  649. - name: submodules
  650. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  651. commands:
  652. - git submodule update --init
  653. - name: integration-carddav
  654. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  655. commands:
  656. - bash tests/drone-run-integration-tests.sh || exit 0
  657. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  658. - cd build/integration
  659. - ./run.sh features/carddav.feature
  660. trigger:
  661. branch:
  662. - master
  663. - stable*
  664. event:
  665. - pull_request
  666. - push
  667. ---
  668. kind: pipeline
  669. name: integration-dav-v2
  670. steps:
  671. - name: submodules
  672. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  673. commands:
  674. - git submodule update --init
  675. - name: integration-dav-v2
  676. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  677. commands:
  678. - bash tests/drone-run-integration-tests.sh || exit 0
  679. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  680. - cd build/integration
  681. - ./run.sh features/dav-v2.feature
  682. trigger:
  683. branch:
  684. - master
  685. - stable*
  686. event:
  687. - pull_request
  688. - push
  689. ---
  690. kind: pipeline
  691. name: integration-ocs-v1
  692. steps:
  693. - name: submodules
  694. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  695. commands:
  696. - git submodule update --init
  697. - name: integration-ocs-v1
  698. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  699. commands:
  700. - bash tests/drone-run-integration-tests.sh || exit 0
  701. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  702. - cd build/integration
  703. - ./run.sh features/ocs-v1.feature
  704. trigger:
  705. branch:
  706. - master
  707. - stable*
  708. event:
  709. - pull_request
  710. - push
  711. ---
  712. kind: pipeline
  713. name: integration-checksums-v1
  714. steps:
  715. - name: submodules
  716. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  717. commands:
  718. - git submodule update --init
  719. - name: integration-checksums-v1
  720. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  721. commands:
  722. - bash tests/drone-run-integration-tests.sh || exit 0
  723. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  724. - cd build/integration
  725. - ./run.sh features/checksums.feature
  726. trigger:
  727. branch:
  728. - master
  729. - stable*
  730. event:
  731. - pull_request
  732. - push
  733. ---
  734. kind: pipeline
  735. name: integration-external-storage
  736. steps:
  737. - name: submodules
  738. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  739. commands:
  740. - git submodule update --init
  741. - name: integration-external-storage
  742. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  743. commands:
  744. - bash tests/drone-run-integration-tests.sh || exit 0
  745. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  746. - cd build/integration
  747. - ./run.sh features/external-storage.feature
  748. trigger:
  749. branch:
  750. - master
  751. - stable*
  752. event:
  753. - pull_request
  754. - push
  755. ---
  756. kind: pipeline
  757. name: integration-provisioning-v1
  758. steps:
  759. - name: submodules
  760. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  761. commands:
  762. - git submodule update --init
  763. - name: integration-provisioning-v1
  764. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  765. commands:
  766. - bash tests/drone-run-integration-tests.sh || exit 0
  767. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  768. - cd build/integration
  769. - ./run.sh features/provisioning-v1.feature
  770. trigger:
  771. branch:
  772. - master
  773. - stable*
  774. event:
  775. - pull_request
  776. - push
  777. ---
  778. kind: pipeline
  779. name: integration-tags
  780. steps:
  781. - name: submodules
  782. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  783. commands:
  784. - git submodule update --init
  785. - name: integration-tags
  786. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  787. commands:
  788. - bash tests/drone-run-integration-tests.sh || exit 0
  789. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  790. - cd build/integration
  791. - ./run.sh features/tags.feature
  792. trigger:
  793. branch:
  794. - master
  795. - stable*
  796. event:
  797. - pull_request
  798. - push
  799. ---
  800. kind: pipeline
  801. name: integration-caldav
  802. steps:
  803. - name: submodules
  804. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  805. commands:
  806. - git submodule update --init
  807. - name: integration-caldav
  808. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  809. commands:
  810. - bash tests/drone-run-integration-tests.sh || exit 0
  811. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  812. - cd build/integration
  813. - ./run.sh features/caldav.feature
  814. trigger:
  815. branch:
  816. - master
  817. - stable*
  818. event:
  819. - pull_request
  820. - push
  821. ---
  822. kind: pipeline
  823. name: integration-comments
  824. steps:
  825. - name: submodules
  826. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  827. commands:
  828. - git submodule update --init
  829. - name: integration-comments
  830. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  831. commands:
  832. - bash tests/drone-run-integration-tests.sh || exit 0
  833. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  834. - cd build/integration
  835. - ./run.sh features/comments.feature
  836. trigger:
  837. branch:
  838. - master
  839. - stable*
  840. event:
  841. - pull_request
  842. - push
  843. ---
  844. kind: pipeline
  845. name: integration-comments-search
  846. steps:
  847. - name: submodules
  848. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  849. commands:
  850. - git submodule update --init
  851. - name: integration-comments-search
  852. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  853. commands:
  854. - bash tests/drone-run-integration-tests.sh || exit 0
  855. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  856. - cd build/integration
  857. - ./run.sh features/comments-search.feature
  858. trigger:
  859. branch:
  860. - master
  861. - stable*
  862. event:
  863. - pull_request
  864. - push
  865. ---
  866. kind: pipeline
  867. name: integration-contacts-menu
  868. steps:
  869. - name: submodules
  870. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  871. commands:
  872. - git submodule update --init
  873. - name: integration-contacts-menu
  874. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  875. commands:
  876. - bash tests/drone-run-integration-tests.sh || exit 0
  877. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  878. - cd build/integration
  879. - ./run.sh features/contacts-menu.feature
  880. trigger:
  881. branch:
  882. - master
  883. - stable*
  884. event:
  885. - pull_request
  886. - push
  887. ---
  888. kind: pipeline
  889. name: integration-favorites
  890. steps:
  891. - name: submodules
  892. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  893. commands:
  894. - git submodule update --init
  895. - name: integration-favorites
  896. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  897. commands:
  898. - bash tests/drone-run-integration-tests.sh || exit 0
  899. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  900. - cd build/integration
  901. - ./run.sh features/favorites.feature
  902. trigger:
  903. branch:
  904. - master
  905. - stable*
  906. event:
  907. - pull_request
  908. - push
  909. ---
  910. kind: pipeline
  911. name: integration-provisioning-v2
  912. steps:
  913. - name: submodules
  914. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  915. commands:
  916. - git submodule update --init
  917. - name: integration-provisioning-v2
  918. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  919. commands:
  920. - bash tests/drone-run-integration-tests.sh || exit 0
  921. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  922. - cd build/integration
  923. - ./run.sh features/provisioning-v2.feature
  924. trigger:
  925. branch:
  926. - master
  927. - stable*
  928. event:
  929. - pull_request
  930. - push
  931. ---
  932. kind: pipeline
  933. name: integration-webdav-related
  934. steps:
  935. - name: submodules
  936. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  937. commands:
  938. - git submodule update --init
  939. - name: integration-webdav-related
  940. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  941. commands:
  942. - bash tests/drone-run-integration-tests.sh || exit 0
  943. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  944. - cd build/integration
  945. - ./run.sh features/webdav-related.feature
  946. trigger:
  947. branch:
  948. - master
  949. - stable*
  950. event:
  951. - pull_request
  952. - push
  953. ---
  954. kind: pipeline
  955. name: integration-sharees-features
  956. steps:
  957. - name: submodules
  958. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  959. commands:
  960. - git submodule update --init
  961. - name: integration-sharees-features
  962. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  963. commands:
  964. - bash tests/drone-run-integration-tests.sh || exit 0
  965. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  966. - cd build/integration
  967. - ./run.sh sharees_features/sharees.feature
  968. trigger:
  969. branch:
  970. - master
  971. - stable*
  972. event:
  973. - pull_request
  974. - push
  975. ---
  976. kind: pipeline
  977. name: integration-sharees-v2-features
  978. steps:
  979. - name: submodules
  980. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  981. commands:
  982. - git submodule update --init
  983. - name: integration-sharees-v2-features
  984. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  985. commands:
  986. - bash tests/drone-run-integration-tests.sh || exit 0
  987. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  988. - cd build/integration
  989. - ./run.sh sharees_features/sharees_provisioningapiv2.feature
  990. trigger:
  991. branch:
  992. - master
  993. - stable*
  994. event:
  995. - pull_request
  996. - push
  997. ---
  998. kind: pipeline
  999. name: integration-sharing-v1
  1000. steps:
  1001. - name: submodules
  1002. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1003. commands:
  1004. - git submodule update --init
  1005. - name: integration-sharing-v1
  1006. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1007. commands:
  1008. - bash tests/drone-run-integration-tests.sh || exit 0
  1009. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1010. - cd build/integration
  1011. - ./run.sh sharing_features/sharing-v1.feature
  1012. trigger:
  1013. branch:
  1014. - master
  1015. - stable*
  1016. event:
  1017. - pull_request
  1018. - push
  1019. ---
  1020. kind: pipeline
  1021. name: integration-sharing-v1-part2
  1022. steps:
  1023. - name: submodules
  1024. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1025. commands:
  1026. - git submodule update --init
  1027. - name: integration-sharing-v1-part2
  1028. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1029. commands:
  1030. - bash tests/drone-run-integration-tests.sh || exit 0
  1031. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1032. - cd build/integration
  1033. - ./run.sh sharing_features/sharing-v1-part2.feature
  1034. trigger:
  1035. branch:
  1036. - master
  1037. - stable*
  1038. event:
  1039. - pull_request
  1040. - push
  1041. ---
  1042. kind: pipeline
  1043. name: integration-sharing-v1-part3
  1044. steps:
  1045. - name: submodules
  1046. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1047. commands:
  1048. - git submodule update --init
  1049. - name: integration-sharing-v1-part3
  1050. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1051. commands:
  1052. - bash tests/drone-run-integration-tests.sh || exit 0
  1053. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1054. - cd build/integration
  1055. - ./run.sh sharing_features/sharing-v1-part3.feature
  1056. trigger:
  1057. branch:
  1058. - master
  1059. - stable*
  1060. event:
  1061. - pull_request
  1062. - push
  1063. ---
  1064. kind: pipeline
  1065. name: integration-sharing-v1-video-verification
  1066. steps:
  1067. - name: submodules
  1068. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1069. commands:
  1070. - git submodule update --init
  1071. - name: install-talk
  1072. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1073. commands:
  1074. # JavaScript files are not used in integration tests so it is not needed to
  1075. # build them.
  1076. - git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
  1077. - name: integration-sharing-v1-video-verification
  1078. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1079. commands:
  1080. - bash tests/drone-run-integration-tests.sh || exit 0
  1081. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1082. - cd build/integration
  1083. - ./run.sh sharing_features/sharing-v1-video-verification.feature
  1084. trigger:
  1085. branch:
  1086. - master
  1087. - stable*
  1088. event:
  1089. - pull_request
  1090. - push
  1091. ---
  1092. kind: pipeline
  1093. name: integration-setup-features
  1094. steps:
  1095. - name: submodules
  1096. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1097. commands:
  1098. - git submodule update --init
  1099. - name: integration-setup-features
  1100. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1101. commands:
  1102. - bash tests/drone-run-integration-tests.sh || exit 0
  1103. - cd build/integration
  1104. - ./run.sh setup_features/setup.feature
  1105. trigger:
  1106. branch:
  1107. - master
  1108. - stable*
  1109. event:
  1110. - pull_request
  1111. - push
  1112. ---
  1113. kind: pipeline
  1114. name: integration-filesdrop-features
  1115. steps:
  1116. - name: submodules
  1117. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1118. commands:
  1119. - git submodule update --init
  1120. - name: integration-filesdrop-features
  1121. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1122. commands:
  1123. - bash tests/drone-run-integration-tests.sh || exit 0
  1124. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1125. - cd build/integration
  1126. - ./run.sh filesdrop_features/filesdrop.feature
  1127. trigger:
  1128. branch:
  1129. - master
  1130. - stable*
  1131. event:
  1132. - pull_request
  1133. - push
  1134. ---
  1135. kind: pipeline
  1136. name: integration-transfer-ownership-features
  1137. steps:
  1138. - name: submodules
  1139. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1140. commands:
  1141. - git submodule update --init
  1142. - name: integration-transfer-ownership-features
  1143. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1144. commands:
  1145. - bash tests/drone-run-integration-tests.sh || exit 0
  1146. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1147. - cd build/integration
  1148. - ./run.sh features/transfer-ownership.feature
  1149. trigger:
  1150. branch:
  1151. - master
  1152. - stable*
  1153. event:
  1154. - pull_request
  1155. - push
  1156. ---
  1157. kind: pipeline
  1158. name: integration-ldap-features
  1159. steps:
  1160. - name: submodules
  1161. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1162. commands:
  1163. - git submodule update --init
  1164. - name: integration-ldap-features
  1165. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1166. commands:
  1167. - bash tests/drone-run-integration-tests.sh || exit 0
  1168. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1169. - cd build/integration
  1170. - ./run.sh ldap_features/ldap-ocs.feature
  1171. trigger:
  1172. branch:
  1173. - master
  1174. - stable*
  1175. event:
  1176. - pull_request
  1177. - push
  1178. ---
  1179. kind: pipeline
  1180. name: integration-ldap-openldap-features
  1181. steps:
  1182. - name: submodules
  1183. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1184. commands:
  1185. - git submodule update --init
  1186. - name: integration-ldap-openldap-features
  1187. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1188. commands:
  1189. - bash tests/drone-run-integration-tests.sh || exit 0
  1190. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1191. - ./occ config:system:set redis host --value=cache
  1192. - ./occ config:system:set redis port --value=6379 --type=integer
  1193. - ./occ config:system:set redis timeout --value=0 --type=integer
  1194. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1195. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1196. - cd build/integration
  1197. - ./run.sh ldap_features/ldap-openldap.feature
  1198. services:
  1199. - name: cache
  1200. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1201. - name: openldap
  1202. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1203. environment:
  1204. SLAPD_DOMAIN: nextcloud.ci
  1205. SLAPD_ORGANIZATION: Nextcloud
  1206. SLAPD_PASSWORD: admin
  1207. SLAPD_ADDITIONAL_MODULES: memberof
  1208. trigger:
  1209. branch:
  1210. - master
  1211. - stable*
  1212. event:
  1213. - pull_request
  1214. - push
  1215. ---
  1216. kind: pipeline
  1217. name: integration-ldap-openldap-uid-features
  1218. steps:
  1219. - name: submodules
  1220. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1221. commands:
  1222. - git submodule update --init
  1223. - name: integration-ldap-openldap-uid-features
  1224. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1225. commands:
  1226. - bash tests/drone-run-integration-tests.sh || exit 0
  1227. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1228. - ./occ config:system:set redis host --value=cache
  1229. - ./occ config:system:set redis port --value=6379 --type=integer
  1230. - ./occ config:system:set redis timeout --value=0 --type=integer
  1231. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1232. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1233. - cd build/integration
  1234. - ./run.sh ldap_features/openldap-uid-username.feature
  1235. services:
  1236. - name: cache
  1237. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1238. - name: openldap
  1239. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1240. environment:
  1241. SLAPD_DOMAIN: nextcloud.ci
  1242. SLAPD_ORGANIZATION: Nextcloud
  1243. SLAPD_PASSWORD: admin
  1244. SLAPD_ADDITIONAL_MODULES: memberof
  1245. trigger:
  1246. branch:
  1247. - master
  1248. - stable*
  1249. event:
  1250. - pull_request
  1251. - push
  1252. type: docker
  1253. ---
  1254. kind: pipeline
  1255. name: integration-ldap-openldap-numerical-id-features
  1256. steps:
  1257. - name: submodules
  1258. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1259. commands:
  1260. - git submodule update --init
  1261. - name: integration-ldap-openldap-numerical-id-features
  1262. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1263. commands:
  1264. - bash tests/drone-run-integration-tests.sh || exit 0
  1265. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1266. - ./occ config:system:set redis host --value=cache
  1267. - ./occ config:system:set redis port --value=6379 --type=integer
  1268. - ./occ config:system:set redis timeout --value=0 --type=integer
  1269. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1270. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1271. - cd build/integration
  1272. - ./run.sh ldap_features/openldap-numerical-id.feature
  1273. services:
  1274. - name: cache
  1275. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1276. - name: openldap
  1277. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1278. environment:
  1279. SLAPD_DOMAIN: nextcloud.ci
  1280. SLAPD_ORGANIZATION: Nextcloud
  1281. SLAPD_PASSWORD: admin
  1282. SLAPD_ADDITIONAL_MODULES: memberof
  1283. trigger:
  1284. branch:
  1285. - master
  1286. - stable*
  1287. event:
  1288. - pull_request
  1289. - push
  1290. ---
  1291. kind: pipeline
  1292. name: integration-trashbin
  1293. steps:
  1294. - name: submodules
  1295. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1296. commands:
  1297. - git submodule update --init
  1298. - name: integration-trashbin
  1299. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1300. commands:
  1301. - bash tests/drone-run-integration-tests.sh || exit 0
  1302. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1303. - cd build/integration
  1304. - ./run.sh features/trashbin.feature
  1305. trigger:
  1306. branch:
  1307. - master
  1308. - stable*
  1309. event:
  1310. - pull_request
  1311. - push
  1312. ---
  1313. kind: pipeline
  1314. name: integration-remote-api
  1315. steps:
  1316. - name: submodules
  1317. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1318. commands:
  1319. - git submodule update --init
  1320. - name: integration-remote-api
  1321. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1322. commands:
  1323. - bash tests/drone-run-integration-tests.sh || exit 0
  1324. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1325. - cd build/integration
  1326. - ./run.sh remoteapi_features/remote.feature
  1327. trigger:
  1328. branch:
  1329. - master
  1330. - stable*
  1331. event:
  1332. - pull_request
  1333. - push
  1334. ---
  1335. kind: pipeline
  1336. name: integration-download
  1337. steps:
  1338. - name: submodules
  1339. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1340. commands:
  1341. - git submodule update --init
  1342. - name: integration-download
  1343. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1344. commands:
  1345. - bash tests/drone-run-integration-tests.sh || exit 0
  1346. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1347. - cd build/integration
  1348. - ./run.sh --tags ~@large features/download.feature
  1349. trigger:
  1350. branch:
  1351. - master
  1352. - stable*
  1353. event:
  1354. - pull_request
  1355. - push
  1356. ---
  1357. kind: pipeline
  1358. name: acceptance-access-levels
  1359. steps:
  1360. - name: submodules
  1361. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1362. commands:
  1363. - git submodule update --init
  1364. - name: acceptance-access-levels
  1365. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1366. commands:
  1367. - 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
  1368. services:
  1369. - name: selenium
  1370. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1371. environment:
  1372. # Reduce default log level for Selenium server (INFO) as it is too
  1373. # verbose.
  1374. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1375. trigger:
  1376. branch:
  1377. - master
  1378. - stable*
  1379. event:
  1380. - pull_request
  1381. - push
  1382. ---
  1383. kind: pipeline
  1384. name: acceptance-app-files
  1385. steps:
  1386. - name: submodules
  1387. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1388. commands:
  1389. - git submodule update --init
  1390. - name: acceptance-app-files
  1391. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1392. commands:
  1393. - 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
  1394. services:
  1395. - name: selenium
  1396. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1397. environment:
  1398. # Reduce default log level for Selenium server (INFO) as it is too
  1399. # verbose.
  1400. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1401. trigger:
  1402. branch:
  1403. - master
  1404. - stable*
  1405. event:
  1406. - pull_request
  1407. - push
  1408. ---
  1409. kind: pipeline
  1410. name: acceptance-app-files-sharing
  1411. steps:
  1412. - name: submodules
  1413. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1414. commands:
  1415. - git submodule update --init
  1416. - name: acceptance-app-files-sharing
  1417. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1418. commands:
  1419. - 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
  1420. services:
  1421. - name: selenium
  1422. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1423. environment:
  1424. # Reduce default log level for Selenium server (INFO) as it is too
  1425. # verbose.
  1426. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1427. trigger:
  1428. branch:
  1429. - master
  1430. - stable*
  1431. event:
  1432. - pull_request
  1433. - push
  1434. ---
  1435. kind: pipeline
  1436. name: acceptance-app-files-sharing-link
  1437. steps:
  1438. - name: submodules
  1439. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1440. commands:
  1441. - git submodule update --init
  1442. - name: acceptance-app-files-sharing-link
  1443. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1444. commands:
  1445. - 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
  1446. services:
  1447. - name: selenium
  1448. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1449. environment:
  1450. # Reduce default log level for Selenium server (INFO) as it is too
  1451. # verbose.
  1452. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1453. trigger:
  1454. branch:
  1455. - master
  1456. - stable*
  1457. event:
  1458. - pull_request
  1459. - push
  1460. ---
  1461. kind: pipeline
  1462. name: acceptance-app-files-tags
  1463. steps:
  1464. - name: submodules
  1465. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1466. commands:
  1467. - git submodule update --init
  1468. - name: acceptance-app-files-tags
  1469. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1470. commands:
  1471. - 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
  1472. services:
  1473. - name: selenium
  1474. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1475. environment:
  1476. # Reduce default log level for Selenium server (INFO) as it is too
  1477. # verbose.
  1478. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1479. trigger:
  1480. branch:
  1481. - master
  1482. - stable*
  1483. event:
  1484. - pull_request
  1485. - push
  1486. ---
  1487. kind: pipeline
  1488. name: acceptance-app-theming
  1489. steps:
  1490. - name: submodules
  1491. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1492. commands:
  1493. - git submodule update --init
  1494. - name: acceptance-app-theming
  1495. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1496. commands:
  1497. - 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
  1498. services:
  1499. - name: selenium
  1500. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1501. environment:
  1502. # Reduce default log level for Selenium server (INFO) as it is too
  1503. # verbose.
  1504. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1505. trigger:
  1506. branch:
  1507. - master
  1508. - stable*
  1509. event:
  1510. - pull_request
  1511. - push
  1512. ---
  1513. kind: pipeline
  1514. name: acceptance-header
  1515. steps:
  1516. - name: submodules
  1517. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1518. commands:
  1519. - git submodule update --init
  1520. - name: acceptance-header
  1521. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1522. commands:
  1523. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1524. services:
  1525. - name: selenium
  1526. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1527. environment:
  1528. # Reduce default log level for Selenium server (INFO) as it is too
  1529. # verbose.
  1530. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1531. trigger:
  1532. branch:
  1533. - master
  1534. - stable*
  1535. event:
  1536. - pull_request
  1537. - push
  1538. ---
  1539. kind: pipeline
  1540. name: acceptance-login
  1541. steps:
  1542. - name: submodules
  1543. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1544. commands:
  1545. - git submodule update --init
  1546. - name: acceptance-login
  1547. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1548. commands:
  1549. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1550. services:
  1551. - name: selenium
  1552. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1553. environment:
  1554. # Reduce default log level for Selenium server (INFO) as it is too
  1555. # verbose.
  1556. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1557. trigger:
  1558. branch:
  1559. - master
  1560. - stable*
  1561. event:
  1562. - pull_request
  1563. - push
  1564. ---
  1565. kind: pipeline
  1566. name: acceptance-users
  1567. steps:
  1568. - name: submodules
  1569. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1570. commands:
  1571. - git submodule update --init
  1572. - name: acceptance-users
  1573. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1574. commands:
  1575. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1576. services:
  1577. - name: selenium
  1578. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1579. environment:
  1580. # Reduce default log level for Selenium server (INFO) as it is too
  1581. # verbose.
  1582. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1583. trigger:
  1584. branch:
  1585. - master
  1586. - stable*
  1587. event:
  1588. - pull_request
  1589. - push
  1590. ---
  1591. kind: pipeline
  1592. name: acceptance-apps
  1593. steps:
  1594. - name: submodules
  1595. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1596. commands:
  1597. - git submodule update --init
  1598. - name: acceptance-apps
  1599. image: ghcr.io/nextcloud/continuous-integration-acceptance-php7.4:latest
  1600. commands:
  1601. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1602. services:
  1603. - name: selenium
  1604. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1605. environment:
  1606. # Reduce default log level for Selenium server (INFO) as it is too
  1607. # verbose.
  1608. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1609. trigger:
  1610. branch:
  1611. - master
  1612. - stable*
  1613. event:
  1614. - pull_request
  1615. - push
  1616. ---
  1617. kind: pipeline
  1618. name: nodb-codecov
  1619. steps:
  1620. - name: submodules
  1621. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1622. commands:
  1623. - git submodule update --init
  1624. - name: nodb-codecov
  1625. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1626. environment:
  1627. CODECOV_TOKEN:
  1628. from_secret: CODECOV_TOKEN
  1629. XDEBUG_MODE: coverage
  1630. commands:
  1631. - phpenmod xdebug
  1632. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1633. - wget https://codecov.io/bash -O codecov.sh
  1634. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1635. services:
  1636. - name: cache
  1637. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1638. trigger:
  1639. branch:
  1640. - master
  1641. - stable*
  1642. event:
  1643. - push
  1644. ---
  1645. kind: pipeline
  1646. name: db-codecov
  1647. steps:
  1648. - name: submodules
  1649. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1650. commands:
  1651. - git submodule update --init
  1652. - name: db-codecov
  1653. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1654. environment:
  1655. CODECOV_TOKEN:
  1656. from_secret: CODECOV_TOKEN
  1657. XDEBUG_MODE: coverage
  1658. commands:
  1659. - phpenmod xdebug
  1660. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1661. - wget https://codecov.io/bash -O codecov.sh
  1662. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1663. services:
  1664. - name: cache
  1665. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1666. trigger:
  1667. branch:
  1668. - master
  1669. - stable*
  1670. event:
  1671. - push
  1672. ---
  1673. kind: pipeline
  1674. name: object-store-s3
  1675. steps:
  1676. - name: minio
  1677. image: ghcr.io/nextcloud/continuous-integration-minio:latest
  1678. detach: true
  1679. commands:
  1680. - mkdir /s3data
  1681. - minio server /s3data
  1682. environment:
  1683. MINIO_ROOT_USER: nextcloud
  1684. MINIO_ROOT_PASSWORD: nextcloud
  1685. - name: submodules
  1686. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1687. commands:
  1688. - git submodule update --init
  1689. - name: object-store
  1690. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1691. environment:
  1692. OBJECT_STORE: s3
  1693. CODECOV_TOKEN:
  1694. from_secret: CODECOV_TOKEN
  1695. commands:
  1696. - phpenmod xdebug
  1697. - ./tests/drone-wait-objectstore.sh
  1698. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1699. - wget https://codecov.io/bash -O codecov.sh
  1700. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1701. trigger:
  1702. branch:
  1703. - master
  1704. - stable*
  1705. event:
  1706. - pull_request
  1707. - push
  1708. ---
  1709. kind: pipeline
  1710. name: object-store-azure
  1711. steps:
  1712. - name: submodules
  1713. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1714. commands:
  1715. - git submodule update --init
  1716. - name: object-store
  1717. image: ghcr.io/nextcloud/continuous-integration-integration-php7.4:latest
  1718. environment:
  1719. OBJECT_STORE: azure
  1720. CODECOV_TOKEN:
  1721. from_secret: CODECOV_TOKEN
  1722. commands:
  1723. - phpenmod xdebug
  1724. - ./tests/drone-wait-objectstore.sh
  1725. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1726. - wget https://codecov.io/bash -O codecov.sh
  1727. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1728. services:
  1729. - name: azurite
  1730. image: ghcr.io/nextcloud/continuous-integration-azurite:latest
  1731. environment:
  1732. executable: blob
  1733. trigger:
  1734. branch:
  1735. - master
  1736. - stable*
  1737. event:
  1738. - pull_request
  1739. - push
  1740. ---
  1741. kind: pipeline
  1742. name: memcache-memcached
  1743. steps:
  1744. - name: submodules
  1745. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1746. commands:
  1747. - git submodule update --init
  1748. - name: memcache-memcached
  1749. image: ghcr.io/nextcloud/continuous-integration-php7.4-memcached:latest
  1750. commands:
  1751. - phpenmod xdebug
  1752. - service memcached restart
  1753. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  1754. - wget https://codecov.io/bash -O codecov.sh
  1755. - 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"
  1756. - 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"
  1757. trigger:
  1758. branch:
  1759. - master
  1760. - stable*
  1761. event:
  1762. - pull_request
  1763. - push