1
0

.drone.yml 53 KB

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