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

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