.drone.yml 57 KB

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