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

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