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

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