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

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