.drone.yml 56 KB

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