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

.drone.yml 52KB

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