.drone.yml 52 KB

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