1
0

.drone.yml 61 KB

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