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 52KB

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