.drone.yml 52 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997
  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-php8.0: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-php8.0: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-php8.0: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-php8.0: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-php8.0: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-php8.0: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-php8.0: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-php8.0-samba-native
  138. image: ghcr.io/nextcloud/continuous-integration-samba-native-php8.0: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-php8.0-samba-non-native
  149. # image: ghcr.io/nextcloud/continuous-integration-samba-non-native-php8.0: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-php8.0-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-php8.0-webdav-apache
  174. image: ghcr.io/nextcloud/continuous-integration-webdav-apache-php8.0: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-php8.0
  202. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  203. commands:
  204. - bash tests/drone-run-php-tests.sh || exit 0
  205. - NOCOVERAGE=true TEST_SELECTION=NODB ./autotest.sh sqlite
  206. services:
  207. - name: cache
  208. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  209. trigger:
  210. branch:
  211. - master
  212. - stable*
  213. event:
  214. - pull_request
  215. - push
  216. ---
  217. kind: pipeline
  218. name: sqlite
  219. steps:
  220. - name: submodules
  221. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  222. commands:
  223. - git submodule update --init
  224. - name: sqlite-php8.0
  225. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  226. commands:
  227. - bash tests/drone-run-php-tests.sh || exit 0
  228. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh sqlite
  229. services:
  230. - name: cache
  231. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  232. trigger:
  233. branch:
  234. - master
  235. - stable*
  236. event:
  237. - pull_request
  238. - push
  239. ---
  240. kind: pipeline
  241. name: mariadb10.2-php8.0
  242. steps:
  243. - name: submodules
  244. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  245. commands:
  246. - git submodule update --init
  247. - name: mariadb10.2-php8.0
  248. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  249. commands:
  250. - bash tests/drone-run-php-tests.sh || exit 0
  251. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  252. services:
  253. - name: cache
  254. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  255. - name: mariadb
  256. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.2:10.2
  257. environment:
  258. MYSQL_ROOT_PASSWORD: owncloud
  259. MYSQL_USER: oc_autotest
  260. MYSQL_PASSWORD: owncloud
  261. MYSQL_DATABASE: oc_autotest
  262. command:
  263. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  264. tmpfs:
  265. - /var/lib/mysql
  266. trigger:
  267. branch:
  268. - master
  269. - stable*
  270. event:
  271. - pull_request
  272. - push
  273. ---
  274. kind: pipeline
  275. name: mariadb10.4-php8.0
  276. steps:
  277. - name: submodules
  278. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  279. commands:
  280. - git submodule update --init
  281. - name: mariadb10.4-php8.0
  282. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  283. commands:
  284. - bash tests/drone-run-php-tests.sh || exit 0
  285. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  286. services:
  287. - name: cache
  288. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  289. - name: mariadb
  290. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.4:10.4
  291. environment:
  292. MYSQL_ROOT_PASSWORD: owncloud
  293. MYSQL_USER: oc_autotest
  294. MYSQL_PASSWORD: owncloud
  295. MYSQL_DATABASE: oc_autotest
  296. command:
  297. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  298. tmpfs:
  299. - /var/lib/mysql
  300. trigger:
  301. branch:
  302. - master
  303. - stable*
  304. event:
  305. - pull_request
  306. - push
  307. ---
  308. kind: pipeline
  309. name: mariadb10.6-php8.0
  310. steps:
  311. - name: submodules
  312. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  313. commands:
  314. - git submodule update --init
  315. - name: mariadb10.6-php8.0
  316. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  317. commands:
  318. - bash tests/drone-run-php-tests.sh || exit 0
  319. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mariadb
  320. services:
  321. - name: cache
  322. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  323. - name: mariadb
  324. image: ghcr.io/nextcloud/continuous-integration-mariadb-10.6:latest
  325. environment:
  326. MYSQL_ROOT_PASSWORD: owncloud
  327. MYSQL_USER: oc_autotest
  328. MYSQL_PASSWORD: owncloud
  329. MYSQL_DATABASE: oc_autotest
  330. command:
  331. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  332. tmpfs:
  333. - /var/lib/mysql
  334. trigger:
  335. branch:
  336. - master
  337. - stable*
  338. event:
  339. - pull_request
  340. - push
  341. ---
  342. kind: pipeline
  343. name: mysql8.0-php8.0
  344. steps:
  345. - name: submodules
  346. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  347. commands:
  348. - git submodule update --init
  349. - name: mysql-php8.0
  350. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  351. commands:
  352. - bash tests/drone-run-php-tests.sh || exit 0
  353. - NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh mysql
  354. services:
  355. - name: cache
  356. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  357. - name: mysql
  358. image: ghcr.io/nextcloud/continuous-integration-mysql-8.0:mysql-8.0
  359. command:
  360. - --default-authentication-plugin=mysql_native_password
  361. - --sql-mode=ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION
  362. environment:
  363. MYSQL_ROOT_PASSWORD: owncloud
  364. MYSQL_USER: oc_autotest
  365. MYSQL_PASSWORD: owncloud
  366. MYSQL_DATABASE: oc_autotest
  367. tmpfs:
  368. - /var/lib/mysql
  369. trigger:
  370. branch:
  371. - master
  372. - stable*
  373. event:
  374. - pull_request
  375. - push
  376. ---
  377. kind: pipeline
  378. name: postgres10-php8.0
  379. steps:
  380. - name: submodules
  381. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  382. commands:
  383. - git submodule update --init
  384. - name: postgres-php8.0
  385. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  386. commands:
  387. - bash tests/drone-run-php-tests.sh || exit 0
  388. - sleep 10 # gives the database enough time to initialize
  389. - POSTGRES=10 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  390. services:
  391. - name: cache
  392. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  393. - name: postgres-10
  394. image: ghcr.io/nextcloud/continuous-integration-postgres-10:postgres-10
  395. environment:
  396. POSTGRES_USER: oc_autotest
  397. POSTGRES_DB: oc_autotest
  398. POSTGRES_PASSWORD: owncloud
  399. tmpfs:
  400. - /var/lib/postgresql/data
  401. trigger:
  402. branch:
  403. - master
  404. - stable*
  405. event:
  406. - pull_request
  407. - push
  408. ---
  409. kind: pipeline
  410. name: postgres11-php8.0
  411. steps:
  412. - name: submodules
  413. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  414. commands:
  415. - git submodule update --init
  416. - name: postgres-php8.0
  417. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  418. commands:
  419. - bash tests/drone-run-php-tests.sh || exit 0
  420. - sleep 10 # gives the database enough time to initialize
  421. - POSTGRES=11 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  422. services:
  423. - name: cache
  424. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  425. - name: postgres-11
  426. image: ghcr.io/nextcloud/continuous-integration-postgres-11:postgres-11
  427. environment:
  428. POSTGRES_USER: oc_autotest
  429. POSTGRES_DB: oc_autotest
  430. POSTGRES_PASSWORD: owncloud
  431. tmpfs:
  432. - /var/lib/postgresql/data
  433. trigger:
  434. branch:
  435. - master
  436. - stable*
  437. event:
  438. - pull_request
  439. - push
  440. ---
  441. kind: pipeline
  442. name: postgres13-php8.0
  443. steps:
  444. - name: submodules
  445. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  446. commands:
  447. - git submodule update --init
  448. - name: postgres-php8.0
  449. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  450. commands:
  451. - bash tests/drone-run-php-tests.sh || exit 0
  452. - sleep 10 # gives the database enough time to initialize
  453. - POSTGRES=13 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  454. services:
  455. - name: cache
  456. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  457. - name: postgres-13
  458. image: ghcr.io/nextcloud/continuous-integration-postgres-13:postgres-13
  459. environment:
  460. POSTGRES_USER: oc_autotest
  461. POSTGRES_DB: oc_autotest
  462. POSTGRES_PASSWORD: owncloud
  463. tmpfs:
  464. - /var/lib/postgresql/data
  465. trigger:
  466. branch:
  467. - master
  468. - stable*
  469. event:
  470. - pull_request
  471. - push
  472. ---
  473. kind: pipeline
  474. name: postgres15-php8.0
  475. steps:
  476. - name: submodules
  477. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  478. commands:
  479. - git submodule update --init
  480. - name: postgres-php8.0
  481. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  482. commands:
  483. - bash tests/drone-run-php-tests.sh || exit 0
  484. - sleep 10 # gives the database enough time to initialize
  485. - POSTGRES=15 NOCOVERAGE=true TEST_SELECTION=DB ./autotest.sh pgsql
  486. services:
  487. - name: cache
  488. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  489. - name: postgres-15
  490. image: ghcr.io/nextcloud/continuous-integration-postgres-15:latest
  491. environment:
  492. POSTGRES_USER: oc_autotest
  493. POSTGRES_DB: oc_autotest
  494. POSTGRES_PASSWORD: owncloud
  495. tmpfs:
  496. - /var/lib/postgresql/data
  497. trigger:
  498. branch:
  499. - master
  500. - stable*
  501. event:
  502. - pull_request
  503. - push
  504. ---
  505. kind: pipeline
  506. name: integration-capabilities_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-capabilities_features
  513. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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 capabilities_features/capabilities.feature
  519. trigger:
  520. branch:
  521. - master
  522. - stable*
  523. event:
  524. - pull_request
  525. - push
  526. ---
  527. kind: pipeline
  528. name: integration-collaboration_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-collaboration_features
  535. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  536. commands:
  537. - bash tests/drone-run-integration-tests.sh || exit 0
  538. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  539. - cd build/integration
  540. - ./run.sh collaboration_features/
  541. trigger:
  542. branch:
  543. - master
  544. - stable*
  545. event:
  546. - pull_request
  547. - push
  548. ---
  549. kind: pipeline
  550. name: integration-federation_features
  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-federation_features
  557. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  558. commands:
  559. - bash tests/drone-run-integration-tests.sh || exit 0
  560. - ./occ maintenance:install --admin-pass=admin
  561. - cd build/integration
  562. - ./run.sh federation_features/
  563. trigger:
  564. branch:
  565. - master
  566. - stable*
  567. event:
  568. - pull_request
  569. - push
  570. ---
  571. kind: pipeline
  572. name: integration-auth
  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-auth
  579. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/auth.feature
  585. trigger:
  586. branch:
  587. - master
  588. - stable*
  589. event:
  590. - pull_request
  591. - push
  592. ---
  593. kind: pipeline
  594. name: integration-avatar
  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-avatar
  601. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/avatar.feature
  607. trigger:
  608. branch:
  609. - master
  610. - stable*
  611. event:
  612. - pull_request
  613. - push
  614. ---
  615. kind: pipeline
  616. name: integration-maintenance-mode
  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-maintenance-mode
  623. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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. - cd build/integration
  628. - ./run.sh features/maintenance-mode.feature
  629. trigger:
  630. branch:
  631. - master
  632. - stable*
  633. event:
  634. - pull_request
  635. - push
  636. ---
  637. kind: pipeline
  638. name: integration-ratelimiting
  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-ratelimiting
  645. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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. - ./occ config:system:set redis host --value=cache
  650. - ./occ config:system:set redis port --value=6379 --type=integer
  651. - ./occ config:system:set redis timeout --value=0 --type=integer
  652. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  653. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  654. - ./occ app:enable testing
  655. - cd build/integration
  656. - ./run.sh features/ratelimiting.feature
  657. services:
  658. - name: cache
  659. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  660. trigger:
  661. branch:
  662. - master
  663. - stable*
  664. event:
  665. - pull_request
  666. - push
  667. ---
  668. kind: pipeline
  669. name: integration-carddav
  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-carddav
  676. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/carddav.feature
  682. trigger:
  683. branch:
  684. - master
  685. - stable*
  686. event:
  687. - pull_request
  688. - push
  689. ---
  690. kind: pipeline
  691. name: integration-dav-v2
  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-dav-v2
  698. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/dav-v2.feature
  704. trigger:
  705. branch:
  706. - master
  707. - stable*
  708. event:
  709. - pull_request
  710. - push
  711. ---
  712. kind: pipeline
  713. name: integration-ocs-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-ocs-v1
  720. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/ocs-v1.feature
  726. trigger:
  727. branch:
  728. - master
  729. - stable*
  730. event:
  731. - pull_request
  732. - push
  733. ---
  734. kind: pipeline
  735. name: integration-checksums-v1
  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-checksums-v1
  742. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/checksums.feature
  748. trigger:
  749. branch:
  750. - master
  751. - stable*
  752. event:
  753. - pull_request
  754. - push
  755. ---
  756. kind: pipeline
  757. name: integration-external-storage
  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-external-storage
  764. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/external-storage.feature
  770. trigger:
  771. branch:
  772. - master
  773. - stable*
  774. event:
  775. - pull_request
  776. - push
  777. ---
  778. kind: pipeline
  779. name: integration-provisioning-v1
  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-provisioning-v1
  786. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/provisioning-v1.feature
  792. trigger:
  793. branch:
  794. - master
  795. - stable*
  796. event:
  797. - pull_request
  798. - push
  799. ---
  800. kind: pipeline
  801. name: integration-tags
  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-tags
  808. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/tags.feature
  814. trigger:
  815. branch:
  816. - master
  817. - stable*
  818. event:
  819. - pull_request
  820. - push
  821. ---
  822. kind: pipeline
  823. name: integration-caldav
  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-caldav
  830. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/caldav.feature
  836. trigger:
  837. branch:
  838. - master
  839. - stable*
  840. event:
  841. - pull_request
  842. - push
  843. ---
  844. kind: pipeline
  845. name: integration-comments
  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
  852. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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.feature
  858. trigger:
  859. branch:
  860. - master
  861. - stable*
  862. event:
  863. - pull_request
  864. - push
  865. ---
  866. kind: pipeline
  867. name: integration-comments-search
  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-comments-search
  874. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/comments-search.feature
  880. trigger:
  881. branch:
  882. - master
  883. - stable*
  884. event:
  885. - pull_request
  886. - push
  887. ---
  888. kind: pipeline
  889. name: integration-contacts-menu
  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-contacts-menu
  896. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/contacts-menu.feature
  902. trigger:
  903. branch:
  904. - master
  905. - stable*
  906. event:
  907. - pull_request
  908. - push
  909. ---
  910. kind: pipeline
  911. name: integration-favorites
  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-favorites
  918. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/favorites.feature
  924. trigger:
  925. branch:
  926. - master
  927. - stable*
  928. event:
  929. - pull_request
  930. - push
  931. ---
  932. kind: pipeline
  933. name: integration-provisioning-v2
  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-provisioning-v2
  940. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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/provisioning-v2.feature
  946. trigger:
  947. branch:
  948. - master
  949. - stable*
  950. event:
  951. - pull_request
  952. - push
  953. ---
  954. kind: pipeline
  955. name: integration-webdav-related
  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-webdav-related
  962. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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 features/webdav-related.feature
  968. trigger:
  969. branch:
  970. - master
  971. - stable*
  972. event:
  973. - pull_request
  974. - push
  975. ---
  976. kind: pipeline
  977. name: integration-sharees-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-features
  984. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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.feature
  990. trigger:
  991. branch:
  992. - master
  993. - stable*
  994. event:
  995. - pull_request
  996. - push
  997. ---
  998. kind: pipeline
  999. name: integration-sharees-v2-features
  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-sharees-v2-features
  1006. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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 sharees_features/sharees_provisioningapiv2.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
  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
  1028. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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.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-part2
  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-part2
  1050. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0: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-part2.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-part3
  1066. steps:
  1067. - name: submodules
  1068. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1069. commands:
  1070. - git submodule update --init
  1071. - name: integration-sharing-v1-part3
  1072. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1073. commands:
  1074. - bash tests/drone-run-integration-tests.sh || exit 0
  1075. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1076. - cd build/integration
  1077. - ./run.sh sharing_features/sharing-v1-part3.feature
  1078. trigger:
  1079. branch:
  1080. - master
  1081. - stable*
  1082. event:
  1083. - pull_request
  1084. - push
  1085. ---
  1086. kind: pipeline
  1087. name: integration-sharing-v1-video-verification
  1088. steps:
  1089. - name: submodules
  1090. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1091. commands:
  1092. - git submodule update --init
  1093. - name: install-talk
  1094. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1095. commands:
  1096. # JavaScript files are not used in integration tests so it is not needed to
  1097. # build them.
  1098. - git clone --depth 1 https://github.com/nextcloud/spreed apps/spreed
  1099. - cd apps/spreed
  1100. - composer --version
  1101. - composer self-update --2
  1102. - composer install --no-dev
  1103. - cd ../..
  1104. - name: integration-sharing-v1-video-verification
  1105. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1106. commands:
  1107. - bash tests/drone-run-integration-tests.sh || exit 0
  1108. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1109. - cd build/integration
  1110. - ./run.sh sharing_features/sharing-v1-video-verification.feature
  1111. trigger:
  1112. branch:
  1113. - master
  1114. - stable*
  1115. event:
  1116. - pull_request
  1117. - push
  1118. ---
  1119. kind: pipeline
  1120. name: integration-setup-features
  1121. steps:
  1122. - name: submodules
  1123. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1124. commands:
  1125. - git submodule update --init
  1126. - name: integration-setup-features
  1127. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1128. commands:
  1129. - bash tests/drone-run-integration-tests.sh || exit 0
  1130. - cd build/integration
  1131. - ./run.sh setup_features/setup.feature
  1132. trigger:
  1133. branch:
  1134. - master
  1135. - stable*
  1136. event:
  1137. - pull_request
  1138. - push
  1139. ---
  1140. kind: pipeline
  1141. name: integration-filesdrop-features
  1142. steps:
  1143. - name: submodules
  1144. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1145. commands:
  1146. - git submodule update --init
  1147. - name: integration-filesdrop-features
  1148. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1149. commands:
  1150. - bash tests/drone-run-integration-tests.sh || exit 0
  1151. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1152. - cd build/integration
  1153. - ./run.sh filesdrop_features/filesdrop.feature
  1154. trigger:
  1155. branch:
  1156. - master
  1157. - stable*
  1158. event:
  1159. - pull_request
  1160. - push
  1161. ---
  1162. kind: pipeline
  1163. name: integration-transfer-ownership-features
  1164. steps:
  1165. - name: submodules
  1166. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1167. commands:
  1168. - git submodule update --init
  1169. - name: integration-transfer-ownership-features
  1170. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1171. commands:
  1172. - bash tests/drone-run-integration-tests.sh || exit 0
  1173. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1174. - cd build/integration
  1175. - ./run.sh features/transfer-ownership.feature
  1176. trigger:
  1177. branch:
  1178. - master
  1179. - stable*
  1180. event:
  1181. - pull_request
  1182. - push
  1183. ---
  1184. kind: pipeline
  1185. name: integration-ldap-features
  1186. steps:
  1187. - name: submodules
  1188. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1189. commands:
  1190. - git submodule update --init
  1191. - name: integration-ldap-features
  1192. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1193. commands:
  1194. - bash tests/drone-run-integration-tests.sh || exit 0
  1195. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1196. - cd build/integration
  1197. - ./run.sh ldap_features/ldap-ocs.feature
  1198. trigger:
  1199. branch:
  1200. - master
  1201. - stable*
  1202. event:
  1203. - pull_request
  1204. - push
  1205. ---
  1206. kind: pipeline
  1207. name: integration-ldap-openldap-features
  1208. steps:
  1209. - name: submodules
  1210. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1211. commands:
  1212. - git submodule update --init
  1213. - name: integration-ldap-openldap-features
  1214. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1215. commands:
  1216. - bash tests/drone-run-integration-tests.sh || exit 0
  1217. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1218. - ./occ config:system:set redis host --value=cache
  1219. - ./occ config:system:set redis port --value=6379 --type=integer
  1220. - ./occ config:system:set redis timeout --value=0 --type=integer
  1221. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1222. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1223. - cd build/integration
  1224. - ./run.sh ldap_features/ldap-openldap.feature
  1225. services:
  1226. - name: cache
  1227. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1228. - name: openldap
  1229. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1230. environment:
  1231. SLAPD_DOMAIN: nextcloud.ci
  1232. SLAPD_ORGANIZATION: Nextcloud
  1233. SLAPD_PASSWORD: admin
  1234. SLAPD_ADDITIONAL_MODULES: memberof
  1235. trigger:
  1236. branch:
  1237. - master
  1238. - stable*
  1239. event:
  1240. - pull_request
  1241. - push
  1242. ---
  1243. kind: pipeline
  1244. name: integration-ldap-openldap-uid-features
  1245. steps:
  1246. - name: submodules
  1247. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1248. commands:
  1249. - git submodule update --init
  1250. - name: integration-ldap-openldap-uid-features
  1251. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1252. commands:
  1253. - bash tests/drone-run-integration-tests.sh || exit 0
  1254. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1255. - ./occ config:system:set redis host --value=cache
  1256. - ./occ config:system:set redis port --value=6379 --type=integer
  1257. - ./occ config:system:set redis timeout --value=0 --type=integer
  1258. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1259. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1260. - cd build/integration
  1261. - ./run.sh ldap_features/openldap-uid-username.feature
  1262. services:
  1263. - name: cache
  1264. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1265. - name: openldap
  1266. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1267. environment:
  1268. SLAPD_DOMAIN: nextcloud.ci
  1269. SLAPD_ORGANIZATION: Nextcloud
  1270. SLAPD_PASSWORD: admin
  1271. SLAPD_ADDITIONAL_MODULES: memberof
  1272. trigger:
  1273. branch:
  1274. - master
  1275. - stable*
  1276. event:
  1277. - pull_request
  1278. - push
  1279. type: docker
  1280. ---
  1281. kind: pipeline
  1282. name: integration-ldap-openldap-numerical-id-features
  1283. steps:
  1284. - name: submodules
  1285. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1286. commands:
  1287. - git submodule update --init
  1288. - name: integration-ldap-openldap-numerical-id-features
  1289. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1290. commands:
  1291. - bash tests/drone-run-integration-tests.sh || exit 0
  1292. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1293. - ./occ config:system:set redis host --value=cache
  1294. - ./occ config:system:set redis port --value=6379 --type=integer
  1295. - ./occ config:system:set redis timeout --value=0 --type=integer
  1296. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.local
  1297. - ./occ config:system:set --type string --value "\\OC\\Memcache\\Redis" memcache.distributed
  1298. - cd build/integration
  1299. - ./run.sh ldap_features/openldap-numerical-id.feature
  1300. services:
  1301. - name: cache
  1302. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1303. - name: openldap
  1304. image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
  1305. environment:
  1306. SLAPD_DOMAIN: nextcloud.ci
  1307. SLAPD_ORGANIZATION: Nextcloud
  1308. SLAPD_PASSWORD: admin
  1309. SLAPD_ADDITIONAL_MODULES: memberof
  1310. trigger:
  1311. branch:
  1312. - master
  1313. - stable*
  1314. event:
  1315. - pull_request
  1316. - push
  1317. ---
  1318. kind: pipeline
  1319. name: integration-trashbin
  1320. steps:
  1321. - name: submodules
  1322. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1323. commands:
  1324. - git submodule update --init
  1325. - name: integration-trashbin
  1326. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1327. commands:
  1328. - bash tests/drone-run-integration-tests.sh || exit 0
  1329. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1330. - cd build/integration
  1331. - ./run.sh features/trashbin.feature
  1332. trigger:
  1333. branch:
  1334. - master
  1335. - stable*
  1336. event:
  1337. - pull_request
  1338. - push
  1339. ---
  1340. kind: pipeline
  1341. name: integration-remote-api
  1342. steps:
  1343. - name: submodules
  1344. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1345. commands:
  1346. - git submodule update --init
  1347. - name: integration-remote-api
  1348. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1349. commands:
  1350. - bash tests/drone-run-integration-tests.sh || exit 0
  1351. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1352. - cd build/integration
  1353. - ./run.sh remoteapi_features/remote.feature
  1354. trigger:
  1355. branch:
  1356. - master
  1357. - stable*
  1358. event:
  1359. - pull_request
  1360. - push
  1361. ---
  1362. kind: pipeline
  1363. name: integration-download
  1364. steps:
  1365. - name: submodules
  1366. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1367. commands:
  1368. - git submodule update --init
  1369. - name: integration-download
  1370. image: ghcr.io/nextcloud/continuous-integration-integration-php8.0:latest
  1371. commands:
  1372. - bash tests/drone-run-integration-tests.sh || exit 0
  1373. - ./occ maintenance:install --admin-pass=admin --data-dir=/dev/shm/nc_int
  1374. - cd build/integration
  1375. - ./run.sh --tags ~@large features/download.feature
  1376. trigger:
  1377. branch:
  1378. - master
  1379. - stable*
  1380. event:
  1381. - pull_request
  1382. - push
  1383. ---
  1384. kind: pipeline
  1385. name: acceptance-access-levels
  1386. steps:
  1387. - name: submodules
  1388. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1389. commands:
  1390. - git submodule update --init
  1391. - name: acceptance-access-levels
  1392. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1393. commands:
  1394. - 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
  1395. services:
  1396. - name: selenium
  1397. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1398. environment:
  1399. # Reduce default log level for Selenium server (INFO) as it is too
  1400. # verbose.
  1401. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1402. trigger:
  1403. branch:
  1404. - master
  1405. - stable*
  1406. event:
  1407. - pull_request
  1408. - push
  1409. ---
  1410. kind: pipeline
  1411. name: acceptance-app-files
  1412. steps:
  1413. - name: submodules
  1414. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1415. commands:
  1416. - git submodule update --init
  1417. - name: acceptance-app-files
  1418. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1419. commands:
  1420. - 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
  1421. services:
  1422. - name: selenium
  1423. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1424. environment:
  1425. # Reduce default log level for Selenium server (INFO) as it is too
  1426. # verbose.
  1427. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1428. trigger:
  1429. branch:
  1430. - master
  1431. - stable*
  1432. event:
  1433. - pull_request
  1434. - push
  1435. ---
  1436. kind: pipeline
  1437. name: acceptance-app-files-sharing
  1438. steps:
  1439. - name: submodules
  1440. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1441. commands:
  1442. - git submodule update --init
  1443. - name: acceptance-app-files-sharing
  1444. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1445. commands:
  1446. - 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
  1447. services:
  1448. - name: selenium
  1449. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1450. environment:
  1451. # Reduce default log level for Selenium server (INFO) as it is too
  1452. # verbose.
  1453. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1454. trigger:
  1455. branch:
  1456. - master
  1457. - stable*
  1458. event:
  1459. - pull_request
  1460. - push
  1461. ---
  1462. kind: pipeline
  1463. name: acceptance-app-files-sharing-link
  1464. steps:
  1465. - name: submodules
  1466. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1467. commands:
  1468. - git submodule update --init
  1469. - name: acceptance-app-files-sharing-link
  1470. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1471. commands:
  1472. - 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
  1473. services:
  1474. - name: selenium
  1475. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1476. environment:
  1477. # Reduce default log level for Selenium server (INFO) as it is too
  1478. # verbose.
  1479. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1480. trigger:
  1481. branch:
  1482. - master
  1483. - stable*
  1484. event:
  1485. - pull_request
  1486. - push
  1487. ---
  1488. kind: pipeline
  1489. name: acceptance-app-files-tags
  1490. steps:
  1491. - name: submodules
  1492. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1493. commands:
  1494. - git submodule update --init
  1495. - name: acceptance-app-files-tags
  1496. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1497. commands:
  1498. - 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
  1499. services:
  1500. - name: selenium
  1501. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1502. environment:
  1503. # Reduce default log level for Selenium server (INFO) as it is too
  1504. # verbose.
  1505. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1506. trigger:
  1507. branch:
  1508. - master
  1509. - stable*
  1510. event:
  1511. - pull_request
  1512. - push
  1513. ---
  1514. kind: pipeline
  1515. name: acceptance-header
  1516. steps:
  1517. - name: submodules
  1518. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1519. commands:
  1520. - git submodule update --init
  1521. - name: acceptance-header
  1522. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1523. commands:
  1524. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-header --selenium-server selenium:4444 allow-git-repository-modifications features/header.feature
  1525. services:
  1526. - name: selenium
  1527. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1528. environment:
  1529. # Reduce default log level for Selenium server (INFO) as it is too
  1530. # verbose.
  1531. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1532. trigger:
  1533. branch:
  1534. - master
  1535. - stable*
  1536. event:
  1537. - pull_request
  1538. - push
  1539. ---
  1540. kind: pipeline
  1541. name: acceptance-login
  1542. steps:
  1543. - name: submodules
  1544. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1545. commands:
  1546. - git submodule update --init
  1547. - name: acceptance-login
  1548. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1549. commands:
  1550. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-login --selenium-server selenium:4444 allow-git-repository-modifications features/login.feature
  1551. services:
  1552. - name: selenium
  1553. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1554. environment:
  1555. # Reduce default log level for Selenium server (INFO) as it is too
  1556. # verbose.
  1557. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1558. trigger:
  1559. branch:
  1560. - master
  1561. - stable*
  1562. event:
  1563. - pull_request
  1564. - push
  1565. ---
  1566. kind: pipeline
  1567. name: acceptance-users
  1568. steps:
  1569. - name: submodules
  1570. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1571. commands:
  1572. - git submodule update --init
  1573. - name: acceptance-users
  1574. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1575. commands:
  1576. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-users --selenium-server selenium:4444 allow-git-repository-modifications features/users.feature
  1577. services:
  1578. - name: selenium
  1579. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1580. environment:
  1581. # Reduce default log level for Selenium server (INFO) as it is too
  1582. # verbose.
  1583. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1584. trigger:
  1585. branch:
  1586. - master
  1587. - stable*
  1588. event:
  1589. - pull_request
  1590. - push
  1591. ---
  1592. kind: pipeline
  1593. name: acceptance-apps
  1594. steps:
  1595. - name: submodules
  1596. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1597. commands:
  1598. - git submodule update --init
  1599. - name: acceptance-apps
  1600. image: ghcr.io/nextcloud/continuous-integration-acceptance-php8.0:latest
  1601. commands:
  1602. - tests/acceptance/run-local.sh --timeout-multiplier 10 --nextcloud-server-domain acceptance-apps --selenium-server selenium:4444 allow-git-repository-modifications features/apps.feature
  1603. services:
  1604. - name: selenium
  1605. image: ghcr.io/nextcloud/continuous-integration-selenium:3.141.59
  1606. environment:
  1607. # Reduce default log level for Selenium server (INFO) as it is too
  1608. # verbose.
  1609. JAVA_OPTS: -Dselenium.LOGGER.level=WARNING
  1610. trigger:
  1611. branch:
  1612. - master
  1613. - stable*
  1614. event:
  1615. - pull_request
  1616. - push
  1617. ---
  1618. kind: pipeline
  1619. name: nodb-codecov
  1620. steps:
  1621. - name: submodules
  1622. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1623. commands:
  1624. - git submodule update --init
  1625. - name: nodb-codecov
  1626. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1627. environment:
  1628. CODECOV_TOKEN:
  1629. from_secret: CODECOV_TOKEN
  1630. XDEBUG_MODE: coverage
  1631. commands:
  1632. - phpenmod xdebug
  1633. - TEST_SELECTION=NODB ./autotest.sh sqlite
  1634. - wget https://codecov.io/bash -O codecov.sh
  1635. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1636. services:
  1637. - name: cache
  1638. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1639. trigger:
  1640. branch:
  1641. - master
  1642. - stable*
  1643. event:
  1644. - push
  1645. ---
  1646. kind: pipeline
  1647. name: db-codecov
  1648. steps:
  1649. - name: submodules
  1650. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1651. commands:
  1652. - git submodule update --init
  1653. - name: db-codecov
  1654. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1655. environment:
  1656. CODECOV_TOKEN:
  1657. from_secret: CODECOV_TOKEN
  1658. XDEBUG_MODE: coverage
  1659. commands:
  1660. - phpenmod xdebug
  1661. - TEST_SELECTION=QUICKDB ./autotest.sh sqlite
  1662. - wget https://codecov.io/bash -O codecov.sh
  1663. - bash codecov.sh -Z -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1664. services:
  1665. - name: cache
  1666. image: ghcr.io/nextcloud/continuous-integration-redis:latest
  1667. trigger:
  1668. branch:
  1669. - master
  1670. - stable*
  1671. event:
  1672. - push
  1673. ---
  1674. kind: pipeline
  1675. name: object-store-s3
  1676. steps:
  1677. - name: minio
  1678. image: ghcr.io/nextcloud/continuous-integration-minio:latest
  1679. detach: true
  1680. commands:
  1681. - mkdir /s3data
  1682. - minio server /s3data
  1683. environment:
  1684. MINIO_ROOT_USER: nextcloud
  1685. MINIO_ROOT_PASSWORD: nextcloud
  1686. - name: submodules
  1687. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1688. commands:
  1689. - git submodule update --init
  1690. - name: object-store
  1691. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1692. environment:
  1693. OBJECT_STORE: s3
  1694. CODECOV_TOKEN:
  1695. from_secret: CODECOV_TOKEN
  1696. commands:
  1697. - phpenmod xdebug
  1698. - ./tests/drone-wait-objectstore.sh
  1699. - TEST_SELECTION=PRIMARY-s3 ./autotest.sh sqlite
  1700. - wget https://codecov.io/bash -O codecov.sh
  1701. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1702. trigger:
  1703. branch:
  1704. - master
  1705. - stable*
  1706. event:
  1707. - pull_request
  1708. - push
  1709. ---
  1710. kind: pipeline
  1711. name: object-store-azure
  1712. steps:
  1713. - name: submodules
  1714. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1715. commands:
  1716. - git submodule update --init
  1717. - name: object-store
  1718. image: ghcr.io/nextcloud/continuous-integration-php8.0:latest
  1719. environment:
  1720. OBJECT_STORE: azure
  1721. CODECOV_TOKEN:
  1722. from_secret: CODECOV_TOKEN
  1723. commands:
  1724. - phpenmod xdebug
  1725. - ./tests/drone-wait-objectstore.sh
  1726. - TEST_SELECTION=PRIMARY-azure ./autotest.sh sqlite
  1727. - wget https://codecov.io/bash -O codecov.sh
  1728. - bash codecov.sh -C $DRONE_COMMIT -f tests/autotest-clover-sqlite.xml
  1729. services:
  1730. - name: azurite
  1731. image: ghcr.io/nextcloud/continuous-integration-azurite:latest
  1732. environment:
  1733. executable: blob
  1734. trigger:
  1735. branch:
  1736. - master
  1737. - stable*
  1738. event:
  1739. - pull_request
  1740. - push
  1741. ---
  1742. kind: pipeline
  1743. name: memcache-memcached
  1744. steps:
  1745. - name: submodules
  1746. image: ghcr.io/nextcloud/continuous-integration-alpine-git:latest
  1747. commands:
  1748. - git submodule update --init
  1749. - name: memcache-memcached
  1750. image: ghcr.io/nextcloud/continuous-integration-php8.0-memcached:latest
  1751. commands:
  1752. - phpenmod xdebug
  1753. - service memcached restart
  1754. - ./autotest.sh sqlite tests/lib/Memcache/MemcachedTest.php
  1755. - wget https://codecov.io/bash -O codecov.sh
  1756. - 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"
  1757. - 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"
  1758. trigger:
  1759. branch:
  1760. - master
  1761. - stable*
  1762. event:
  1763. - pull_request
  1764. - push