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

.drone.yml 53KB

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