1
0

.drone.yml 54 KB

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